|
|||||||||||
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 String |
referrer
The string representing the referrer. |
protected static String |
RESOURCES
The error messages bundle class name. |
protected 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(DocumentType dt,
DOMImplementation impl)
Creates a new 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 String RESOURCES
protected transient LocalizableSupport localizableSupport
protected String referrer
protected URL url
protected transient boolean readonly
Constructor Detail |
protected SVGOMDocument()
public SVGOMDocument(DocumentType dt, DOMImplementation impl)
Method Detail |
public void setLocale(Locale l)
Localizable.setLocale(Locale)
.
setLocale
in interface Localizable
setLocale
in class AbstractDocument
public String formatMessage(String key, Object[] args) throws MissingResourceException
Localizable.formatMessage(String,Object[])
.
formatMessage
in interface Localizable
formatMessage
in class AbstractDocument
MissingResourceException
public String getTitle()
SVGDocument.getTitle()
.
getTitle
in interface SVGDocument
public String getReferrer()
SVGDocument.getReferrer()
.
getReferrer
in interface SVGDocument
public void setReferrer(String s)
public String getDomain()
SVGDocument.getDomain()
.
getDomain
in interface SVGDocument
public SVGSVGElement getRootElement()
SVGDocument.getRootElement()
.
getRootElement
in interface SVGDocument
public String getURL()
SVGDocument.getURL()
getURL
in interface SVGDocument
public URL getURLObject()
public void setURLObject(URL url)
public Element createElement(String tagName) throws DOMException
Document.createElement(String)
.
createElement
in interface Document
DOMException
public DocumentFragment createDocumentFragment()
Document.createDocumentFragment()
.
createDocumentFragment
in interface Document
public Text createTextNode(String data)
Document.createTextNode(String)
.
createTextNode
in interface Document
public Comment createComment(String data)
Document.createComment(String)
.
createComment
in interface Document
public CDATASection createCDATASection(String data) throws DOMException
Document.createCDATASection(String)
createCDATASection
in interface Document
DOMException
public ProcessingInstruction createProcessingInstruction(String target, String data) throws DOMException
Document.createProcessingInstruction(String,String)
.
createProcessingInstruction
in interface Document
DOMException
public Attr createAttribute(String name) throws DOMException
Document.createAttribute(String)
.
createAttribute
in interface Document
DOMException
public EntityReference createEntityReference(String name) throws DOMException
Document.createEntityReference(String)
.
createEntityReference
in interface Document
DOMException
public Attr createAttributeNS(String namespaceURI, String qualifiedName) throws DOMException
Document.createAttributeNS(String,String)
.
createAttributeNS
in interface Document
DOMException
public Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException
Document.createElementNS(String,String)
.
createElementNS
in interface Document
DOMException
public boolean isId(Attr node)
isId
in class AbstractDocument
public boolean isReadonly()
isReadonly
in interface ExtendedNode
public void setReadonly(boolean v)
setReadonly
in interface ExtendedNode
protected Node newNode()
newNode
in class AbstractNode
protected Node copyInto(Node n)
copyInto
in class AbstractDocument
n
- a node of the type of this.protected Node deepCopyInto(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 |