AbstractCDATA is an abstract base class for tree implementors
to use for implementation inheritence.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(Visitor
is the visitor in the Visitor Pattern visitor)Implements org.
|
| public String | |
| public short | getNodeType()
Overrides org. Implements org. |
| public String | |
| public void | write(Writer
is the writer)Writer to output the XML toOverrides org. Implements org.
|
| AbstractCDATA | back to summary |
|---|---|
| public AbstractCDATA() | |
| accept | back to summary |
|---|---|
| public void accept(Visitor visitor) Implements org. Doc from org.
| |
| asXML | back to summary |
|---|---|
| public String asXML() Implements org. Doc from org.
| |
| getNodeType | back to summary |
|---|---|
| public short getNodeType() Overrides org. Implements org. Doc from org. Returns the code according to the type of node. This makes processing nodes polymorphically much easier as the switch statement can be used instead of multiple if (instanceof) statements.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
| |
| write | back to summary |
|---|---|
| public void write(Writer writer) throws IOException Overrides org. Implements org. Doc from org.
| |