Example usage for Java org.eclipse.jdt.core.jdom IDOMNode fields, constructors, methods, implement or subclass
The text is from its open source code.
int | COMPILATION_UNIT Node type constant indicating a compilation unit. |
int | PACKAGE Node type constant indicating a package declaration. |
int | IMPORT Node type constant indicating an import declaration. |
int | TYPE Node type constant indicating a type declaration. |
int | FIELD Node type constant indicating a field declaration. |
int | METHOD Node type constant indicating a method (or constructor) declaration. |
int | INITIALIZER Node type constant indicating an initializer declaration. |
void | addChild(IDOMNode child) Adds the given un-parented node (document fragment) as the last child of this node. |
Object | clone() Returns a stand-alone copy of the document fragment represented by this node that is in no way dependent on the document this node is part of. |
Enumeration | getChildren() Returns an enumeration of children of this node. |
String | getContents() Returns the current contents of this document fragment. |
IDOMNode | getFirstChild() Returns the first child of this node. |
String | getName() Returns the name of this node. |
IDOMNode | getNextNode() Returns the sibling node immediately following this node. |
int | getNodeType() Returns the type of this node. |
IDOMNode | getParent() Returns the parent of this node. |
IDOMNode | getPreviousNode() Returns the sibling node immediately preceding this node. |
void | insertSibling(IDOMNode sibling) Inserts the given un-parented node as a sibling of this node, immediately before this node. |
void | remove() Separates this node from its parent and siblings, maintaining any ties that this node has to the underlying document fragment. |