public class DTDDeclNode extends DOMNode
Modifier and Type | Field and Description |
---|---|
DTDDeclParameter |
declType |
DTDDeclParameter |
unrecognized
This class is the base for all declaration nodes for DTD's.
|
DTD_ATT_LIST_NODE, DTD_DECL_NODE, DTD_ELEMENT_DECL_NODE, DTD_ENTITY_DECL_NODE, DTD_NOTATION_DECL, NULL_VALUE
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 and Description |
---|
DTDDeclNode(int start,
int end) |
Modifier and Type | Method and Description |
---|---|
DTDDeclParameter |
addNewParameter(int start,
int end) |
String |
getDeclType() |
String |
getName() |
DTDDeclParameter |
getNameParameter() |
String |
getNodeName() |
short |
getNodeType() |
DOMDocumentType |
getOwnerDocType() |
protected DTDDeclParameter |
getParameterAtIndex(int index) |
List<DTDDeclParameter> |
getParameters() |
DTDDeclParameter |
getReferencedElementNameAt(int offset)
Returns the parameter name which references a DTD element declaration
(
|
String |
getUnrecognized() |
boolean |
isInNameParameter(int offset) |
void |
setDeclType(int start,
int end) |
void |
setName(int start,
int end) |
void |
setUnrecognized(int start,
int end) |
void |
updateLastParameterEnd(int end) |
addChild, appendChild, cloneNode, compareDocumentPosition, findAttrAt, findAttrAt, findNodeAt, findNodeBefore, findNodeOrAttrAt, 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, toString
public DTDDeclParameter unrecognized
public DTDDeclParameter declType
public String getName()
public DTDDeclParameter getNameParameter()
protected DTDDeclParameter getParameterAtIndex(int index)
public void setName(int start, int end)
public boolean isInNameParameter(int offset)
public DOMDocumentType getOwnerDocType()
public String getNodeName()
public short getNodeType()
public String getUnrecognized()
public void setUnrecognized(int start, int end)
public DTDDeclParameter addNewParameter(int start, int end)
public void updateLastParameterEnd(int end)
public List<DTDDeclParameter> getParameters()
public void setDeclType(int start, int end)
public String getDeclType()
public DTDDeclParameter getReferencedElementNameAt(int offset)
offset
- the offsetCopyright © 2022. All rights reserved.