| Method from com.sun.org.apache.xerces.internal.dom.EntityImpl Detail: |
public Node cloneNode(boolean deep) {
EntityImpl newentity = (EntityImpl)super.cloneNode(deep);
newentity.setReadOnly(true, deep);
return newentity;
}
|
public String getBaseURI() {
if (needsSyncData()) {
synchronizeData();
}
return (baseURI!=null)?baseURI:((CoreDocumentImpl)getOwnerDocument()).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. |
public String getInputEncoding() {
if (needsSyncData()) {
synchronizeData();
}
return inputEncoding;
}
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.. |
public String getNodeName() {
if (needsSyncData()) {
synchronizeData();
}
return name;
}
|
public short getNodeType() {
return Node.ENTITY_NODE;
}
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. |
public String getNotationName() {
if (needsSyncData()) {
synchronizeData();
}
return notationName;
}
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. |
public String getPublicId() {
if (needsSyncData()) {
synchronizeData();
}
return publicId;
}
The public identifier associated with the entity. If not specified,
this will be null. |
public String getSystemId() {
if (needsSyncData()) {
synchronizeData();
}
return systemId;
}
The system identifier associated with the entity. If not specified,
this will be null. |
public String getXmlEncoding() {
if (needsSyncData()) {
synchronizeData();
}
return encoding;
}
DOM Level 3 WD - experimental
the encoding of this entity, when it is an external parsed entity. |
public String getXmlVersion() {
if (needsSyncData()) {
synchronizeData();
}
return version;
}
DOM Level 3 WD - experimental
the version number of this entity, when it is an external parsed entity. |
public void setBaseURI(String uri) {
if (needsSyncData()) {
synchronizeData();
}
baseURI = uri;
}
|
public void setInputEncoding(String inputEncoding) {
if (needsSyncData()) {
synchronizeData();
}
this.inputEncoding = inputEncoding;
}
NON-DOM, used to set the input encoding. |
public void setNodeValue(String x) throws DOMException {
if (ownerDocument.errorChecking && isReadOnly()) {
String msg = DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN, "NO_MODIFICATION_ALLOWED_ERR", null);
throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR, msg);
}
}
|
public void setNotationName(String name) {
if (needsSyncData()) {
synchronizeData();
}
notationName = 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. |
public void setPrefix(String prefix) throws DOMException {
if (ownerDocument.errorChecking && isReadOnly()) {
throw new DOMException(DOMException.NO_MODIFICATION_ALLOWED_ERR,
DOMMessageFormatter.formatMessage(DOMMessageFormatter.DOM_DOMAIN,
"NO_MODIFICATION_ALLOWED_ERR", null));
}
}
The namespace prefix of this node |
public void setPublicId(String id) {
if (needsSyncData()) {
synchronizeData();
}
publicId = id;
}
DOM Level 2: The public identifier associated with the entity. If not specified,
this will be null. |
public void setSystemId(String id) {
if (needsSyncData()) {
synchronizeData();
}
systemId = id;
}
DOM Level 2: The system identifier associated with the entity. If not
specified, this will be null. |
public void setXmlEncoding(String value) {
if (needsSyncData()) {
synchronizeData();
}
encoding = 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 |
public void setXmlVersion(String value) {
if (needsSyncData()) {
synchronizeData();
}
version = 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 |