Logo Search packages:      
Sourcecode: jclic version File versions  Download package

Object org::jdom::Content::clone (  )  [inline, inherited]

Returns a deep, unattached copy of this child and its descendants detached from any parent or document.

a detached deep copy of this child and descendants

Reimplemented in org::jdom::Element, org::jdom::ProcessingInstruction, and org::jdom::Text.

Definition at line 158 of file Content.java.

References org::jdom::Content::parent.

Referenced by org::jdom::Element::cloneContent(), and org::jdom::Document::cloneContent().

        try {
            Content c = (Content)super.clone();
            c.parent = null;
            return c;
        } catch (CloneNotSupportedException e) {
            //Can not happen ....
            return null;

Generated by  Doxygen 1.6.0   Back to index