Methods Summary |
---|
public org.w3c.dom.Node | cloneNode(boolean deep)Clone node.
EntityImpl newentity = (EntityImpl)super.cloneNode(deep);
newentity.setReadOnly(true, deep);
return newentity;
|
public java.lang.String | getBaseURI()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.
if (needsSyncData()) {
synchronizeData();
}
return (baseURI!=null)?baseURI:((CoreDocumentImpl)getOwnerDocument()).getBaseURI();
|
public java.lang.String | getInputEncoding()An attribute specifying the encoding used for this entity at the tiome
of parsing, when it is an external parsed entity. This is
null if it an entity from the internal subset or if it
is not known..
if (needsSyncData()) {
synchronizeData();
}
return inputEncoding;
|
public java.lang.String | getNodeName()Returns the entity name
if (needsSyncData()) {
synchronizeData();
}
return name;
|
public short | getNodeType()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.
return Node.ENTITY_NODE;
|
public java.lang.String | getNotationName()Unparsed entities -- which contain non-XML data -- have a
"notation name" which tells applications how to deal with them.
Parsed entities, which are in XML format, don't need this and
set it to null.
if (needsSyncData()) {
synchronizeData();
}
return notationName;
|
public java.lang.String | getPublicId()The public identifier associated with the entity. If not specified,
this will be null.
if (needsSyncData()) {
synchronizeData();
}
return publicId;
|
public java.lang.String | getSystemId()The system identifier associated with the entity. If not specified,
this will be null.
if (needsSyncData()) {
synchronizeData();
}
return systemId;
|
public java.lang.String | getXmlEncoding()DOM Level 3 WD - experimental
the encoding of this entity, when it is an external parsed entity.
if (needsSyncData()) {
synchronizeData();
}
return encoding;
|
public java.lang.String | getXmlVersion()DOM Level 3 WD - experimental
the version number of this entity, when it is an external parsed entity.
if (needsSyncData()) {
synchronizeData();
}
return version;
|
public void | setBaseURI(java.lang.String uri)NON-DOM: set base uri
if (needsSyncData()) {
synchronizeData();
}
baseURI = uri;
|
public void | setInputEncoding(java.lang.String inputEncoding)NON-DOM, used to set the input encoding.
if (needsSyncData()) {
synchronizeData();
}
this.inputEncoding = inputEncoding;
|
public void | setNotationName(java.lang.String name)DOM Level 2: Unparsed entities -- which contain non-XML data -- have a
"notation name" which tells applications how to deal with them.
Parsed entities, which are in XML format, don't need this and
set it to null.
if (needsSyncData()) {
synchronizeData();
}
notationName = name;
|
public void | setPublicId(java.lang.String id)DOM Level 2: The public identifier associated with the entity. If not specified,
this will be null.
if (needsSyncData()) {
synchronizeData();
}
publicId = id;
|
public void | setSystemId(java.lang.String id)DOM Level 2: The system identifier associated with the entity. If not
specified, this will be null.
if (needsSyncData()) {
synchronizeData();
}
systemId = id;
|
public void | setXmlEncoding(java.lang.String value)NON-DOM
encoding - An attribute specifying, as part of the text declaration,
the encoding of this entity, when it is an external parsed entity.
This is null otherwise
if (needsSyncData()) {
synchronizeData();
}
encoding = value;
|
public void | setXmlVersion(java.lang.String value)NON-DOM
version - An attribute specifying, as part of the text declaration,
the version number of this entity, when it is an external parsed entity.
This is null otherwise
if (needsSyncData()) {
synchronizeData();
}
version = value;
|