public abstract class AbstractForm extends java.lang.Object implements Form
Constructor and Description |
---|
AbstractForm(int min,
int max) |
AbstractForm(int min,
int max,
Form parent) |
Modifier and Type | Method and Description |
---|---|
void |
copyGutsOver(AbstractForm copy) |
Form |
deref(Form newParent,
Definition newDef) |
Annotation |
getAnnotation() |
Definition |
getDef() |
Form |
getForm() |
int |
getMax() |
int |
getMin() |
java.lang.String |
getNamespace() |
Form |
getParent() |
java.lang.String |
getXPath() |
boolean |
isAncestorOf(Form f) |
boolean |
isAncestorOf(Form f,
Form root) |
boolean |
isFromDef() |
void |
setAnnotation(Annotation ann) |
void |
setMax(int max) |
void |
setMin(int min) |
void |
setNamespace(java.lang.String ns) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
copyWithNewParent
public AbstractForm(int min, int max)
public AbstractForm(int min, int max, Form parent)
public boolean isAncestorOf(Form f)
isAncestorOf
in interface Form
public boolean isAncestorOf(Form f, Form root)
isAncestorOf
in interface Form
public Form getParent()
public int getMin()
getMin
in interface FormProvider
public int getMax()
getMax
in interface FormProvider
public void setMin(int min)
setMin
in interface FormProvider
public Form getForm()
getForm
in interface FormProvider
public void setMax(int max)
setMax
in interface FormProvider
public boolean isFromDef()
public Definition getDef()
public Form deref(Form newParent, Definition newDef)
public void setAnnotation(Annotation ann)
setAnnotation
in interface FormProvider
public Annotation getAnnotation()
getAnnotation
in interface Form
public void setNamespace(java.lang.String ns)
public java.lang.String getNamespace()
getNamespace
in interface Form
public void copyGutsOver(AbstractForm copy)