org.apache.ws.commons.schema
Class XmlSchemaChoice

java.lang.Object
  extended by org.apache.ws.commons.schema.XmlSchemaObject
      extended by org.apache.ws.commons.schema.XmlSchemaAnnotated
          extended by org.apache.ws.commons.schema.XmlSchemaParticle
              extended by org.apache.ws.commons.schema.XmlSchemaGroupParticle
                  extended by 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
 
Fields inherited from class org.apache.ws.commons.schema.XmlSchemaParticle
DEFAULT_MAX_OCCURS, DEFAULT_MIN_OCCURS
 
Constructor Summary
XmlSchemaChoice()
          Creates new XmlSchemaChoice
 
Method Summary
 List<XmlSchemaChoiceMember> getItems()
           
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaParticle
getMaxOccurs, getMinOccurs, setMaxOccurs, setMinOccurs
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributes, toString
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaObject
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, hashCode, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XmlSchemaChoice

public XmlSchemaChoice()
Creates new XmlSchemaChoice

Method Detail

getItems

public List<XmlSchemaChoiceMember> getItems()


Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.