|
|||||||||||
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.AbstractStylableDocument
org.apache.batik.dom.svg.SVGOMDocument
This class implements SVGDocument
.
Nested Class Summary |
Nested classes inherited from class org.apache.batik.dom.AbstractDocument |
AbstractDocument.IdSoftRef |
Nested classes inherited from class org.apache.batik.dom.AbstractParentNode |
AbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS |
Field Summary | |
protected LocalizableSupport |
localizableSupport
The localizable support for the error messages. |
protected boolean |
readonly
Is this document immutable? |
protected java.lang.String |
referrer
The string representing the referrer. |
protected static java.lang.String |
RESOURCES
The error messages bundle class name. |
protected java.net.URL |
url
The url of the document. |
Fields inherited from class org.apache.batik.dom.AbstractStylableDocument |
cssEngine, defaultView |
Fields inherited from class org.apache.batik.dom.AbstractDocument |
documentEventSupport, elementsById, elementsByTagNames, elementsByTagNamesNS, eventsEnabled, implementation, 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 |
SVGOMDocument()
Creates a new uninitialized document. |
|
SVGOMDocument(org.w3c.dom.DocumentType dt,
org.w3c.dom.DOMImplementation impl)
Creates a new document. |
Method Summary | |
protected org.w3c.dom.Node |
copyInto(org.w3c.dom.Node n)
Copy the fields of the current node into the given node. |
org.w3c.dom.Attr |
createAttribute(java.lang.String name)
DOM: Implements Document.createAttribute(String) . |
org.w3c.dom.Attr |
createAttributeNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
DOM: Implements Document.createAttributeNS(String,String) . |
org.w3c.dom.CDATASection |
createCDATASection(java.lang.String data)
DOM: Implements Document.createCDATASection(String) |
org.w3c.dom.Comment |
createComment(java.lang.String data)
DOM: Implements Document.createComment(String) . |
org.w3c.dom.DocumentFragment |
createDocumentFragment()
DOM: Implements Document.createDocumentFragment() . |
org.w3c.dom.Element |
createElement(java.lang.String tagName)
DOM: Implements Document.createElement(String) . |
org.w3c.dom.Element |
createElementNS(java.lang.String namespaceURI,
java.lang.String qualifiedName)
DOM: Implements Document.createElementNS(String,String) . |
org.w3c.dom.EntityReference |
createEntityReference(java.lang.String name)
DOM: Implements Document.createEntityReference(String) . |
org.w3c.dom.ProcessingInstruction |
createProcessingInstruction(java.lang.String target,
java.lang.String data)
DOM: Implements Document.createProcessingInstruction(String,String) . |
org.w3c.dom.Text |
createTextNode(java.lang.String data)
DOM: Implements Document.createTextNode(String) . |
protected org.w3c.dom.Node |
deepCopyInto(org.w3c.dom.Node n)
Deeply copy the fields of the current node into the given node. |
java.lang.String |
formatMessage(java.lang.String key,
java.lang.Object[] args)
Implements Localizable.formatMessage(String,Object[]) . |
java.lang.String |
getDomain()
DOM: Implements SVGDocument.getDomain() . |
java.lang.String |
getReferrer()
DOM: Implements SVGDocument.getReferrer() . |
SVGSVGElement |
getRootElement()
DOM: Implements SVGDocument.getRootElement() . |
java.lang.String |
getTitle()
DOM: Implements SVGDocument.getTitle() . |
java.lang.String |
getURL()
DOM: Implements SVGDocument.getURL() |
java.net.URL |
getURLObject()
Returns the URI of the document. |
boolean |
isId(org.w3c.dom.Attr node)
Returns true if the given Attr node represents an 'id' for this document. |
boolean |
isReadonly()
Tests whether this node is readonly. |
protected org.w3c.dom.Node |
newNode()
Returns a new uninitialized instance of this object's class. |
void |
setLocale(java.util.Locale l)
Implements Localizable.setLocale(Locale) . |
void |
setReadonly(boolean v)
Sets this node readonly attribute. |
void |
setReferrer(java.lang.String s)
Sets the referrer string. |
void |
setURLObject(java.net.URL url)
Sets the URI of the document. |
Methods inherited from class org.apache.batik.dom.AbstractStylableDocument |
clearViewCSS, getCSSEngine, getDefaultView, getOverrideStyle, getStyleSheets, setCSSEngine |
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 |
getDoctype, getDocumentElement, getElementById, getElementsByTagName, getElementsByTagNameNS, getImplementation, importNode |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
Methods inherited from interface org.w3c.dom.events.DocumentEvent |
createEvent |
Field Detail |
protected static final java.lang.String RESOURCES
protected transient LocalizableSupport localizableSupport
protected java.lang.String referrer
protected java.net.URL url
protected transient boolean readonly
Constructor Detail |
protected SVGOMDocument()
public SVGOMDocument(org.w3c.dom.DocumentType dt, org.w3c.dom.DOMImplementation impl)
Method Detail |
public void setLocale(java.util.Locale l)
Localizable.setLocale(Locale)
.
setLocale
in interface Localizable
setLocale
in class AbstractDocument
public java.lang.String formatMessage(java.lang.String key, java.lang.Object[] args) throws java.util.MissingResourceException
Localizable.formatMessage(String,Object[])
.
formatMessage
in interface Localizable
formatMessage
in class AbstractDocument
java.util.MissingResourceException
public java.lang.String getTitle()
SVGDocument.getTitle()
.
getTitle
in interface SVGDocument
public java.lang.String getReferrer()
SVGDocument.getReferrer()
.
getReferrer
in interface SVGDocument
public void setReferrer(java.lang.String s)
public java.lang.String getDomain()
SVGDocument.getDomain()
.
getDomain
in interface SVGDocument
public SVGSVGElement getRootElement()
SVGDocument.getRootElement()
.
getRootElement
in interface SVGDocument
public java.lang.String getURL()
SVGDocument.getURL()
getURL
in interface SVGDocument
public java.net.URL getURLObject()
public void setURLObject(java.net.URL url)
public org.w3c.dom.Element createElement(java.lang.String tagName) throws org.w3c.dom.DOMException
Document.createElement(String)
.
createElement
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.DocumentFragment createDocumentFragment()
Document.createDocumentFragment()
.
createDocumentFragment
in interface org.w3c.dom.Document
public org.w3c.dom.Text createTextNode(java.lang.String data)
Document.createTextNode(String)
.
createTextNode
in interface org.w3c.dom.Document
public org.w3c.dom.Comment createComment(java.lang.String data)
Document.createComment(String)
.
createComment
in interface org.w3c.dom.Document
public org.w3c.dom.CDATASection createCDATASection(java.lang.String data) throws org.w3c.dom.DOMException
Document.createCDATASection(String)
createCDATASection
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target, java.lang.String data) throws org.w3c.dom.DOMException
Document.createProcessingInstruction(String,String)
.
createProcessingInstruction
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.Attr createAttribute(java.lang.String name) throws org.w3c.dom.DOMException
Document.createAttribute(String)
.
createAttribute
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.EntityReference createEntityReference(java.lang.String name) throws org.w3c.dom.DOMException
Document.createEntityReference(String)
.
createEntityReference
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.Attr createAttributeNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws org.w3c.dom.DOMException
Document.createAttributeNS(String,String)
.
createAttributeNS
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public org.w3c.dom.Element createElementNS(java.lang.String namespaceURI, java.lang.String qualifiedName) throws org.w3c.dom.DOMException
Document.createElementNS(String,String)
.
createElementNS
in interface org.w3c.dom.Document
org.w3c.dom.DOMException
public boolean isId(org.w3c.dom.Attr node)
isId
in class AbstractDocument
public boolean isReadonly()
isReadonly
in interface ExtendedNode
public void setReadonly(boolean v)
setReadonly
in interface ExtendedNode
protected org.w3c.dom.Node newNode()
newNode
in class AbstractNode
protected org.w3c.dom.Node copyInto(org.w3c.dom.Node n)
copyInto
in class AbstractDocument
n
- a node of the type of this.protected org.w3c.dom.Node deepCopyInto(org.w3c.dom.Node n)
deepCopyInto
in class AbstractDocument
n
- a node of the type of this.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |