public class SchemaRep.Enumeration extends SchemaRep.RestrictionType implements DataEnumRestriction
valuesubElementsparentExpr| Constructor and Description |
|---|
Enumeration(String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
genRestriction(Writer out,
String type)
Generate some Java code to test @param readMethod of type @param type or @param sizeExpr
to see if it passes this restriction.
|
String |
getName() |
protected SchemaRep.RestrictionType |
newInstance(String value) |
getContentName, getValue, optimize, readSchema, toString, validate, validSubElementTypeMap, writeDTD, writeDTDName, writeXMLSchemaaddSubElement, addSubElement, compressWhiteSpaceInner, compressWhiteSpaceOuter, equals, findAllSubElements, findAllSubElements, findSubElement, findSubElement, findSubElement, findSubElementNames, getAttributeString, getJavaTypeName, hashCode, subElementsIterator, writeDTDSubElementNames, writeDTDSubElementNames, writeXMLSchemagetFullContentName, getParentExpr, setParentExpr, uniquifyFullContentNamepublic Enumeration(String value)
public String getName()
getName in class SchemaRep.ElementExprprotected SchemaRep.RestrictionType newInstance(String value)
newInstance in class SchemaRep.RestrictionTypepublic void genRestriction(Writer out, String type) throws IOException
DataEnumRestrictiongenRestriction in interface DataEnumRestrictionIOExceptionCopyright © 2017–2019 Eclipse Foundation. All rights reserved.