/** Clone the node. If the object implements {@link Cloneable}, * that is used; otherwise a {@link FilterNode filter node} * is created. * * @return copy of this node */ public Node cloneNode() { try { if (this instanceof Cloneable) { return (Node) clone(); } } catch (CloneNotSupportedException ex) { } return new FilterNode(this); }
/** Clone the node. If the object implements {@link Cloneable}, * that is used; otherwise a {@link FilterNode filter node} * is created. * * @return copy of this node */ public Node cloneNode () { try { if (this instanceof Cloneable) { return (Node)clone (); } } catch (CloneNotSupportedException ex) { } return new FilterNode (this); }
/** Clone the node. If the object implements {@link Cloneable}, * that is used; otherwise a {@link FilterNode filter node} * is created. * * @return copy of this node */ public Node cloneNode () { try { if (this instanceof Cloneable) { return (Node)clone (); } } catch (CloneNotSupportedException ex) { } return new FilterNode (this); }