|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.idoox.xml.schema.Facet
org.idoox.xml.schema.Facet.Enumeration
This class represents the enumeration XML Schema facet.
Nested Class Summary |
Nested classes inherited from class org.idoox.xml.schema.Facet |
Facet.Enumeration, Facet.FacetEnum, Facet.FixableFacet, Facet.FractionDigits, Facet.Length, Facet.MaxExclusive, Facet.MaxInclusive, Facet.MaxLength, Facet.MinExclusive, Facet.MinInclusive, Facet.MinLength, Facet.Pattern, Facet.TotalDigits, Facet.WhiteSpace |
Field Summary | |
static java.lang.String |
NAME
Local name of this facet as it is printed and recognized in xml stream. |
Fields inherited from class org.idoox.xml.schema.Facet |
name, value |
Constructor Summary | |
Facet.Enumeration(java.lang.String value,
java.lang.String javaName)
Creates a new enumeration facet representation. |
Method Summary | |
java.lang.String |
getJavaName()
Returns java name into which to map this enumeration value. |
void |
setJavaName(java.lang.String javaName)
Sets java name into which to map this enumeration value. |
java.lang.String |
toString()
Returns stringified representation of this facet. |
protected void |
writeInnerXMLContent(TokenWriter writer)
Customized routine writing also the inner content - java field associated with this enumeration value. |
Methods inherited from class org.idoox.xml.schema.Facet |
equals, getName, getValue, hashCode, writeAsXML |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String NAME
Constructor Detail |
public Facet.Enumeration(java.lang.String value, java.lang.String javaName) throws SchemaException
value
- lexical value of the facetjavaName
- (optional) name of the java field on to which to map this enumerationMethod Detail |
protected void writeInnerXMLContent(TokenWriter writer) throws java.io.IOException
writeInnerXMLContent
in class Facet
writer
- writer to use
java.io.IOException
- no commentpublic java.lang.String getJavaName()
public java.lang.String toString()
toString
in class Facet
public void setJavaName(java.lang.String javaName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |