public class SchemaRep.WhiteSpace extends SchemaRep.RestrictionType implements DataTypeRestriction
valuesubElementsparentExpr| Constructor and Description |
|---|
WhiteSpace(String value) |
| 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() |
boolean |
isCollapse() |
boolean |
isPreserve() |
boolean |
isReplace() |
protected SchemaRep.RestrictionType |
newInstance(String value) |
void |
validate() |
getContentName, getValue, optimize, readSchema, toString, validSubElementTypeMap, writeDTD, writeDTDName, writeXMLSchemaaddSubElement, addSubElement, compressWhiteSpaceInner, compressWhiteSpaceOuter, equals, findAllSubElements, findAllSubElements, findSubElement, findSubElement, findSubElement, findSubElementNames, getAttributeString, getJavaTypeName, hashCode, subElementsIterator, writeDTDSubElementNames, writeDTDSubElementNames, writeXMLSchemagetFullContentName, getParentExpr, setParentExpr, uniquifyFullContentNamepublic WhiteSpace(String value)
public String getName()
getName in class SchemaRep.ElementExprpublic boolean isPreserve()
public boolean isReplace()
public boolean isCollapse()
public void validate()
validate in class SchemaRep.RestrictionTypeprotected 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–2019 Eclipse Foundation. All rights reserved.