|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | 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.svg.SVGOMDocument
This class implements SVGDocument.
| Inner classes inherited from class org.apache.batik.dom.AbstractParentNode |
AbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS |
| Field Summary | |
protected CSSEngine |
cssEngine
The CSS engine. |
protected org.w3c.dom.views.AbstractView |
defaultView
The default view. |
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.AbstractDocument |
documentEventSupport, 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 | |
void |
clearViewCSS()
Clears the view CSS. |
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[]). |
protected static org.w3c.dom.Element |
getById(java.lang.String id,
org.w3c.dom.Node node)
An auxiliary method used by getElementById. |
CSSEngine |
getCSSEngine()
Returns the CSS engine. |
org.w3c.dom.views.AbstractView |
getDefaultView()
DOM: Implements DocumentView.getDefaultView(). |
java.lang.String |
getDomain()
DOM: Implements SVGDocument.getDomain(). |
org.w3c.dom.Element |
getElementById(java.lang.String elementId)
DOM: Implements Document#getElementById(String). |
org.w3c.dom.css.CSSStyleDeclaration |
getOverrideStyle(org.w3c.dom.Element elt,
java.lang.String pseudoElt)
DOM: Implements DocumentCSS.getOverrideStyle(Element,String). |
java.lang.String |
getReferrer()
DOM: Implements SVGDocument.getReferrer(). |
SVGSVGElement |
getRootElement()
DOM: Implements SVGDocument.getRootElement(). |
org.w3c.dom.stylesheets.StyleSheetList |
getStyleSheets()
DOM: Implements DocumentStyle.getStyleSheets(). |
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 |
isReadonly()
Tests whether this node is readonly. |
protected org.w3c.dom.Node |
newNode()
Returns a new uninitialized instance of this object's class. |
void |
setCSSEngine(CSSEngine ctx)
Sets the CSS engine. |
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.AbstractDocument |
checkChildType, cloneNode, createEvent, createNodeIterator, createTreeWalker, deepExport, detachNodeIterator, export, getCurrentDocument, getDoctype, getDocumentElement, getElementsByTagName, getElementsByTagNameNS, getEventsEnabled, getImplementation, getLocale, getNodeName, getNodeType, importNode, nodeToBeRemoved, putElementsByTagName, putElementsByTagNameNS, setDoctype, setEventsEnabled |
| 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, 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
protected transient org.w3c.dom.views.AbstractView defaultView
protected transient CSSEngine cssEngine
| Constructor Detail |
protected SVGOMDocument()
public SVGOMDocument(org.w3c.dom.DocumentType dt,
org.w3c.dom.DOMImplementation impl)
| Method Detail |
public void setCSSEngine(CSSEngine ctx)
public CSSEngine getCSSEngine()
public void setLocale(java.util.Locale l)
Localizable#setLocale(Locale).setLocale in class AbstractDocumentorg.apache.batik.i18n.Localizablel - The locale to set.
public java.lang.String formatMessage(java.lang.String key,
java.lang.Object[] args)
throws java.util.MissingResourceException
Localizable#formatMessage(String,Object[]).formatMessage in class AbstractDocumentorg.apache.batik.i18n.Localizablekey - The key used to retreive the message from the resource
bundle.args - The objects that compose the message.java.util.MissingResourceException - if the key is not in the bundle.public java.lang.String getTitle()
SVGDocument.getTitle().getTitle in interface SVGDocumentpublic java.lang.String getReferrer()
SVGDocument.getReferrer().getReferrer in interface SVGDocumentpublic void setReferrer(java.lang.String s)
public java.lang.String getDomain()
SVGDocument.getDomain().getDomain in interface SVGDocumentpublic SVGSVGElement getRootElement()
SVGDocument.getRootElement().getRootElement in interface SVGDocumentpublic java.lang.String getURL()
SVGDocument.getURL()getURL in interface SVGDocumentpublic 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.Documentpublic org.w3c.dom.DocumentFragment createDocumentFragment()
Document#createDocumentFragment().createDocumentFragment in interface org.w3c.dom.Documentpublic org.w3c.dom.Text createTextNode(java.lang.String data)
Document#createTextNode(String).createTextNode in interface org.w3c.dom.Documentpublic 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
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
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
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
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
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.Documentpublic org.w3c.dom.Element getElementById(java.lang.String elementId)
Document#getElementById(String).getElementById in interface org.w3c.dom.Document
protected static org.w3c.dom.Element getById(java.lang.String id,
org.w3c.dom.Node node)
public boolean isReadonly()
public void setReadonly(boolean v)
public org.w3c.dom.stylesheets.StyleSheetList getStyleSheets()
DocumentStyle.getStyleSheets().getStyleSheets in interface org.w3c.dom.stylesheets.DocumentStylepublic org.w3c.dom.views.AbstractView getDefaultView()
DocumentView.getDefaultView().getDefaultView in interface org.w3c.dom.views.DocumentViewpublic void clearViewCSS()
public org.w3c.dom.css.CSSStyleDeclaration getOverrideStyle(org.w3c.dom.Element elt,
java.lang.String pseudoElt)
DocumentCSS.getOverrideStyle(Element,String).getOverrideStyle in interface org.w3c.dom.css.DocumentCSSprotected org.w3c.dom.Node newNode()
newNode in class AbstractNodeprotected org.w3c.dom.Node copyInto(org.w3c.dom.Node n)
copyInto in class AbstractDocumentn - a node of the type of this.protected org.w3c.dom.Node deepCopyInto(org.w3c.dom.Node n)
deepCopyInto in class AbstractDocumentn - a node of the type of this.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||