Package org.apache.ws.commons.schema
Class XmlSchemaChoice
java.lang.Object
org.apache.ws.commons.schema.XmlSchemaObject
org.apache.ws.commons.schema.XmlSchemaAnnotated
org.apache.ws.commons.schema.XmlSchemaParticle
org.apache.ws.commons.schema.XmlSchemaGroupParticle
org.apache.ws.commons.schema.XmlSchemaChoice
- All Implemented Interfaces:
XmlSchemaObjectBase,XmlSchemaChoiceMember,XmlSchemaSequenceMember
public class XmlSchemaChoice
extends XmlSchemaGroupParticle
implements XmlSchemaChoiceMember, XmlSchemaSequenceMember
Allows only one of its children to appear in an instance. Represents the World Wide Web Consortium (W3C)
choice (compositor) element.
This can contain any of (element|group|choice|sequence|any)*.
-
Field Summary
FieldsFields inherited from class org.apache.ws.commons.schema.XmlSchemaParticle
DEFAULT_MAX_OCCURS, DEFAULT_MIN_OCCURSFields inherited from class org.apache.ws.commons.schema.XmlSchemaObject
lineNumber, linePosition, sourceURI -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaParticle
getMaxOccurs, getMinOccurs, setMaxOccurs, setMinOccursMethods 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
-
items
-
-
Constructor Details
-
XmlSchemaChoice
public XmlSchemaChoice()Creates new XmlSchemaChoice
-
-
Method Details
-
getItems
-