Package edu.sc.seis.sod.validator.model
Class AbstractMultigenitorForm
java.lang.Object
edu.sc.seis.sod.validator.model.AbstractForm
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
Constructors Constructor Description AbstractMultigenitorForm(int min, int max)
AbstractMultigenitorForm(int min, int max, Form parent)
-
Method Summary
Modifier and Type Method Description 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 Details
-
AbstractMultigenitorForm
public AbstractMultigenitorForm(int min, int max) -
AbstractMultigenitorForm
-
-
Method Details
-
getChildren
- Specified by:
getChildren
in interfaceMultigenitorForm
- Returns:
- all of the Forms that go inside of this form.
-
getElementalChildren
- Specified by:
getElementalChildren
in interfaceMultigenitorForm
-
getAttributes
- Specified by:
getAttributes
in interfaceMultigenitorForm
-
isAncestorOf
- Specified by:
isAncestorOf
in interfaceForm
- Overrides:
isAncestorOf
in classAbstractForm
-
accept
-