Package edu.sc.seis.sod.validator.model
Class AbstractGenitorForm
java.lang.Object
edu.sc.seis.sod.validator.model.AbstractForm
edu.sc.seis.sod.validator.model.AbstractGenitorForm
- All Implemented Interfaces:
Form
,FormProvider
,GenitorForm
- Direct Known Subclasses:
AnyXMLElement
,Attribute
,NamedElement
public abstract class AbstractGenitorForm extends AbstractForm implements GenitorForm
-
Constructor Summary
Constructors Constructor Description AbstractGenitorForm(int min, int max)
AbstractGenitorForm(int min, int max, Form parent)
-
Method Summary
Modifier and Type Method Description void
accept(Tourist visitor)
void
copyGutsOver(AbstractGenitorForm newParent)
Form
getChild()
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
-
AbstractGenitorForm
public AbstractGenitorForm(int min, int max) -
AbstractGenitorForm
-
-
Method Details
-
isAncestorOf
- Specified by:
isAncestorOf
in interfaceForm
- Overrides:
isAncestorOf
in classAbstractForm
-
getChild
- Specified by:
getChild
in interfaceGenitorForm
- Returns:
- the Form that goes inside this one
-
accept
-
copyGutsOver
-