Inheritance diagram for org::jdom::Content:
Public Member Functions | |
Content | detach () |
Parent | getParent () |
Element | getParentElement () |
Document | getDocument () |
abstract String | getValue () |
Object | clone () |
final boolean | equals (Object ob) |
final int | hashCode () |
Protected Member Functions | |
Content | setParent (Parent parent) |
Protected Attributes | |
Parent | parent = null |
Jason Hunter
|
Returns a deep, unattached copy of this child and its descendants detached from any parent or document.
Reimplemented in org::jdom::Element, org::jdom::ProcessingInstruction, and org::jdom::Text. |
|
Detaches this child from its parent or does nothing if the child has no parent.
|
|
This tests for equality of this Content object to the supplied object. Content items are considered equal only if they are referentially equal (i.e. the same object). User code may choose to compare objects based on their properties instead.
|
|
Return this child's owning document or null if the branch containing this child is currently not attached to a document.
|
|
Return this child's parent, or null if this child is currently not attached. The parent can be either an Element or a Document.
|
|
A convenience method that returns any parent element for this element, or null if the element is unattached or is a root element. This was the original behavior of getParent() in JDOM Beta 9 which began returning Parent in Beta 10. This method provides a convenient upgrade path for JDOM Beta 10 and 1.0 users.
|
|
Returns the XPath 1.0 string value of this child.
Implemented in org::jdom::Comment, org::jdom::DocType, org::jdom::Element, org::jdom::EntityRef, org::jdom::ProcessingInstruction, and org::jdom::Text. |
|
This returns the hash code for this
|
|
Sets the parent of this Content. The caller is responsible for removing any pre-existing parentage.
|