|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.xml.schema.compositor.Compositor org.dlese.dpc.xml.schema.compositor.InlineCompositor
public class InlineCompositor
InlineCompositor class specifies methods for accessing and validating the "members" of a InlineCompositor Element (i.e., All, Sequence and Choice), as well as the acceptsNewMember method. The members are a list of CompositorMember instances which represent the child elements of the InlineCompositor element.
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 | |
---|---|
InlineCompositor(ComplexType parentTypeDef,
Element compositorElement)
|
|
InlineCompositor(ComplexType parentTypeDef,
Element compositorElement,
Compositor parentCompositor)
|
Method Summary | |
---|---|
boolean |
acceptsNewMember(Element instanceDocElement)
Returns true if a given instance document element can accept a new member according to schema-defined constraints for this InlineCompositor. |
boolean |
acceptsNewMember(Element instanceElement,
String memberName,
int memberIndex)
NOT YET DOCUMENTED |
Compositor |
getParentCompositor()
|
int |
getType()
Returns an integer contant that specifies whether this InlineCompositor 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 |
---|
public InlineCompositor(ComplexType parentTypeDef, Element compositorElement)
public InlineCompositor(ComplexType parentTypeDef, Element compositorElement, Compositor parentCompositor)
Method Detail |
---|
public int getType()
getType
in class Compositor
public Compositor getParentCompositor()
public String toString()
toString
in class Compositor
public boolean acceptsNewMember(Element instanceDocElement)
acceptsNewMember
in class Compositor
instanceDocElement
- NOT YET DOCUMENTED
public boolean acceptsNewMember(Element instanceElement, String memberName, int memberIndex)
Compositor
acceptsNewMember
in class Compositor
instanceElement
- NOT YET DOCUMENTEDmemberName
- NOT YET DOCUMENTEDmemberIndex
- NOT YET DOCUMENTED
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |