DLESE Tools
v1.6.0

org.dlese.dpc.xml.schema.compositor
Class All

java.lang.Object
  extended by org.dlese.dpc.xml.schema.compositor.Compositor
      extended by org.dlese.dpc.xml.schema.compositor.All

public class All
extends Compositor

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
All(ComplexType parent)
           
All(ComplexType parent, Element e)
           
 
Method Summary
 boolean acceptsNewMember(Element instanceElement)
          Returns true if a given instance document element can accept a new member according to schema-defined constraints for this compositor.
 boolean acceptsNewMember(Element instanceElement, String memberName, int memberIndex)
          NOT YET DOCUMENTED
 List getExpandedMemberNames()
          not currently called.
 int getType()
          Returns an integer contant that specifies whether this Compositor is Sequence, Choice, All.
 String toString()
          Description of the Method
 
Methods 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

All

public All(ComplexType parent)

All

public All(ComplexType parent,
           Element e)
Method Detail

acceptsNewMember

public boolean acceptsNewMember(Element instanceElement)
Description copied from class: Compositor
Returns true if a given instance document element can accept a new member according to schema-defined constraints for this compositor.

Specified by:
acceptsNewMember in class Compositor
Parameters:
instanceElement - NOT YET DOCUMENTED
Returns:
The simpleType value

acceptsNewMember

public boolean acceptsNewMember(Element instanceElement,
                                String memberName,
                                int memberIndex)
Description copied from class: Compositor
NOT YET DOCUMENTED

Specified by:
acceptsNewMember in class Compositor
Parameters:
instanceElement - NOT YET DOCUMENTED
memberName - NOT YET DOCUMENTED
memberIndex - NOT YET DOCUMENTED
Returns:
NOT YET DOCUMENTED

getType

public int getType()
Description copied from class: Compositor
Returns an integer contant that specifies whether this Compositor is Sequence, Choice, All.

Overrides:
getType in class Compositor
Returns:
The dataType value

getExpandedMemberNames

public List getExpandedMemberNames()
not currently called. NOTE: "ref" elements are not handled correctly - this must be debugged if it is to be used


toString

public String toString()
Description of the Method

Overrides:
toString in class Compositor
Returns:
Description of the Return Value

DLESE Tools
v1.6.0