Package org.apache.ws.commons.schema
Class XmlSchemaParticle
java.lang.Object
org.apache.ws.commons.schema.XmlSchemaObject
org.apache.ws.commons.schema.XmlSchemaAnnotated
org.apache.ws.commons.schema.XmlSchemaParticle
- All Implemented Interfaces:
XmlSchemaObjectBase
- Direct Known Subclasses:
XmlSchemaAny,XmlSchemaElement,XmlSchemaGroupParticle,XmlSchemaGroupRef
Schema particles. A local element declaration or
reference to a global element declaration (element), a compositor ( sequence, choice, or all), a reference
to a named content model group (group), or an element wildcard (any).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intprivate longprivate longFields inherited from class org.apache.ws.commons.schema.XmlSchemaObject
lineNumber, linePosition, sourceURI -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonglongvoidsetMaxOccurs(long maxOccurs) voidsetMinOccurs(long minOccurs) Methods inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributes, toStringMethods inherited from class org.apache.ws.commons.schema.XmlSchemaObject
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, hashCode, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
-
Field Details
-
DEFAULT_MAX_OCCURS
public static final int DEFAULT_MAX_OCCURS- See Also:
-
DEFAULT_MIN_OCCURS
public static final int DEFAULT_MIN_OCCURS- See Also:
-
maxOccurs
private long maxOccurs -
minOccurs
private long minOccurs
-
-
Constructor Details
-
XmlSchemaParticle
public XmlSchemaParticle()
-
-
Method Details
-
setMaxOccurs
public void setMaxOccurs(long maxOccurs) -
getMaxOccurs
public long getMaxOccurs() -
setMinOccurs
public void setMinOccurs(long minOccurs) -
getMinOccurs
public long getMinOccurs()
-