public class SchemaRep.Length extends SchemaRep.RestrictionType implements DataTypeRestriction
valuesubElementsparentExpr| Modifier and Type | Method and Description |
|---|---|
void |
genRestriction(Writer out,
String var,
String type,
String failVar,
boolean passCheck)
Generate some Java code to test variable @param var of type @param type
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 Length(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 var, String type, String failVar, boolean passCheck) throws IOException
DataTypeRestrictiongenRestriction in interface DataTypeRestrictionIOExceptionCopyright © 2017. All Rights Reserved.