org.apache.batik.dom
public class GenericElement extends AbstractElement
Field Summary | |
---|---|
protected String | nodeName
The node name. |
protected boolean | readonly
Is this element immutable? |
Constructor Summary | |
---|---|
protected | GenericElement()
Creates a new Element object. |
GenericElement(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 {@link 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: name The element name for validation purposes. owner The owner document.
Throws: DOMException INVALID_CHARACTER_ERR: if name contains invalid characters,
Parameters: n a node of the type of this.
Parameters: n a node of the type of this.
Returns: {@link #nodeName}