public class Sequence extends Compositor
ALL, anyTypeMember, CHOICE, debug, element, instanceNamespaces, leafMembers, localNamespaces, maxOccurs, members, minOccurs, name, parent, SEQUENCE, UNKNOWN
Constructor and Description |
---|
Sequence(ComplexType parent) |
Sequence(ComplexType parent,
org.dom4j.Element e) |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptsNewMember(org.dom4j.Element instanceElement)
Does the the given instanceElement accept ANY new member?
NOTE: this method does not make sense! What we are interested in, is
which of the CompositorMembers can accept another occurrence!
|
boolean |
acceptsNewMember(org.dom4j.Element instanceElement,
java.lang.String memberName,
int memberIndex)
Does the the given instanceElement accept a specifical new member at a specific
location?
WHEN would this be called? Compositors only care whether they can accept another
OCCURRENCE!
|
int |
getType()
Returns an integer contant that specifies whether this Compositor is
Sequence, Choice, All.
|
java.lang.String |
toString()
Description of the Method
|
getAnyTypeMember, getElement, getIndexOfMember, getIndexOfMember, getInstanceNames, getLeafMember, getLeafMemberNames, getLeafMembers, getMaxInstanceElements, getMaxOccurs, getMember, getMemberAt, getMemberNames, getMembers, getMinOccurs, getName, getParent, getSubstitionGroupMembers, getSubstitionGroupNames, hasAnyTypeMember, hasMember, init, occursInfo, printInstanceNames, printLeafMemberNames, prtln
public Sequence(ComplexType parent)
public Sequence(ComplexType parent, org.dom4j.Element e)
public boolean acceptsNewMember(org.dom4j.Element instanceElement)
acceptsNewMember
in class Compositor
instanceElement
- NOT YET DOCUMENTEDpublic boolean acceptsNewMember(org.dom4j.Element instanceElement, java.lang.String memberName, int memberIndex)
acceptsNewMember
in class Compositor
instanceElement
- NOT YET DOCUMENTEDmemberName
- NOT YET DOCUMENTEDmemberIndex
- NOT YET DOCUMENTEDpublic int getType()
Compositor
getType
in class Compositor
public java.lang.String toString()
toString
in class Compositor