public static class XMLSchemaParser.MaxOccursRestriction extends Object implements DataListRestriction
| Constructor and Description |
|---|
MaxOccursRestriction(String maxOccurs) |
| Modifier and Type | Method and Description |
|---|---|
String |
genAnnotation() |
void |
genRestriction(Writer out,
String sizeExpr,
String readMethod,
String type,
String failVar,
boolean passCheck)
Generate some Java code to test @param readMethod of type @param type or @param sizeExpr
to see if it passes this restriction.
|
int |
getMaxOccurs() |
String |
toString() |
public MaxOccursRestriction(String maxOccurs)
public void genRestriction(Writer out, String sizeExpr, String readMethod, String type, String failVar, boolean passCheck) throws IOException
DataListRestrictiongenRestriction in interface DataListRestrictionIOExceptionpublic int getMaxOccurs()
public String genAnnotation()
Copyright © 2017. All Rights Reserved.