|
XFA4J | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.adobe.xfa.Obj
com.adobe.xfa.Node
com.adobe.xfa.Comment
public final class Comment
A class to represent the XML comment nodes in the DOM.
A comment's data is all of the characters between
the starting <!-- and ending -->.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.adobe.xfa.Node |
|---|
Node.ChangeLogger |
| Field Summary |
|---|
| Fields inherited from class com.adobe.xfa.Node |
|---|
CREATE_ALWAYS_NEW, CREATE_IF_NOT_EXIST, CREATE_MUST_NOT_EXIST, CREATE_REPLACE |
| Constructor Summary | |
|---|---|
Comment(Element parent,
Node prevSibling,
java.lang.String comment)
Instantiates a node with the given comment. |
|
| Method Summary | |
|---|---|
java.lang.String |
getData()
Gets this node's data. |
java.lang.String |
getName()
Gets this node's name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Comment(Element parent,
Node prevSibling,
java.lang.String comment)
parent - the node's parent, if any.prevSibling - the node's previous sibling, if any.comment - the node's comment.| Method Detail |
|---|
public java.lang.String getData()
Node
getData in class NodeNode.getData()public java.lang.String getName()
getName in class Node
|
XFA4J | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||