public class DTDEntityDecl extends DTDDeclNode implements Entity
https://www.w3.org/TR/REC-xml/#dt-entdecldeclType, unrecognizedDTD_ATT_LIST_NODE, DTD_DECL_NODE, DTD_ELEMENT_DECL_NODE, DTD_ENTITY_DECL_NODE, DTD_NOTATION_DECL, NULL_VALUEATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
DTDEntityDecl(int start,
int end) |
| Modifier and Type | Method and Description |
|---|---|
String |
getInputEncoding() |
String |
getKind()
Returns the entity kind (PUBLIC, SYSTEM) and null otherwise.
|
short |
getNodeType() |
String |
getNotationName() |
String |
getPercent()
Returns the '%' and null otherwise.
|
String |
getPublicId() |
String |
getSystemId() |
DTDDeclParameter |
getSystemIdNode()
Returns the system id node and null otherwise.
|
String |
getValue()
Returns the entity value content and null otherwise.
|
DTDDeclParameter |
getValueNode()
Returns the entity value node and null otherwise.
|
String |
getXmlEncoding() |
String |
getXmlVersion() |
void |
setKind(int start,
int end) |
void |
setPercent(int start,
int end) |
void |
setPublicId(int start,
int end) |
void |
setSystemId(int start,
int end) |
void |
setValue(int start,
int end) |
addNewParameter, getDeclType, getName, getNameParameter, getNodeName, getOwnerDocType, getParameterAtIndex, getParameters, getReferencedElementNameAt, getUnrecognized, isInNameParameter, setDeclType, setName, setUnrecognized, updateLastParameterEndaddChild, appendChild, cloneNode, compareDocumentPosition, findAttrAt, findAttrAt, findNodeAt, findNodeBefore, findNodeOrAttrAt, findTextAt, getAttribute, getAttributeAtIndex, getAttributeNode, getAttributeNode, getAttributeNodes, getAttributes, getBaseURI, getChild, getChildNodes, getChildren, getChildrenWithAttributeValue, getEnd, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOrphanEndElement, getOrphanEndElement, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousNonTextSibling, getPreviousSibling, getStart, getTextContent, getUserData, hasAttribute, hasAttributes, hasChildNodes, insertBefore, isAttribute, isCDATA, isCharacterData, isChildOfOwnerDocument, isClosed, isComment, isDefaultNamespace, isDoctype, isDTDAttListDecl, isDTDElementDecl, isDTDEntityDecl, isDTDNotationDecl, isElement, isEqualNode, isGenericDTDDecl, isIncluded, isIncluded, isOwnerDocument, isProcessingInstruction, isProlog, isSameNode, isSupported, isText, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setAttribute, setAttributeNode, setNodeValue, setPrefix, setTextContent, setUserData, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic String getPercent()
public void setPercent(int start,
int end)
public DTDDeclParameter getValueNode()
public String getValue()
public void setValue(int start,
int end)
public String getKind()
public void setKind(int start,
int end)
public short getNodeType()
getNodeType in interface NodegetNodeType in class DTDDeclNodepublic String getInputEncoding()
getInputEncoding in interface Entitypublic String getNotationName()
getNotationName in interface Entitypublic String getPublicId()
getPublicId in interface Entitypublic void setPublicId(int start,
int end)
public String getSystemId()
getSystemId in interface Entitypublic DTDDeclParameter getSystemIdNode()
public void setSystemId(int start,
int end)
public String getXmlEncoding()
getXmlEncoding in interface Entitypublic String getXmlVersion()
getXmlVersion in interface EntityCopyright © 2023. All rights reserved.