Class Sequence
java.lang.Object
org.dlese.dpc.xml.schema.compositor.Compositor
org.dlese.dpc.xml.schema.compositor.Sequence
Description of the Interface
- Author:
- ostwald
-
Field Summary
Fields inherited from class org.dlese.dpc.xml.schema.compositor.Compositor
ALL, anyTypeMember, CHOICE, debug, element, instanceNamespaces, leafMembers, localNamespaces, maxOccurs, members, minOccurs, name, parent, SEQUENCE, UNKNOWN -
Constructor Summary
ConstructorsConstructorDescriptionSequence(ComplexType parent) Sequence(ComplexType parent, org.dom4j.Element e) -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsNewMember(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!booleanacceptsNewMember(org.dom4j.Element instanceElement, 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!intgetType()Returns an integer contant that specifies whether this Compositor is Sequence, Choice, All.toString()Description of the MethodMethods inherited from class org.dlese.dpc.xml.schema.compositor.Compositor
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
-
Constructor Details
-
Sequence
-
Sequence
-
-
Method Details
-
acceptsNewMember
public 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!- Specified by:
acceptsNewMemberin classCompositor- Parameters:
instanceElement- NOT YET DOCUMENTED- Returns:
- The simpleType value
-
acceptsNewMember
public boolean acceptsNewMember(org.dom4j.Element instanceElement, 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!- Specified by:
acceptsNewMemberin classCompositor- Parameters:
instanceElement- NOT YET DOCUMENTEDmemberName- NOT YET DOCUMENTEDmemberIndex- NOT YET DOCUMENTED- Returns:
- NOT YET DOCUMENTED
-
getType
public int getType()Description copied from class:CompositorReturns an integer contant that specifies whether this Compositor is Sequence, Choice, All.- Overrides:
getTypein classCompositor- Returns:
- The dataType value
-
toString
Description of the Method- Overrides:
toStringin classCompositor- Returns:
- Description of the Return Value
-