Class All
java.lang.Object
org.dlese.dpc.xml.schema.compositor.Compositor
org.dlese.dpc.xml.schema.compositor.All
Class representing the All compositor.
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsNewMember(org.dom4j.Element instanceElement) Returns true if a given instance document element can accept a new member according to schema-defined constraints for this compositor.booleanacceptsNewMember(org.dom4j.Element instanceElement, String memberName, int memberIndex) NOT YET DOCUMENTEDnot currently called.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
-
All
-
All
-
-
Method Details
-
acceptsNewMember
public boolean acceptsNewMember(org.dom4j.Element instanceElement) Description copied from class:CompositorReturns true if a given instance document element can accept a new member according to schema-defined constraints for this compositor.- 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) Description copied from class:CompositorNOT YET DOCUMENTED- 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
-
getExpandedMemberNames
not currently called. NOTE: "ref" elements are not handled correctly - this must be debugged if it is to be used -
toString
Description of the Method- Overrides:
toStringin classCompositor- Returns:
- Description of the Return Value
-