org.apache.batik.dom
public class GenericAttrNS extends AbstractAttrNS
| Field Summary | |
|---|---|
| protected boolean | readonly
Is this attribute immutable? |
| Constructor Summary | |
|---|---|
| protected | GenericAttrNS()
Creates a new Attr object. |
| GenericAttrNS(String nsURI, String qname, AbstractDocument owner)
Creates a new Attr object. | |
| Method Summary | |
|---|---|
| boolean | isReadonly()
Tests whether this node is readonly. |
| protected Node | newNode()
Returns a new uninitialized instance of this object's class. |
| void | setReadonly(boolean v)
Sets this node readonly attribute. |
Parameters: nsURI The element namespace URI. qname The attribute qualified name for validation purposes. 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,
if the qualifiedName has a prefix that is "xml" and the
namespaceURI is different from
"http://www.w3.org/XML/1998/namespace", if the
qualifiedName has a prefix that is "xmlns" and the
namespaceURI is different from
"http://www.w3.org/2000/xmlns/", or if the qualifiedName
is "xmlns" and the namespaceURI is different from
"http://www.w3.org/2000/xmlns/".