Package org.apache.batik.dom.svg
Class SVGOMUseShadowRoot
- java.lang.Object
-
- org.apache.batik.dom.AbstractNode
-
- org.apache.batik.dom.AbstractParentNode
-
- org.apache.batik.dom.AbstractDocumentFragment
-
- org.apache.batik.dom.svg.SVGOMUseShadowRoot
-
- All Implemented Interfaces:
java.io.Serializable,CSSNavigableNode,NodeEventTarget,ExtendedNode,IdContainer,NodeXBL,XBLManagerData,org.w3c.dom.DocumentFragment,org.w3c.dom.events.EventTarget,org.w3c.dom.Node
public class SVGOMUseShadowRoot extends AbstractDocumentFragment implements CSSNavigableNode, IdContainer
This class implementsDocumentFragmentinterface. It is used to implement the SVG use element behavioUr.- Version:
- $Id: SVGOMUseShadowRoot.java 1733416 2016-03-03 07:07:13Z gadams $
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.batik.dom.AbstractParentNode
AbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS
-
-
Field Summary
Fields Modifier and Type Field Description protected org.w3c.dom.ElementcssParentElementThe parent CSS element.protected booleanisLocalIndicates if the imported css element is from this document.-
Fields inherited from class org.apache.batik.dom.AbstractParentNode
childNodes
-
Fields inherited from class org.apache.batik.dom.AbstractNode
DOCUMENT_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, userDataHandlers
-
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_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
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSVGOMUseShadowRoot()Creates a new DocumentFragment object.SVGOMUseShadowRoot(AbstractDocument owner, org.w3c.dom.Element parent, boolean isLocal)Creates a new DocumentFragment object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.NodegetCSSFirstChild()Returns the CSS first child node of this node.org.w3c.dom.NodegetCSSLastChild()Returns the CSS last child of this node.org.w3c.dom.NodegetCSSNextSibling()Returns the CSS next sibling node of this node.org.w3c.dom.NodegetCSSParentNode()Returns the CSS parent node of this node.org.w3c.dom.NodegetCSSPreviousSibling()Returns the CSS previous sibling node of this node.org.w3c.dom.ElementgetElementById(java.lang.String id)Returns the element with the given ID that exists in this subtree.NodeEventTargetgetParentNodeEventTarget()ImplementsNodeEventTarget.getParentNodeEventTarget().booleanisHiddenFromSelectors()Returns whether this node is the root of a (conceptual) hidden tree that selectors will not work across.booleanisReadonly()Tests whether this node is readonly.protected org.w3c.dom.NodenewNode()Returns a new uninitialized instance of this object's class.voidsetReadonly(boolean v)Sets this node readonly attribute.-
Methods inherited from class org.apache.batik.dom.AbstractDocumentFragment
checkChildType, getNodeName, getNodeType
-
Methods inherited from class org.apache.batik.dom.AbstractParentNode
appendChild, checkAndRemove, deepCopyInto, deepExport, fireDOMNodeInsertedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedEvent, fireDOMNodeRemovedFromDocumentEvent, fireDOMSubtreeModifiedEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getTextContent, hasChildNodes, insertBefore, nodeAdded, nodeToBeRemoved, normalize, removeChild, replaceChild
-
Methods inherited from class org.apache.batik.dom.AbstractNode
addEventListener, 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, willTriggerNS
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.Node
appendChild, 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, setUserData
-
-
-
-
Constructor Detail
-
SVGOMUseShadowRoot
protected SVGOMUseShadowRoot()
Creates a new DocumentFragment object.
-
SVGOMUseShadowRoot
public SVGOMUseShadowRoot(AbstractDocument owner, org.w3c.dom.Element parent, boolean isLocal)
Creates a new DocumentFragment object.
-
-
Method Detail
-
isReadonly
public boolean isReadonly()
Tests whether this node is readonly.- Specified by:
isReadonlyin interfaceExtendedNode
-
setReadonly
public void setReadonly(boolean v)
Sets this node readonly attribute.- Specified by:
setReadonlyin interfaceExtendedNode
-
getElementById
public org.w3c.dom.Element getElementById(java.lang.String id)
Description copied from interface:IdContainerReturns the element with the given ID that exists in this subtree.- Specified by:
getElementByIdin interfaceIdContainer
-
getCSSParentNode
public org.w3c.dom.Node getCSSParentNode()
Returns the CSS parent node of this node.- Specified by:
getCSSParentNodein interfaceCSSNavigableNode
-
getCSSPreviousSibling
public org.w3c.dom.Node getCSSPreviousSibling()
Returns the CSS previous sibling node of this node.- Specified by:
getCSSPreviousSiblingin interfaceCSSNavigableNode
-
getCSSNextSibling
public org.w3c.dom.Node getCSSNextSibling()
Returns the CSS next sibling node of this node.- Specified by:
getCSSNextSiblingin interfaceCSSNavigableNode
-
getCSSFirstChild
public org.w3c.dom.Node getCSSFirstChild()
Returns the CSS first child node of this node.- Specified by:
getCSSFirstChildin interfaceCSSNavigableNode
-
getCSSLastChild
public org.w3c.dom.Node getCSSLastChild()
Returns the CSS last child of this node.- Specified by:
getCSSLastChildin interfaceCSSNavigableNode
-
isHiddenFromSelectors
public boolean isHiddenFromSelectors()
Returns whether this node is the root of a (conceptual) hidden tree that selectors will not work across.- Specified by:
isHiddenFromSelectorsin interfaceCSSNavigableNode
-
getParentNodeEventTarget
public NodeEventTarget getParentNodeEventTarget()
ImplementsNodeEventTarget.getParentNodeEventTarget().- Specified by:
getParentNodeEventTargetin interfaceNodeEventTarget- Overrides:
getParentNodeEventTargetin classAbstractNode
-
newNode
protected org.w3c.dom.Node newNode()
Returns a new uninitialized instance of this object's class.- Specified by:
newNodein classAbstractNode
-
-