Notations are also used to formally declare the "targets" of Processing Instructions.
Note that the Notation's data is non-DOM information; the DOM only records what and where it is.
See the XML 1.0 spec, sections 4.7 and 2.6, for more info.
Level 1 of the DOM does not support editing Notation contents.
Modifier and Type | Field and Description |
---|---|
protected String | baseURI
Base URI |
protected String | name
Notation name. |
protected String | publicId
Public identifier. |
pack-priv static final long | serialVersionUID
Hides com. |
protected String | systemId
System identifier. |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public String | Returns: The absolute base URI of this node or null.Overrides com. Implements org. Returns the absolute base URI of this node or null if the implementation wasn't able to obtain an absolute URI. |
public String | getNodeName()
Implements abstract com. Implements org. Returns the notation name |
public short | getNodeType()
Implements abstract com. Implements org. A short integer indicating what type of node this is. |
public String | |
public String | |
public void | |
public void | |
public void |
baseURI | back to summary |
---|---|
protected String baseURI Base URI |
name | back to summary |
---|---|
protected String name Notation name. |
publicId | back to summary |
---|---|
protected String publicId Public identifier. |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID Hides com. Serialization version. |
systemId | back to summary |
---|---|
protected String systemId System identifier. |
NotationImpl | back to summary |
---|---|
public NotationImpl(CoreDocumentImpl ownerDoc, String name) Factory constructor. |
getBaseURI | back to summary |
---|---|
public String getBaseURI() Overrides com. Implements org. Returns the absolute base URI of this node or null if the implementation wasn't able to obtain an absolute URI. Note If the URI is malformed, a null is returned.
|
getNodeName | back to summary |
---|---|
public String getNodeName() Implements abstract com. Implements org. Returns the notation name |
getNodeType | back to summary |
---|---|
public short getNodeType() Implements abstract com. Implements org. A short integer indicating what type of node this is. The named constants for this value are defined in the org.w3c.dom.Node interface. |
getPublicId | back to summary |
---|---|
public String getPublicId() Implements org. The Public Identifier for this Notation. If no public identifier was specified, this will be null. |
getSystemId | back to summary |
---|---|
public String getSystemId() Implements org. The System Identifier for this Notation. If no system identifier was specified, this will be null. |
setBaseURI | back to summary |
---|---|
public void setBaseURI(String uri) NON-DOM: set base uri |
setPublicId | back to summary |
---|---|
public void setPublicId(String id) NON-DOM: The Public Identifier for this Notation. If no public identifier was specified, this will be null. |
setSystemId | back to summary |
---|---|
public void setSystemId(String id) NON-DOM: The System Identifier for this Notation. If no system identifier was specified, this will be null. |