|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.dom.AbstractNode | +--org.apache.batik.dom.AbstractParentNode | +--org.apache.batik.dom.AbstractDocument | +--org.apache.batik.dom.GenericDocument
This class implements the Document
,
DocumentEvent
.
Nested Class Summary |
Nested classes inherited from class org.apache.batik.dom.AbstractParentNode |
AbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS |
Field Summary | |
protected boolean |
readonly
Is this document immutable? |
Fields inherited from class org.apache.batik.dom.AbstractDocument |
documentEventSupport, elementsByTagNames, elementsByTagNamesNS, eventsEnabled, implementation, localizableSupport, RESOURCES, traversalSupport |
Fields inherited from class org.apache.batik.dom.AbstractParentNode |
childNodes |
Fields inherited from class org.apache.batik.dom.AbstractNode |
EMPTY_NODE_LIST, eventSupport, ownerDocument |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Constructor Summary | |
protected |
GenericDocument()
Creates a new uninitialized document. |
|
GenericDocument(DocumentType dt,
DOMImplementation impl)
Creates a new uninitialized document. |
Method Summary | |
Attr |
createAttribute(java.lang.String name)
DOM: Implements Document.createAttribute(String) . |
Attr |
createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
DOM: Implements Document.createAttributeNS(String,String) . |
CDATASection |
createCDATASection(java.lang.String data)
DOM: Implements Document.createCDATASection(String) . |
Comment |
createComment(java.lang.String data)
DOM: Implements Document.createComment(String) . |
DocumentFragment |
createDocumentFragment()
DOM: Implements Document.createDocumentFragment() . |
Element |
createElement(java.lang.String tagName)
DOM: Implements Document.createElement(String) . |
Element |
createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
DOM: Implements Document.createElementNS(String,String) . |
EntityReference |
createEntityReference(java.lang.String name)
DOM: Implements Document.createEntityReference(String) . |
ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.lang.String data)
DOM: Implements Document.createProcessingInstruction(String,String) . |
Text |
createTextNode(java.lang.String data)
DOM: Implements Document.createTextNode(String) . |
protected static Element |
getById(java.lang.String id,
Node node)
An auxiliary method used by getElementById. |
Element |
getElementById(java.lang.String elementId)
DOM: Implements Document.getElementById(String) . |
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. |
Methods inherited from class org.apache.batik.dom.AbstractDocument |
checkChildType, cloneNode, copyInto, createEvent, createNodeIterator, createTreeWalker, deepCopyInto, deepExport, detachNodeIterator, export, formatMessage, getCurrentDocument, getDoctype, getDocumentElement, getElementsByTagName, getElementsByTagNameNS, getEventsEnabled, getImplementation, getLocale, getNodeName, getNodeType, importNode, nodeToBeRemoved, putElementsByTagName, putElementsByTagNameNS, setDoctype, setEventsEnabled, setLocale |
Methods inherited from class org.apache.batik.dom.AbstractParentNode |
appendChild, checkAndRemove, deepExport, fireDOMNodeInsertedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedEvent, fireDOMNodeRemovedFromDocumentEvent, fireDOMSubtreeModifiedEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, hasChildNodes, insertBefore, nodeAdded, normalize, removeChild, replaceChild |
Methods inherited from class org.apache.batik.dom.AbstractNode |
addEventListener, createDOMException, dispatchEvent, export, fireDOMCharacterDataModifiedEvent, getAttributes, getEventSupport, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getParentNodeEventTarget, getPrefix, getPreviousSibling, hasAttributes, isSupported, removeEventListener, setNextSibling, setNodeName, setNodeValue, setOwnerDocument, setParentNode, setPrefix, setPreviousSibling, setSpecified |
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 |
getElementsByTagName, getElementsByTagNameNS |
Methods inherited from interface org.w3c.dom.Node |
appendChild, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Field Detail |
protected boolean readonly
Constructor Detail |
protected GenericDocument()
public GenericDocument(DocumentType dt, DOMImplementation impl)
Method Detail |
public boolean isReadonly()
public void setReadonly(boolean v)
public Element createElement(java.lang.String tagName) throws DOMException
Document.createElement(String)
.
DOMException
public DocumentFragment createDocumentFragment()
Document.createDocumentFragment()
.
public Text createTextNode(java.lang.String data)
Document.createTextNode(String)
.
public Comment createComment(java.lang.String data)
Document.createComment(String)
.
public CDATASection createCDATASection(java.lang.String data) throws DOMException
Document.createCDATASection(String)
.
DOMException
public ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data) throws DOMException
Document.createProcessingInstruction(String,String)
.
StyleSheetProcessingInstruction
if target is
"xml-stylesheet" or a GenericProcessingInstruction otherwise.
DOMException
public Element getElementById(java.lang.String elementId)
Document.getElementById(String)
.
protected static Element getById(java.lang.String id, Node node)
public Attr createAttribute(java.lang.String name) throws DOMException
Document.createAttribute(String)
.
DOMException
public EntityReference createEntityReference(java.lang.String name) throws DOMException
Document.createEntityReference(String)
.
DOMException
public Element createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws DOMException
Document.createElementNS(String,String)
.
DOMException
public Attr createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws DOMException
Document.createAttributeNS(String,String)
.
DOMException
protected Node newNode()
newNode
in class AbstractNode
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |