edu.sc.seis.sod.validator.model
Class AbstractMultigenitorForm

java.lang.Object
  extended by edu.sc.seis.sod.validator.model.AbstractForm
      extended by edu.sc.seis.sod.validator.model.AbstractMultigenitorForm
All Implemented Interfaces:
Form, FormProvider, MultigenitorForm
Direct Known Subclasses:
Choice, DataList, Group, Interleave

public abstract class AbstractMultigenitorForm
extends AbstractForm
implements MultigenitorForm


Constructor Summary
AbstractMultigenitorForm(int min, int max)
           
AbstractMultigenitorForm(int min, int max, Form parent)
           
 
Method Summary
 void accept(Tourist v)
           
 Attribute[] getAttributes()
           
 Form[] getChildren()
           
 NamedElement[] getElementalChildren()
           
 boolean isAncestorOf(Form f, Form root)
           
 
Methods inherited from class edu.sc.seis.sod.validator.model.AbstractForm
copyGutsOver, deref, getAnnotation, getDef, getForm, getMax, getMin, getNamespace, getParent, getXPath, isAncestorOf, isFromDef, setAnnotation, setMax, setMin, setNamespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.sc.seis.sod.validator.model.Form
deref, getAnnotation, getDef, getNamespace, getParent, getXPath, isAncestorOf, isFromDef
 
Methods inherited from interface edu.sc.seis.sod.validator.model.FormProvider
copyWithNewParent, getForm, getMax, getMin, setAnnotation, setMax, setMin
 

Constructor Detail

AbstractMultigenitorForm

public AbstractMultigenitorForm(int min,
                                int max)

AbstractMultigenitorForm

public AbstractMultigenitorForm(int min,
                                int max,
                                Form parent)
Method Detail

getChildren

public Form[] getChildren()
Specified by:
getChildren in interface MultigenitorForm

getElementalChildren

public NamedElement[] getElementalChildren()
Specified by:
getElementalChildren in interface MultigenitorForm

getAttributes

public Attribute[] getAttributes()
Specified by:
getAttributes in interface MultigenitorForm

isAncestorOf

public boolean isAncestorOf(Form f,
                            Form root)
Specified by:
isAncestorOf in interface Form
Overrides:
isAncestorOf in class AbstractForm

accept

public void accept(Tourist v)
Specified by:
accept in interface Form