org.apache.batik.dom
public class GenericElementNS extends AbstractElementNS
Field Summary | |
---|---|
protected String | nodeName
The node name. |
protected boolean | readonly
Is this element immutable? |
Constructor Summary | |
---|---|
protected | GenericElementNS()
Creates a new Element object. |
GenericElementNS(String nsURI, String name, 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. |
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. |
String | getNodeName()
DOM: Implements org.w3c.dom.Node#getNodeName(). |
boolean | isReadonly()
Tests whether this node is readonly. |
protected Node | newNode()
Returns a new uninitialized instance of this object's class. |
void | setNodeName(String v)
Sets the name of this node. |
void | setReadonly(boolean v)
Sets this node readonly attribute. |
Parameters: nsURI The element namespace URI. name The element qualified name. owner The owner document.
Throws: DOMException
INVALID_CHARACTER_ERR: Raised if the specified qualified name
contains an illegal character.
NAMESPACE_ERR: Raised if the qualifiedName
is
malformed, if the qualifiedName
has a prefix and the
namespaceURI
is null
or an empty string,
or if the qualifiedName
has a prefix that is "xml" and
the namespaceURI
is different from
"http://www.w3.org/XML/1998/namespace" .
Parameters: n a node of the type of this.
Parameters: n a node of the type of this.
Returns: nodeName