|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.dom.AbstractNode
org.apache.batik.dom.AbstractParentNode
org.apache.batik.dom.AbstractDocument
org.apache.batik.dom.GenericDocument
public class GenericDocument
This class implements the Document,
DocumentEvent.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.batik.dom.AbstractDocument |
|---|
AbstractDocument.DocumentConfiguration, AbstractDocument.DocumentError, AbstractDocument.IdSoftRef, AbstractDocument.XPathExpr, AbstractDocument.XPathNodeNSResolver |
| Nested classes/interfaces inherited from class org.apache.batik.dom.AbstractParentNode |
|---|
AbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS |
| Field Summary | |
|---|---|
protected static String |
ATTR_ID
Local name for 'id' attributes. |
protected boolean |
readonly
Is this document immutable? |
| Fields inherited from class org.apache.batik.dom.AbstractDocument |
|---|
documentEventSupport, documentURI, domConfig, elementsById, elementsByTagNames, elementsByTagNamesNS, eventsEnabled, implementation, inputEncoding, localizableSupport, RESOURCES, strictErrorChecking, traversalSupport, xblManager, xmlEncoding, xmlStandalone, xmlVersion |
| 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 |
| Constructor Summary | |
|---|---|
protected |
GenericDocument()
Creates a new uninitialized document. |
|
GenericDocument(DocumentType dt,
DOMImplementation impl)
Creates a new uninitialized document. |
| 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, 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 Detail |
|---|
protected static final String ATTR_ID
protected boolean readonly
| Constructor Detail |
|---|
protected GenericDocument()
public GenericDocument(DocumentType dt,
DOMImplementation impl)
| Method Detail |
|---|
public boolean isReadonly()
public void setReadonly(boolean v)
public boolean isId(Attr node)
isId in class AbstractDocument
public Element createElement(String tagName)
throws DOMException
Document.createElement(String).
DOMExceptionpublic DocumentFragment createDocumentFragment()
Document.createDocumentFragment().
public Text createTextNode(String data)
Document.createTextNode(String).
public Comment createComment(String data)
Document.createComment(String).
public CDATASection createCDATASection(String data)
throws DOMException
Document.createCDATASection(String).
DOMException
public ProcessingInstruction createProcessingInstruction(String target,
String data)
throws DOMException
Document.createProcessingInstruction(String,String).
StyleSheetProcessingInstruction if target is
"xml-stylesheet" or a GenericProcessingInstruction otherwise.
DOMException
public Attr createAttribute(String name)
throws DOMException
Document.createAttribute(String).
DOMException
public EntityReference createEntityReference(String name)
throws DOMException
Document.createEntityReference(String).
DOMException
public Element createElementNS(String namespaceURI,
String qualifiedName)
throws DOMException
Document.createElementNS(String,String).
DOMException
public Attr createAttributeNS(String namespaceURI,
String qualifiedName)
throws DOMException
Document.createAttributeNS(String,String).
DOMExceptionprotected Node newNode()
newNode in class AbstractNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||