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
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractGenitorForm
(int min, int max) AbstractGenitorForm
(int min, int max, Form parent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
copyGutsOver
(AbstractGenitorForm newParent) 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
-