|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bea.schema.SOMObject
com.bea.schema.facet.SOMFacet
com.bea.schema.facet.FacetEnumeration
enumeration constrains the value space to a specified set of values.
Field Summary |
Fields inherited from class com.bea.schema.facet.SOMFacet |
duration, encoding, enumeration, fractionDigits, length, maxExclusive, maxInclusive, maxLength, minExclusive, minInclusive, minLength, pattern, period, precision, scale, totalDigits, whiteSpace |
Constructor Summary | |
FacetEnumeration(String val)
|
Method Summary | |
boolean |
containsValue(String value)
Tests if the specified value is an enumeration in this Facet. |
String |
createDefault()
|
String |
getID()
Returns a printable element tag for this Schema Object |
String |
getValue()
valid values for the enumeration facet |
Iterator |
getValues()
iterator over valid values for the enumeration facet |
void |
setValue(String val)
Adds the enumeration value to the list of valid <enumeration> values. |
void |
toXML(Writer rtn,
int indent)
Outputs a formatted XML representation of SOMObject. |
Methods inherited from class com.bea.schema.facet.SOMFacet |
getAttributes, getFacet, getFixed, getTagName, setFixed |
Methods inherited from class com.bea.schema.SOMObject |
addPrefixMapping, getContainmentXPath, getEffectivePrefixMappings, getID_UQ, getParent, getParentName, getParentSchema, getPrefixForTargetNamespace, getPrefixMapping, getTargetNamespace, getURIForPrefix, isCircularReference, isSchemaChild, msg, msg, removeNamespaceQualifier, removePrefixMapping, setIndent, setParent, setTargetNamespace, toString, toXML, toXML, toXML |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FacetEnumeration(String val)
Method Detail |
public String getID()
SOMObject
getID
in class SOMObject
public String getValue()
getValue
in class SOMFacet
public Iterator getValues()
public boolean containsValue(String value)
value
- a String
public void setValue(String val)
setValue
in class SOMFacet
val
- new valid value for enumeration.public void toXML(Writer rtn, int indent) throws IOException
SOMObject
toXML
in class SOMFacet
IOException
public String createDefault()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |