/** * 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 */ public void setXmlVersion(String value) { if (needsSyncData()) { synchronizeData(); } version = value; } // setVersion (String)
/** * An attribute specifying the encoding used for this entity at the tiome * of parsing, when it is an external parsed entity. This is * <code>null</code> if it an entity from the internal subset or if it * is not known.. * @since DOM Level 3 */ public String getInputEncoding(){ if (needsSyncData()) { synchronizeData(); } return inputEncoding; }
/** * DOM Level 3 WD - experimental * the version number of this entity, when it is an external parsed entity. */ public String getXmlVersion() { if (needsSyncData()) { synchronizeData(); } return version; } // getVersion():String
/** * Unparsed entities -- which contain non-XML data -- have a * "notation name" which tells applications how to deal with them. * Parsed entities, which <em>are</em> in XML format, don't need this and * set it to null. */ public String getNotationName() { if (needsSyncData()) { synchronizeData(); } return notationName; } // getNotationName():String
/** * Returns the entity name */ public String getNodeName() { if (needsSyncData()) { synchronizeData(); } return name; }
/** * The public identifier associated with the entity. If not specified, * this will be null. */ public String getPublicId() { if (needsSyncData()) { synchronizeData(); } return publicId; } // getPublicId():String
/** * The system identifier associated with the entity. If not specified, * this will be null. */ public String getSystemId() { if (needsSyncData()) { synchronizeData(); } return systemId; } // getSystemId():String
/** * 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 <em>are</em> in XML format, don't need this and * set it to null. */ public void setNotationName(String name) { if (needsSyncData()) { synchronizeData(); } notationName = name; } // setNotationName(String)
/** NON-DOM: set base uri*/ public void setBaseURI(String uri){ if (needsSyncData()) { synchronizeData(); } baseURI = uri; }
/** * DOM Level 3 WD - experimental * the encoding of this entity, when it is an external parsed entity. */ public String getXmlEncoding() { if (needsSyncData()) { synchronizeData(); } return encoding; } // getVersion():String
/** * DOM Level 2: The public identifier associated with the entity. If not specified, * this will be null. */ public void setPublicId(String id) { if (needsSyncData()) { synchronizeData(); } publicId = id; } // setPublicId(String)
/** * NON-DOM, used to set the input encoding. */ public void setInputEncoding(String inputEncoding){ if (needsSyncData()) { synchronizeData(); } this.inputEncoding = inputEncoding; }
/** * DOM Level 2: The system identifier associated with the entity. If not * specified, this will be null. */ public void setSystemId(String id) { if (needsSyncData()) { synchronizeData(); } systemId = id; } // setSystemId(String)
/** * 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 setXmlEncoding(String value) { if (needsSyncData()) { synchronizeData(); } encoding = value; } // setEncoding (String)
/** * 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. * * @return The absolute base URI of this node or null. * @since DOM Level 3 */ public String getBaseURI() { if (needsSyncData()) { synchronizeData(); } return (baseURI!=null)?baseURI:((CoreDocumentImpl)getOwnerDocument()).getBaseURI(); }