|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.validation.doc.rulebase.BaseElement
public abstract class BaseElement
base element class for element within a validation document
Field Summary | |
---|---|
protected String |
name
|
protected String |
text
|
Constructor Summary | |
---|---|
BaseElement(String name,
String text)
create an element or descriptor for an element in a validation document |
Method Summary | |
---|---|
String |
getName()
returns the name attribute of the element (if present) |
String |
getText()
returns the text content of the element (if present) |
String |
getTextTrim()
returns the trimmed text content of the element |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String name
protected String text
Constructor Detail |
---|
public BaseElement(String name, String text)
name
- name attribute (if present)text
- text content (if any)Method Detail |
---|
public String getName()
public String getText()
public String getTextTrim()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |