org.dlese.dpc.xml.schema.compositor
Class AllGuard
java.lang.Object
org.dlese.dpc.xml.schema.compositor.CompositorGuard
org.dlese.dpc.xml.schema.compositor.AllGuard
public class AllGuard
- extends CompositorGuard
CompositorGuard for the All Compositor class.
- Author:
- ostwald
Method Summary |
protected List |
getOccurrences()
Returns a list of occurrence instances that can be used to determine whether an instance document element
satisfies the occurrence constraints of the schema. |
Methods inherited from class org.dlese.dpc.xml.schema.compositor.CompositorGuard |
acceptsNewMember, acceptsNewMember, checkValid, findOccurence, findOccurrence, getCompositor, getInstance, getOccurrencesCount, getOccurrencesCount, getSubOccurrenceCount, printInstanceMembers, printOccurrences, resolveLeafNameToCM, resolveLeafNameToCMName, toString |
AllGuard
public AllGuard(Compositor compositor,
Element instanceElement)
- Constructor for the AllGuard object
- Parameters:
compositor
- NOT YET DOCUMENTEDinstanceElement
- NOT YET DOCUMENTED
AllGuard
public AllGuard(Compositor compositor,
List instanceList)
getOccurrences
protected List getOccurrences()
throws Exception
- Returns a list of occurrence instances that can be used to determine whether an instance document element
satisfies the occurrence constraints of the schema.
- Specified by:
getOccurrences
in class CompositorGuard
- Returns:
- The occurrences value
- Throws:
Exception
- NOT YET DOCUMENTED