/** * Returns a new uninitialized instance of this object's class. */ protected Node newNode() { return new SVGOMUseShadowRoot(); } }
/** * Implements {@link * org.apache.batik.dom.events.NodeEventTarget#getParentNodeEventTarget()}. */ public NodeEventTarget getParentNodeEventTarget() { return (NodeEventTarget) getCSSParentNode(); }
/** * Returns the CSS first child node of this node. */ public Node getCSSFirstChild() { if (shadowTree != null) { return shadowTree.getFirstChild(); } return null; }
root = new SVGOMUseShadowRoot(document, e, isLocal); root.appendChild(localRefElement);
/** * Returns the CSS last child of this node. */ public Node getCSSLastChild() { return getLastChild(); }
root = new SVGOMUseShadowRoot(document, e, isLocal); root.appendChild(localRefElement);
/** * Returns the CSS last child of this node. */ public Node getCSSLastChild() { return getLastChild(); }
root = new SVGOMUseShadowRoot(document, e, isLocal); root.appendChild(localRefElement);
/** * Returns the CSS first child node of this node. */ public Node getCSSFirstChild() { return getFirstChild(); }
/** * Implements {@link * org.apache.batik.dom.events.NodeEventTarget#getParentNodeEventTarget()}. */ public NodeEventTarget getParentNodeEventTarget() { return (NodeEventTarget) getCSSParentNode(); }
/** * Returns a new uninitialized instance of this object's class. */ protected Node newNode() { return new SVGOMUseShadowRoot(); } }
/** * Returns the CSS first child node of this node. */ public Node getCSSFirstChild() { if (shadowTree != null) { return shadowTree.getFirstChild(); } return null; }
/** * Returns the element with the given ID, using the given node * as the context for the lookup. */ protected static Element getElementById(String id, Node n) { Node p = n.getParentNode(); while (p != null) { n = p; if (n instanceof SVGOMUseShadowRoot) { p = ((SVGOMUseShadowRoot) n).getCSSParentNode(); } else { p = n.getParentNode(); } } if (n instanceof IdContainer) { return ((IdContainer) n).getElementById(id); } return null; } }
/** * Returns the CSS first child node of this node. */ public Node getCSSFirstChild() { if (shadowTree != null) { return shadowTree.getFirstChild(); } return null; }
/** * Returns the element with the given ID, using the given node * as the context for the lookup. */ protected static Element getElementById(String id, Node n) { Node p = n.getParentNode(); while (p != null) { n = p; if (n instanceof SVGOMUseShadowRoot) { p = ((SVGOMUseShadowRoot) n).getCSSParentNode(); } else { p = n.getParentNode(); } } if (n instanceof IdContainer) { return ((IdContainer) n).getElementById(id); } return null; } }
/** * Returns the CSS first child node of this node. */ public Node getCSSFirstChild() { return getFirstChild(); }
/** * Returns the element with the given ID, using the given node * as the context for the lookup. */ protected static Element getElementById(String id, Node n) { Node p = n.getParentNode(); while (p != null) { n = p; if (n instanceof SVGOMUseShadowRoot) { p = ((SVGOMUseShadowRoot) n).getCSSParentNode(); } else { p = n.getParentNode(); } } if (n instanceof IdContainer) { return ((IdContainer) n).getElementById(id); } return null; } }