1 17 package org.apache.ws.jaxme.generator; 18 19 public class SchemaOption { 20 private final String name; 21 private final String target; 22 private final String value; 23 24 25 public SchemaOption(String pName, String pValue, String pTarget) { 26 name = pName; 27 target = (pTarget == null || pTarget.length() == 0) ? null : pTarget; 28 value = pValue; 29 } 30 31 public String getName() { return name; } 32 public String getTarget() { return target; } 33 public String getValue() { return value; } 34 35 public String toString() { 36 if (target == null) { 37 return name + "=" + value; 38 } else { 39 return name + "=" + target + "=" + value; 40 } 41 } 42 } 43 | Popular Tags |