Package org.eclipse.lemminx.dom
Class DTDEntityDecl
java.lang.Object
org.eclipse.lemminx.dom.DOMNode
org.eclipse.lemminx.dom.DTDDeclNode
org.eclipse.lemminx.dom.DTDEntityDecl
DOM Entity declaration <!ENTITY
-
Field Summary
Fields inherited from class org.eclipse.lemminx.dom.DTDDeclNode
declType, unrecognizedFields inherited from class org.eclipse.lemminx.dom.DOMNode
DTD_ATT_LIST_NODE, DTD_DECL_NODE, DTD_ELEMENT_DECL_NODE, DTD_ENTITY_DECL_NODE, DTD_NOTATION_DECL, NULL_VALUEFields inherited from interface org.w3c.dom.Node
ATTRIBUTE_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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKind()Returns the entity kind (PUBLIC, SYSTEM) and null otherwise.shortReturns the '%' and null otherwise.Returns the system id node and null otherwise.getValue()Returns the entity value content and null otherwise.Returns the entity value node and null otherwise.voidsetKind(int start, int end) voidsetPercent(int start, int end) voidsetPublicId(int start, int end) voidsetSystemId(int start, int end) voidsetValue(int start, int end) Methods inherited from class org.eclipse.lemminx.dom.DTDDeclNode
addNewParameter, getDeclType, getName, getNameParameter, getNodeName, getOwnerDocType, getParameterAtIndex, getParameters, getReferencedElementNameAt, getUnrecognized, isInNameParameter, setDeclType, setName, setUnrecognized, updateLastParameterEndMethods inherited from class org.eclipse.lemminx.dom.DOMNode
addChild, 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.w3c.dom.Node
appendChild, 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, setUserData
-
Constructor Details
-
DTDEntityDecl
public DTDEntityDecl(int start, int end)
-
-
Method Details
-
getPercent
Returns the '%' and null otherwise.<!ENTITY |% ...
- Returns:
- the '%' and null otherwise.
-
setPercent
public void setPercent(int start, int end) -
getValueNode
Returns the entity value node and null otherwise.<!ENTITY % entity-name |"entity-value" ...
- Returns:
- the entity value node and null otherwise.
-
getValue
Returns the entity value content and null otherwise.<!ENTITY % entity-name |"entity-value" ...
- Returns:
- the entity value content and null otherwise.
-
setValue
public void setValue(int start, int end) -
getKind
Returns the entity kind (PUBLIC, SYSTEM) and null otherwise.<!ENTITY % entity-name |PUBLIC
- Returns:
- the entity kind (PUBLIC, SYSTEM) and null otherwise.
-
setKind
public void setKind(int start, int end) -
getNodeType
public short getNodeType()- Specified by:
getNodeTypein interfaceNode- Overrides:
getNodeTypein classDTDDeclNode
-
getInputEncoding
- Specified by:
getInputEncodingin interfaceEntity
-
getNotationName
- Specified by:
getNotationNamein interfaceEntity
-
getPublicId
- Specified by:
getPublicIdin interfaceEntity
-
setPublicId
public void setPublicId(int start, int end) -
getSystemId
- Specified by:
getSystemIdin interfaceEntity
-
getSystemIdNode
Returns the system id node and null otherwise.- Returns:
- the system id node and null otherwise.
-
setSystemId
public void setSystemId(int start, int end) -
getXmlEncoding
- Specified by:
getXmlEncodingin interfaceEntity
-
getXmlVersion
- Specified by:
getXmlVersionin interfaceEntity
-