public class SVGOMUseShadowRoot extends AbstractDocumentFragment implements CSSNavigableNode, IdContainer
DocumentFragment interface.
It is used to implement the SVG use element behavioUr.AbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS| Modifier and Type | Field and Description |
|---|---|
protected Element |
cssParentElement
The parent CSS element.
|
protected boolean |
isLocal
Indicates if the imported css element is from
this document.
|
childNodesDOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, EMPTY_NODE_LIST, eventSupport, managerData, ownerDocument, userData, userDataHandlersATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Modifier | Constructor and Description |
|---|---|
protected |
SVGOMUseShadowRoot()
Creates a new DocumentFragment object.
|
|
SVGOMUseShadowRoot(AbstractDocument owner,
Element parent,
boolean isLocal)
Creates a new DocumentFragment object.
|
| Modifier and Type | Method and Description |
|---|---|
Node |
getCSSFirstChild()
Returns the CSS first child node of this node.
|
Node |
getCSSLastChild()
Returns the CSS last child of this node.
|
Node |
getCSSNextSibling()
Returns the CSS next sibling node of this node.
|
Node |
getCSSParentNode()
Returns the CSS parent node of this node.
|
Node |
getCSSPreviousSibling()
Returns the CSS previous sibling node of this node.
|
Element |
getElementById(String id)
Returns the element with the given ID that exists in this subtree.
|
NodeEventTarget |
getParentNodeEventTarget()
Implements
NodeEventTarget.getParentNodeEventTarget(). |
boolean |
isHiddenFromSelectors()
Returns whether this node is the root of a (conceptual) hidden tree
that selectors will not work across.
|
boolean |
isReadonly()
Tests whether this node is readonly.
|
protected Node |
newNode()
Returns a new uninitialized instance of this object's class.
|
void |
setReadonly(boolean v)
Sets this node readonly attribute.
|
checkChildType, getNodeName, getNodeTypeappendChild, checkAndRemove, deepCopyInto, deepExport, fireDOMNodeInsertedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedEvent, fireDOMNodeRemovedFromDocumentEvent, fireDOMSubtreeModifiedEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getTextContent, hasChildNodes, insertBefore, nodeAdded, nodeToBeRemoved, normalize, removeChild, replaceChildaddEventListener, addEventListenerNS, cloneNode, compareDocumentPosition, compareNamedNodeMaps, compareStrings, copyInto, createDOMException, dispatchEvent, export, fireDOMCharacterDataModifiedEvent, fireUserDataHandlers, getAttributes, getBaseURI, getBaseURI, getCascadedXMLBase, getCurrentDocument, getEventSupport, getFeature, getLocalName, getManagerData, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, getXblBoundElement, getXblChildNodes, getXblDefinitions, getXblFirstChild, getXblFirstElementChild, getXblLastChild, getXblLastElementChild, getXblNextElementSibling, getXblNextSibling, getXblParentNode, getXblPreviousElementSibling, getXblPreviousSibling, getXblScopedChildNodes, getXblShadowTree, hasAttributes, hasEventListenerNS, initializeEventSupport, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, removeEventListener, removeEventListenerNS, setManagerData, setNextSibling, setNodeName, setNodeValue, setOwnerDocument, setParentNode, setPrefix, setPreviousSibling, setSpecified, setTextContent, setUserData, willTriggerNSclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataprotected Element cssParentElement
protected boolean isLocal
protected SVGOMUseShadowRoot()
public SVGOMUseShadowRoot(AbstractDocument owner, Element parent, boolean isLocal)
public boolean isReadonly()
isReadonly in interface ExtendedNodepublic void setReadonly(boolean v)
setReadonly in interface ExtendedNodepublic Element getElementById(String id)
IdContainergetElementById in interface IdContainerpublic Node getCSSParentNode()
getCSSParentNode in interface CSSNavigableNodepublic Node getCSSPreviousSibling()
getCSSPreviousSibling in interface CSSNavigableNodepublic Node getCSSNextSibling()
getCSSNextSibling in interface CSSNavigableNodepublic Node getCSSFirstChild()
getCSSFirstChild in interface CSSNavigableNodepublic Node getCSSLastChild()
getCSSLastChild in interface CSSNavigableNodepublic boolean isHiddenFromSelectors()
isHiddenFromSelectors in interface CSSNavigableNodepublic NodeEventTarget getParentNodeEventTarget()
NodeEventTarget.getParentNodeEventTarget().getParentNodeEventTarget in interface NodeEventTargetgetParentNodeEventTarget in class AbstractNodeprotected Node newNode()
newNode in class AbstractNodeCopyright © 2000–2021 Apache Software Foundation. All rights reserved.