@API(type=NOT_EXTENDABLE, src=PUBLIC) public interface AuthorDocument extends AuthorParentNode
NODE_NAME_CDATA, NODE_NAME_COMMENT, NODE_NAME_DOCUMENT, NODE_NAME_PI, NODE_NAME_REFERENCE, NODE_TYPE_CDATA, NODE_TYPE_COMMENT, NODE_TYPE_DOCUMENT, NODE_TYPE_ELEMENT, NODE_TYPE_PI, NODE_TYPE_PSEUDO_DOCTYPE, NODE_TYPE_PSEUDO_ELEMENT, NODE_TYPE_REFERENCE, NODE_TYPE_TEXT
Modifier and Type | Method and Description |
---|---|
AuthorElementBaseInterface |
getElementById(java.lang.String id)
Gets the element that has the ID attribute with the specified value.
|
int |
getLength()
Get the length of the document.
|
AuthorElement |
getRootElement()
Returns the child node that is the root element of the document.
|
java.lang.String |
getSystemID()
Returns the systemID of the document.
|
getContentNodes, getParentElement
getContentIterator, getDisplayName, getEndOffset, getName, getNamespace, getNamespaceContext, getOwnerDocument, getParent, getStartOffset, getTextContent, getType, getXMLBaseURL, isDescendentOf
AuthorElement getRootElement()
null
for documents with no
children elements.java.lang.String getSystemID()
null
if not provided.int getLength()
AuthorElementBaseInterface getElementById(java.lang.String id)
id
- The ID of the searched element. Should not contain the # symbol.null
if no elements with the specified ID exists.© Copyright Syncro Soft SRL 2002 - 2020. All rights reserved.