DLESE Tools
v1.6.0

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

java.lang.Object
  extended by org.dlese.dpc.xml.schema.compositor.CompositorGuard
      extended by org.dlese.dpc.xml.schema.compositor.AllGuard

public class AllGuard
extends CompositorGuard

CompositorGuard for the All Compositor class.

Author:
ostwald

Field Summary
 
Fields inherited from class org.dlese.dpc.xml.schema.compositor.CompositorGuard
instanceMembers
 
Constructor Summary
AllGuard(Compositor compositor, Element instanceElement)
          Constructor for the AllGuard object
AllGuard(Compositor compositor, List instanceList)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AllGuard

public AllGuard(Compositor compositor,
                Element instanceElement)
Constructor for the AllGuard object

Parameters:
compositor - NOT YET DOCUMENTED
instanceElement - NOT YET DOCUMENTED

AllGuard

public AllGuard(Compositor compositor,
                List instanceList)
Method Detail

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

DLESE Tools
v1.6.0