Package org.apache.batik.dom
Class AbstractDocument
java.lang.Object
org.apache.batik.dom.AbstractNode
org.apache.batik.dom.AbstractParentNode
org.apache.batik.dom.AbstractDocument
- All Implemented Interfaces:
Serializable
,NodeEventTarget
,ExtendedNode
,NodeXBL
,XBLManagerData
,Localizable
,Document
,DocumentEvent
,EventTarget
,Node
,DocumentTraversal
,XPathEvaluator
- Direct Known Subclasses:
AbstractStylableDocument
,GenericDocument
public abstract class AbstractDocument
extends AbstractParentNode
implements Document, DocumentEvent, DocumentTraversal, Localizable, XPathEvaluator
This class implements the
Document
interface.- Version:
- $Id: AbstractDocument.java 1851346 2019-01-15 13:41:00Z ssteiner $
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
DOMConfiguration for this document.protected static class
DOMError implementation.protected class
protected class
A compiled XPath expression.protected static class
An XPathNSResolver that uses Node.lookupNamespaceURI.Nested classes/interfaces inherited from class org.apache.batik.dom.AbstractParentNode
AbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DocumentEventSupport
The DocumentEventSupport.protected String
The document URI.protected AbstractDocument.DocumentConfiguration
The DOMConfiguration object for this document.protected Map
The elementsById lists.protected WeakHashMap
The ElementsByTagName lists.protected WeakHashMap
The ElementsByTagNameNS lists.protected boolean
Whether the event dispatching must be done.protected DOMImplementation
The DOM implementation.protected String
Input encoding of this document.protected LocalizableSupport
The localizable support for the error messages.protected static final String
The error messages bundle class name.protected boolean
Whether strict error checking is in force.protected TraversalSupport
The traversal support.protected XBLManager
The XBL manager for this document.protected String
XML encoding of this document.protected boolean
Whether this document is standalone.protected String
XML version of 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
ConstructorsModifierConstructorDescriptionprotected
Creates a new document.AbstractDocument
(DocumentType dt, DOMImplementation impl) Creates a new document. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addIdEntry
(Element e, String id) DOM: ImplementsDocument.adoptNode(Node)
.protected void
Helper function foradoptNode(Node)
.boolean
canDispatch
(String ns, String eventType) DOM: Implements org.w3c.dom.events.DocumentEvent#canDispatch(String,String).protected boolean
checkChars
(String s) Checks that the characters in the given string are all valid content characters.protected void
checkChildType
(Node n, boolean replace) Checks the validity of a node to be inserted.protected boolean
Checks that the given string is a valid XML name.cloneNode
(boolean deep) DOM: ImplementsNode.cloneNode(boolean)
.protected Node
Copy the fields of the current node into the given node.protected DOMError
Creates a DOMError object with the given parameters.createEvent
(String eventType) DOM: ImplementsDocumentEvent.createEvent(String)
.createExpression
(String expression, XPathNSResolver resolver) DOM: ImplementsXPathEvaluator.createExpression(String,XPathNSResolver)
.createNodeIterator
(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) DOM: ImplementsDocumentTraversal.createNodeIterator(Node,int,NodeFilter,boolean)
.DOM: ImplementsXPathEvaluator.createNSResolver(Node)
.createTreeWalker
(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) DOM: ImplementsDocumentTraversal.createTreeWalker(Node,int,NodeFilter,boolean)
.createXPathException
(short type, String key, Object[] args) Creates an exception with the appropriate error message.protected Node
deepCopyInto
(Node n) Deeply copy the fields of the current node into the given node.protected Node
deepExport
(Node n, Document d) Deeply exports this node to the given document.void
Detaches the given node iterator from this document.evaluate
(String expression, Node contextNode, XPathNSResolver resolver, short type, Object result) DOM: ImplementsXPathEvaluator.evaluate(String,Node,XPathNSResolver,short,Object)
.protected Node
Exports this node to the given document.formatMessage
(String key, Object[] args) ImplementsLocalizable.formatMessage(String,Object[])
.getChildElementById
(Node requestor, String id) Finds an element that is in the same document fragment as 'requestor' that has 'id'.protected AbstractDocument
Returns the current document.DOM: ImplementsDocument.getDoctype()
.DOM: ImplementsDocument.getDocumentElement()
.DOM: ImplementsDocument.getDocumentURI()
.DOM: ImplementsDocument.getDomConfig()
.getElementById
(String id) DOM: ImplementsDocument.getElementById(String)
.getElementsByTagName
(Node n, String ln) Returns an ElementsByTagName object from the cache, if any.getElementsByTagNameNS
(Node n, String ns, String ln) Returns an ElementsByTagNameNS object from the cache, if any.boolean
Tests whether the event dispatching must be done.DOM: ImplementsDocument.getImplementation()
.DOM: ImplementsDocument.getInputEncoding()
.ImplementsLocalizable.getLocale()
.DOM: ImplementsNode.getNodeName()
.short
DOM: ImplementsNode.getNodeType()
.protected Node
boolean
DOM: ImplementsDocument.getStrictErrorChecking()
.Get the bound element whose shadow tree this current node resides in.Get the list of child nodes of this node in the fully flattened tree.Get the xbl:definition elements currently binding this element.Get the first child node of this node in the fully flattened tree.Get the first element child of this node in the fully flattened tree.Get the last child node of this node in the fully flattened tree.Get the last element child of this node in the fully flattened tree.Returns the XBLManager used for this document.Get the first element that follows the current node in the xblParentNode's xblChildNodes list.Get the node which directly follows the current node in the xblParentNode's xblChildNodes list.Get the parent of this node in the fully flattened tree.Get the first element that precedes the current node in the xblParentNode's xblChildNodes list.Get the node which directly precedes the current node in the xblParentNode's xblChildNodes list.Get the list of child nodes of this node in the fully flattened tree that are within the same shadow scope.Get the shadow tree of this node.DOM: ImplementsDocument.getXmlEncoding()
.boolean
DOM: ImplementsDocument.getXmlStandalone()
.DOM: ImplementsDocument.getXmlVersion()
.importNode
(Node importedNode, boolean deep) DOM: ImplementsDocument.importNode(Node,boolean)
.importNode
(Node importedNode, boolean deep, boolean trimId) Imports the given node into this document.abstract boolean
Returns whether the given attribute node is an ID attribute.void
nodeToBeRemoved
(Node node) Notifies this document that a node will be removed.void
DOM: ImplementsDocument.normalizeDocument()
.protected boolean
normalizeDocument
(Element e, boolean cdataSections, boolean comments, boolean elementContentWhitepace, boolean namespaceDeclarations, boolean namespaces, boolean splitCdataSections, DOMErrorHandler errorHandler) Helper function fornormalizeDocument()
.void
Puts an ElementsByTagName object in the cache.void
Puts an ElementsByTagNameNS object in the cache.private void
void
removeIdEntry
(Element e, String id) Remove the mapping forelement
toid
renameNode
(Node n, String ns, String qn) DOM: ImplementsDocument.renameNode(Node,String,String)
.void
Sets the document type node.void
Sets the input encoding that was used when the document was being parsed.void
setDocumentURI
(String uri) DOM: ImplementsDocument.setDocumentURI(String)
.void
Sets the XML encoding that was found in the XML prolog.void
setEventsEnabled
(boolean b) Sets the eventsEnabled property.void
ImplementsLocalizable.setLocale(Locale)
.void
setStrictErrorChecking
(boolean b) DOM: ImplementsDocument.setStrictErrorChecking(boolean)
.void
DOM: ImplementsNode.setTextContent(String)
.void
Sets the XBLManager used for this document.void
setXmlStandalone
(boolean b) DOM: ImplementsDocument.setXmlStandalone(boolean)
.void
DOM: ImplementsDocument.setXmlVersion(String)
.protected boolean
splitCdata
(Element e, Node n, DOMErrorHandler errorHandler) Splits the given CDATA node if required.void
updateIdEntry
(Element e, String oldId, String newId) private void
Methods inherited from class org.apache.batik.dom.AbstractParentNode
appendChild, checkAndRemove, deepExport, fireDOMNodeInsertedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedEvent, fireDOMNodeRemovedFromDocumentEvent, fireDOMSubtreeModifiedEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, getTextContent, hasChildNodes, insertBefore, nodeAdded, normalize, removeChild, replaceChild
Methods inherited from class org.apache.batik.dom.AbstractNode
addEventListener, addEventListenerNS, compareDocumentPosition, compareNamedNodeMaps, compareStrings, createDOMException, dispatchEvent, export, fireDOMCharacterDataModifiedEvent, fireUserDataHandlers, getAttributes, getBaseURI, getBaseURI, getCascadedXMLBase, getEventSupport, getFeature, getLocalName, getManagerData, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getParentNodeEventTarget, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasEventListenerNS, initializeEventSupport, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, newNode, removeEventListener, removeEventListenerNS, setManagerData, setNextSibling, setNodeName, setNodeValue, setOwnerDocument, setParentNode, setPrefix, setPreviousSibling, setSpecified, 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.Document
createAttribute, createAttributeNS, createCDATASection, createComment, createDocumentFragment, createElement, createElementNS, createEntityReference, createProcessingInstruction, createTextNode, getElementsByTagName, getElementsByTagNameNS
Methods inherited from interface org.apache.batik.dom.ExtendedNode
isReadonly, setReadonly
Methods inherited from interface org.w3c.dom.Node
appendChild, 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, setUserData
-
Field Details
-
RESOURCES
The error messages bundle class name.- See Also:
-
localizableSupport
The localizable support for the error messages. -
implementation
The DOM implementation. -
traversalSupport
The traversal support. -
documentEventSupport
The DocumentEventSupport. -
eventsEnabled
protected transient boolean eventsEnabledWhether the event dispatching must be done. -
elementsByTagNames
The ElementsByTagName lists. -
elementsByTagNamesNS
The ElementsByTagNameNS lists. -
inputEncoding
Input encoding of this document. -
xmlEncoding
XML encoding of this document. -
xmlVersion
XML version of this document. -
xmlStandalone
protected boolean xmlStandaloneWhether this document is standalone. -
documentURI
The document URI. -
strictErrorChecking
protected boolean strictErrorCheckingWhether strict error checking is in force. -
domConfig
The DOMConfiguration object for this document. -
xblManager
The XBL manager for this document. -
elementsById
The elementsById lists. This is keyed on 'id'. the entry is either a IdSoftReference to the element or a List of IdSoftReferences (if there is more than one element owned by this document with a particular 'id').
-
-
Constructor Details
-
AbstractDocument
protected AbstractDocument()Creates a new document. -
AbstractDocument
Creates a new document.
-
-
Method Details
-
setDocumentInputEncoding
Sets the input encoding that was used when the document was being parsed. -
setDocumentXmlEncoding
Sets the XML encoding that was found in the XML prolog. -
setLocale
ImplementsLocalizable.setLocale(Locale)
.- Specified by:
setLocale
in interfaceLocalizable
- Parameters:
l
- The locale to set.
-
getLocale
ImplementsLocalizable.getLocale()
.- Specified by:
getLocale
in interfaceLocalizable
-
formatMessage
ImplementsLocalizable.formatMessage(String,Object[])
.- Specified by:
formatMessage
in interfaceLocalizable
- Parameters:
key
- The key used to retreive the message from the resource bundle.args
- The objects that compose the message.- Throws:
MissingResourceException
- if the key is not in the bundle.
-
getEventsEnabled
public boolean getEventsEnabled()Tests whether the event dispatching must be done. -
setEventsEnabled
public void setEventsEnabled(boolean b) Sets the eventsEnabled property. -
getNodeName
DOM: ImplementsNode.getNodeName()
.- Specified by:
getNodeName
in interfaceNode
- Returns:
- "#document".
-
getNodeType
public short getNodeType()DOM: ImplementsNode.getNodeType()
.- Specified by:
getNodeType
in interfaceNode
- Returns:
Node.DOCUMENT_NODE
-
getDoctype
DOM: ImplementsDocument.getDoctype()
.- Specified by:
getDoctype
in interfaceDocument
-
setDoctype
Sets the document type node. -
getImplementation
DOM: ImplementsDocument.getImplementation()
.- Specified by:
getImplementation
in interfaceDocument
- Returns:
implementation
-
getDocumentElement
DOM: ImplementsDocument.getDocumentElement()
.- Specified by:
getDocumentElement
in interfaceDocument
-
importNode
DOM: ImplementsDocument.importNode(Node,boolean)
.- Specified by:
importNode
in interfaceDocument
- Throws:
DOMException
-
importNode
Imports the given node into this document. It does so deeply ifdeep
is set to true. It will not mark ID attributes as IDs iftrimId
is set to true. This is used primarily for the shadow trees of the 'use' elements so they don't clutter the hash table.- Parameters:
importedNode
- The node to import into this document.deep
- Whether to perform a deep importation.trimId
- Whether to make all cloned attributes not be ID attributes.
-
cloneNode
DOM: ImplementsNode.cloneNode(boolean)
.- Specified by:
cloneNode
in interfaceNode
- Overrides:
cloneNode
in classAbstractNode
-
isId
Returns whether the given attribute node is an ID attribute. -
getElementById
DOM: ImplementsDocument.getElementById(String)
.- Specified by:
getElementById
in interfaceDocument
-
getChildElementById
Finds an element that is in the same document fragment as 'requestor' that has 'id'. -
getRoot
-
removeIdEntry
Remove the mapping forelement
toid
-
addIdEntry
-
updateIdEntry
-
getElementsByTagName
Returns an ElementsByTagName object from the cache, if any. -
putElementsByTagName
Puts an ElementsByTagName object in the cache. -
getElementsByTagNameNS
Returns an ElementsByTagNameNS object from the cache, if any. -
putElementsByTagNameNS
public void putElementsByTagNameNS(Node n, String ns, String ln, AbstractParentNode.ElementsByTagNameNS l) Puts an ElementsByTagNameNS object in the cache. -
createEvent
DOM: ImplementsDocumentEvent.createEvent(String)
.- Specified by:
createEvent
in interfaceDocumentEvent
- Throws:
DOMException
-
canDispatch
DOM: Implements org.w3c.dom.events.DocumentEvent#canDispatch(String,String). -
createNodeIterator
public NodeIterator createNodeIterator(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) throws DOMException DOM: ImplementsDocumentTraversal.createNodeIterator(Node,int,NodeFilter,boolean)
.- Specified by:
createNodeIterator
in interfaceDocumentTraversal
- Throws:
DOMException
-
createTreeWalker
public TreeWalker createTreeWalker(Node root, int whatToShow, NodeFilter filter, boolean entityReferenceExpansion) throws DOMException DOM: ImplementsDocumentTraversal.createTreeWalker(Node,int,NodeFilter,boolean)
.- Specified by:
createTreeWalker
in interfaceDocumentTraversal
- Throws:
DOMException
-
detachNodeIterator
Detaches the given node iterator from this document. -
nodeToBeRemoved
Notifies this document that a node will be removed.- Overrides:
nodeToBeRemoved
in classAbstractParentNode
-
getCurrentDocument
Returns the current document.- Overrides:
getCurrentDocument
in classAbstractNode
-
export
Exports this node to the given document.- Parameters:
n
- The clone node.d
- The destination document.
-
deepExport
Deeply exports this node to the given document.- Parameters:
n
- The clone node.d
- The destination document.
-
copyInto
Copy the fields of the current node into the given node.- Overrides:
copyInto
in classAbstractNode
- Parameters:
n
- a node of the type of this.
-
deepCopyInto
Deeply copy the fields of the current node into the given node.- Overrides:
deepCopyInto
in classAbstractParentNode
- Parameters:
n
- a node of the type of this.
-
checkChildType
Checks the validity of a node to be inserted.- Overrides:
checkChildType
in classAbstractNode
-
getInputEncoding
DOM: ImplementsDocument.getInputEncoding()
.- Specified by:
getInputEncoding
in interfaceDocument
-
getXmlEncoding
DOM: ImplementsDocument.getXmlEncoding()
.- Specified by:
getXmlEncoding
in interfaceDocument
-
getXmlStandalone
public boolean getXmlStandalone()DOM: ImplementsDocument.getXmlStandalone()
.- Specified by:
getXmlStandalone
in interfaceDocument
-
setXmlStandalone
DOM: ImplementsDocument.setXmlStandalone(boolean)
.- Specified by:
setXmlStandalone
in interfaceDocument
- Throws:
DOMException
-
getXmlVersion
DOM: ImplementsDocument.getXmlVersion()
.- Specified by:
getXmlVersion
in interfaceDocument
-
setXmlVersion
DOM: ImplementsDocument.setXmlVersion(String)
.- Specified by:
setXmlVersion
in interfaceDocument
- Throws:
DOMException
-
getStrictErrorChecking
public boolean getStrictErrorChecking()DOM: ImplementsDocument.getStrictErrorChecking()
.- Specified by:
getStrictErrorChecking
in interfaceDocument
-
setStrictErrorChecking
public void setStrictErrorChecking(boolean b) DOM: ImplementsDocument.setStrictErrorChecking(boolean)
.- Specified by:
setStrictErrorChecking
in interfaceDocument
-
getDocumentURI
DOM: ImplementsDocument.getDocumentURI()
.- Specified by:
getDocumentURI
in interfaceDocument
-
setDocumentURI
DOM: ImplementsDocument.setDocumentURI(String)
.- Specified by:
setDocumentURI
in interfaceDocument
-
getDomConfig
DOM: ImplementsDocument.getDomConfig()
.- Specified by:
getDomConfig
in interfaceDocument
-
adoptNode
DOM: ImplementsDocument.adoptNode(Node)
.- Specified by:
adoptNode
in interfaceDocument
- Throws:
DOMException
-
adoptNode1
Helper function foradoptNode(Node)
. -
renameNode
DOM: ImplementsDocument.renameNode(Node,String,String)
.- Specified by:
renameNode
in interfaceDocument
-
normalizeDocument
public void normalizeDocument()DOM: ImplementsDocument.normalizeDocument()
. XXX Does not handle the 'entities' parameter yet.- Specified by:
normalizeDocument
in interfaceDocument
-
normalizeDocument
protected boolean normalizeDocument(Element e, boolean cdataSections, boolean comments, boolean elementContentWhitepace, boolean namespaceDeclarations, boolean namespaces, boolean splitCdataSections, DOMErrorHandler errorHandler) Helper function fornormalizeDocument()
. -
splitCdata
Splits the given CDATA node if required. -
checkChars
Checks that the characters in the given string are all valid content characters. -
checkName
Checks that the given string is a valid XML name. -
createDOMError
protected DOMError createDOMError(String type, short severity, String key, Object[] args, Node related, Exception e) Creates a DOMError object with the given parameters. -
setTextContent
DOM: ImplementsNode.setTextContent(String)
.- Specified by:
setTextContent
in interfaceNode
- Overrides:
setTextContent
in classAbstractNode
- Throws:
DOMException
-
setXBLManager
Sets the XBLManager used for this document. -
getXBLManager
Returns the XBLManager used for this document. -
createExpression
public XPathExpression createExpression(String expression, XPathNSResolver resolver) throws DOMException, XPathException DOM: ImplementsXPathEvaluator.createExpression(String,XPathNSResolver)
.- Specified by:
createExpression
in interfaceXPathEvaluator
- Throws:
DOMException
XPathException
-
createNSResolver
DOM: ImplementsXPathEvaluator.createNSResolver(Node)
.- Specified by:
createNSResolver
in interfaceXPathEvaluator
-
evaluate
public Object evaluate(String expression, Node contextNode, XPathNSResolver resolver, short type, Object result) throws XPathException, DOMException DOM: ImplementsXPathEvaluator.evaluate(String,Node,XPathNSResolver,short,Object)
.- Specified by:
evaluate
in interfaceXPathEvaluator
- Throws:
XPathException
DOMException
-
createXPathException
Creates an exception with the appropriate error message. -
getXblParentNode
Get the parent of this node in the fully flattened tree.- Specified by:
getXblParentNode
in interfaceNodeXBL
- Overrides:
getXblParentNode
in classAbstractNode
-
getXblChildNodes
Get the list of child nodes of this node in the fully flattened tree.- Specified by:
getXblChildNodes
in interfaceNodeXBL
- Overrides:
getXblChildNodes
in classAbstractNode
-
getXblScopedChildNodes
Get the list of child nodes of this node in the fully flattened tree that are within the same shadow scope.- Specified by:
getXblScopedChildNodes
in interfaceNodeXBL
- Overrides:
getXblScopedChildNodes
in classAbstractNode
-
getXblFirstChild
Get the first child node of this node in the fully flattened tree.- Specified by:
getXblFirstChild
in interfaceNodeXBL
- Overrides:
getXblFirstChild
in classAbstractNode
-
getXblLastChild
Get the last child node of this node in the fully flattened tree.- Specified by:
getXblLastChild
in interfaceNodeXBL
- Overrides:
getXblLastChild
in classAbstractNode
-
getXblPreviousSibling
Get the node which directly precedes the current node in the xblParentNode's xblChildNodes list.- Specified by:
getXblPreviousSibling
in interfaceNodeXBL
- Overrides:
getXblPreviousSibling
in classAbstractNode
-
getXblNextSibling
Get the node which directly follows the current node in the xblParentNode's xblChildNodes list.- Specified by:
getXblNextSibling
in interfaceNodeXBL
- Overrides:
getXblNextSibling
in classAbstractNode
-
getXblFirstElementChild
Get the first element child of this node in the fully flattened tree.- Specified by:
getXblFirstElementChild
in interfaceNodeXBL
- Overrides:
getXblFirstElementChild
in classAbstractNode
-
getXblLastElementChild
Get the last element child of this node in the fully flattened tree.- Specified by:
getXblLastElementChild
in interfaceNodeXBL
- Overrides:
getXblLastElementChild
in classAbstractNode
-
getXblPreviousElementSibling
Get the first element that precedes the current node in the xblParentNode's xblChildNodes list.- Specified by:
getXblPreviousElementSibling
in interfaceNodeXBL
- Overrides:
getXblPreviousElementSibling
in classAbstractNode
-
getXblNextElementSibling
Get the first element that follows the current node in the xblParentNode's xblChildNodes list.- Specified by:
getXblNextElementSibling
in interfaceNodeXBL
- Overrides:
getXblNextElementSibling
in classAbstractNode
-
getXblBoundElement
Get the bound element whose shadow tree this current node resides in.- Specified by:
getXblBoundElement
in interfaceNodeXBL
- Overrides:
getXblBoundElement
in classAbstractNode
-
getXblShadowTree
Get the shadow tree of this node.- Specified by:
getXblShadowTree
in interfaceNodeXBL
- Overrides:
getXblShadowTree
in classAbstractNode
-
getXblDefinitions
Get the xbl:definition elements currently binding this element.- Specified by:
getXblDefinitions
in interfaceNodeXBL
- Overrides:
getXblDefinitions
in classAbstractNode
-
writeObject
- Throws:
IOException
-
readObject
- Throws:
IOException
ClassNotFoundException
-