|
||||||||||
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.AbstractParentChildNode | +--org.apache.batik.dom.AbstractElement | +--org.apache.batik.dom.svg.AbstractElement | +--org.apache.batik.dom.svg.SVGOMElement
This class implements the SVGElement
interface.
Inner classes inherited from class org.apache.batik.dom.svg.AbstractElement |
AbstractElement.ExtendedNamedNodeHashMap |
Inner classes inherited from class org.apache.batik.dom.AbstractElement |
AbstractElement.Entry, AbstractElement.NamedNodeHashMap |
Inner classes inherited from class org.apache.batik.dom.AbstractParentNode |
AbstractParentNode.ChildNodes, AbstractParentNode.ElementsByTagName, AbstractParentNode.ElementsByTagNameNS |
Field Summary | |
protected java.lang.String |
prefix
The element prefix. |
protected boolean |
readonly
Is this element immutable? |
protected SVGContext |
svgContext
The SVG context to get SVG specific informations. |
Fields inherited from class org.apache.batik.dom.svg.AbstractElement |
liveAttributeValues |
Fields inherited from class org.apache.batik.dom.AbstractElement |
attributes |
Fields inherited from class org.apache.batik.dom.AbstractParentChildNode |
nextSibling, parentNode, previousSibling |
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 |
SVGOMElement()
Creates a new Element object. |
protected |
SVGOMElement(java.lang.String prefix,
AbstractDocument owner)
Creates a new Element object. |
Method Summary | |
protected Node |
copyInto(Node n)
Copy the fields of the current node into the given node. |
SVGException |
createSVGException(short type,
java.lang.String key,
java.lang.Object[] args)
Creates an SVGException with the appropriate error message. |
protected Node |
deepCopyInto(Node n)
Deeply copy the fields of the current node into the given node. |
protected Node |
deepExport(Node n,
AbstractDocument d)
Deeply exports this node to the given document. |
protected Node |
export(Node n,
AbstractDocument d)
Exports this node to the given document. |
protected SVGAnimatedEnumeration |
getAnimatedEnumerationAttribute(java.lang.String ns,
java.lang.String ln,
java.lang.String[] val,
short def)
Manages the query of an SVGAnimatedEnumeration. |
protected SVGAnimatedInteger |
getAnimatedIntegerAttribute(java.lang.String ns,
java.lang.String ln,
int val)
Manages the query of an SVGAnimatedInteger. |
protected SVGAnimatedLength |
getAnimatedLengthAttribute(java.lang.String ns,
java.lang.String ln,
java.lang.String val,
short dir)
Manages the query of an SVGAnimatedNumber. |
protected SVGAnimatedNumber |
getAnimatedNumberAttribute(java.lang.String ns,
java.lang.String ln,
float val)
Manages the query of an SVGAnimatedNumber. |
protected SVGAnimatedString |
getAnimatedStringAttribute(java.lang.String ns,
java.lang.String ln)
Manages the query of an SVGAnimatedString. |
java.lang.String |
getId()
DOM: Implements SVGElement.getId() . |
java.lang.String |
getNamespaceURI()
DOM: Implements Node.getNamespaceURI() . |
java.lang.String |
getNodeName()
DOM: Implements Node.getNodeName() . |
SVGSVGElement |
getOwnerSVGElement()
DOM: Implements SVGElement.getOwnerSVGElement() . |
SVGContext |
getSVGContext()
Returns the SVG context used to get SVG specific informations. |
SVGElement |
getViewportElement()
DOM: Implements SVGElement.getViewportElement() . |
java.lang.String |
getXMLbase()
DOM: Implements SVGElement.getXMLbase() . |
boolean |
isReadonly()
Tests whether this node is readonly. |
void |
setId(java.lang.String id)
DOM: Implements SVGElement.setId(String) . |
void |
setPrefix(java.lang.String prefix)
DOM: Implements Node.setPrefix(String) . |
void |
setReadonly(boolean v)
Sets this node readonly attribute. |
void |
setSVGContext(SVGContext ctx)
Sets the SVG context to use to get SVG specific informations. |
void |
setXMLbase(java.lang.String xmlbase)
DOM: Implements SVGElement.setXMLbase(String) . |
Methods inherited from class org.apache.batik.dom.svg.AbstractElement |
attrAdded, attrModified, attrRemoved, createAttributes, getAttributeInitializer, getLiveAttributeValue, getParentNodeEventTarget, initializeAttributes, putLiveAttributeValue, resetAttribute, setUnspecifiedAttribute |
Methods inherited from class org.apache.batik.dom.AbstractElement |
checkChildType, fireDOMAttrModifiedEvent, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getNodeType, getTagName, hasAttribute, hasAttributeNS, hasAttributes, nodeAdded, nodeToBeRemoved, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
Methods inherited from class org.apache.batik.dom.AbstractParentChildNode |
getNextSibling, getParentNode, getPreviousSibling, setNextSibling, setParentNode, setPreviousSibling |
Methods inherited from class org.apache.batik.dom.AbstractParentNode |
appendChild, checkAndRemove, fireDOMNodeInsertedEvent, fireDOMNodeInsertedIntoDocumentEvent, fireDOMNodeRemovedEvent, fireDOMNodeRemovedFromDocumentEvent, fireDOMSubtreeModifiedEvent, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFirstChild, getLastChild, hasChildNodes, insertBefore, removeChild, replaceChild |
Methods inherited from class org.apache.batik.dom.AbstractNode |
addEventListener, cloneNode, createDOMException, dispatchEvent, fireDOMCharacterDataModifiedEvent, getCurrentDocument, getEventSupport, getLocalName, getNodeValue, getOwnerDocument, getPrefix, isSupported, newNode, removeEventListener, setNodeName, setNodeValue, setOwnerDocument, 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.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue |
Methods inherited from interface org.apache.batik.dom.events.NodeEventTarget |
getEventSupport |
Methods inherited from interface org.w3c.dom.events.EventTarget |
addEventListener, dispatchEvent, removeEventListener |
Field Detail |
protected transient boolean readonly
protected java.lang.String prefix
protected transient SVGContext svgContext
Constructor Detail |
protected SVGOMElement()
protected SVGOMElement(java.lang.String prefix, AbstractDocument owner)
prefix
- The namespace prefix.owner
- The owner document.Method Detail |
public java.lang.String getId()
SVGElement.getId()
.getId
in interface SVGElement
public void setId(java.lang.String id)
SVGElement.setId(String)
.setId
in interface SVGElement
public java.lang.String getXMLbase()
SVGElement.getXMLbase()
.getXMLbase
in interface SVGElement
public void setXMLbase(java.lang.String xmlbase) throws DOMException
SVGElement.setXMLbase(String)
.setXMLbase
in interface SVGElement
public SVGSVGElement getOwnerSVGElement()
SVGElement.getOwnerSVGElement()
.getOwnerSVGElement
in interface SVGElement
public SVGElement getViewportElement()
SVGElement.getViewportElement()
.getViewportElement
in interface SVGElement
public java.lang.String getNodeName()
Node.getNodeName()
.getNodeName
in interface Node
public java.lang.String getNamespaceURI()
Node.getNamespaceURI()
.getNamespaceURI
in interface Node
getNamespaceURI
in class AbstractNode
org.apache.batik.dom.AbstractNode
public void setPrefix(java.lang.String prefix) throws DOMException
Node.setPrefix(String)
.setPrefix
in interface Node
setPrefix
in class AbstractNode
public void setSVGContext(SVGContext ctx)
ctx
- the SVG contextpublic SVGContext getSVGContext()
public SVGException createSVGException(short type, java.lang.String key, java.lang.Object[] args)
public boolean isReadonly()
public void setReadonly(boolean v)
protected SVGAnimatedString getAnimatedStringAttribute(java.lang.String ns, java.lang.String ln)
ns
- The namespace of the attribute.ln
- The local name of the attribute.protected SVGAnimatedNumber getAnimatedNumberAttribute(java.lang.String ns, java.lang.String ln, float val)
ns
- The namespace of the attribute.ln
- The local name of the attribute.val
- The value if the attribute is not specified.protected SVGAnimatedInteger getAnimatedIntegerAttribute(java.lang.String ns, java.lang.String ln, int val)
ns
- The namespace of the attribute.ln
- The local name of the attribute.val
- The value if the attribute is not specified.protected SVGAnimatedEnumeration getAnimatedEnumerationAttribute(java.lang.String ns, java.lang.String ln, java.lang.String[] val, short def)
ns
- The namespace of the attribute.ln
- The local name of the attribute.val
- The values in the enumeration.def
- The value if the attribute is not specified.protected SVGAnimatedLength getAnimatedLengthAttribute(java.lang.String ns, java.lang.String ln, java.lang.String val, short dir)
ns
- The namespace of the attribute.ln
- The local name of the attribute.val
- The value if the attribute is not specified.dir
- The length direction.protected Node export(Node n, AbstractDocument d)
export
in class AbstractElement
org.apache.batik.dom.AbstractElement
n
- The clone node.d
- The destination document.protected Node deepExport(Node n, AbstractDocument d)
deepExport
in class AbstractElement
org.apache.batik.dom.AbstractElement
n
- The clone node.d
- The destination document.protected Node copyInto(Node n)
copyInto
in class AbstractElement
n
- a node of the type of this.protected Node deepCopyInto(Node n)
deepCopyInto
in class AbstractElement
n
- a node of the type of this.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |