Class Sequence

java.lang.Object
org.dlese.dpc.xml.schema.compositor.Compositor
org.dlese.dpc.xml.schema.compositor.Sequence

public class Sequence extends Compositor
Description of the Interface
Author:
ostwald
  • Constructor Details

    • Sequence

      public Sequence(ComplexType parent)
    • Sequence

      public Sequence(ComplexType parent, org.dom4j.Element e)
  • 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:
      acceptsNewMember in class Compositor
      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:
      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
    • toString

      public String toString()
      Description of the Method
      Overrides:
      toString in class Compositor
      Returns:
      Description of the Return Value