Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
G
- get(int) - Method in class nu.xom.Elements
-
Returns the indexth element in the list.
- get(int) - Method in class nu.xom.Nodes
-
Returns the indexth node in the list.
- getAttribute(int) - Method in class nu.xom.Element
-
Selects an attribute by index.
- getAttribute(String) - Method in class nu.xom.Element
-
Returns the attribute with the specified name in no namespace, or null if this element does not have an attribute with that name in no namespace.
- getAttribute(String, String) - Method in class nu.xom.Element
-
Returns the attribute with the specified name and namespace URI, or null if this element does not have an attribute with that name in that namespace.
- getAttributeCount() - Method in class nu.xom.Element
-
Returns the number of attributes of this
Element
, not counting namespace declarations. - getAttributeValue(String) - Method in class nu.xom.Element
-
Returns the value of the attribute with the specified name in no namespace, or null if this element does not have an attribute with that name.
- getAttributeValue(String, String) - Method in class nu.xom.Element
-
Returns the value of the attribute with the specified name and namespace URI, or null if this element does not have such an attribute.
- getBaseURI() - Method in class nu.xom.Document
-
Returns the absolute URI from which this document was loaded.
- getBaseURI() - Method in class nu.xom.Element
-
Returns the absolute base URI against which relative URIs in this element should be resolved.
- getBaseURI() - Method in class nu.xom.Node
-
Returns the base URI of this node as specified by XML Base, or the empty string if this is not known.
- getCause() - Method in exception class nu.xom.canonical.CanonicalizationException
-
Return the original cause that led to this exception, or null if there was no original exception.
- getCause() - Method in exception class nu.xom.ParsingException
-
Returns the underlying exception that caused this exception.
- getCause() - Method in exception class nu.xom.xinclude.XIncludeException
-
When an
IOException
,MalformedURLException
, or other generic exception is thrown while processing an XML document for XIncludes, it is customarily replaced by some form ofXIncludeException
. - getCause() - Method in exception class nu.xom.XMLException
-
Return the original cause that led to this exception, or null if there was no original exception.
- getCause() - Method in exception class nu.xom.XPathException
-
Return the original cause that led to this exception, or null if there was no original exception.
- getCause() - Method in exception class nu.xom.xslt.XSLException
-
Returns the underlying exception that caused this exception.
- getCharacter() - Method in exception class nu.xom.UnavailableCharacterException
-
Returns the character which could not be written in the current encoding.
- getChild(int) - Method in class nu.xom.Attribute
-
Throws
IndexOutOfBoundsException
because attributes do not have children. - getChild(int) - Method in class nu.xom.Comment
-
Throws
IndexOutOfBoundsException
because comments do not have children. - getChild(int) - Method in class nu.xom.DocType
-
Throws
IndexOutOfBoundsException
because document type declarations do not have children. - getChild(int) - Method in class nu.xom.Namespace
-
Throws
IndexOutOfBoundsException
because namespaces do not have children. - getChild(int) - Method in class nu.xom.Node
-
Returns the child of this node at the specified position.
- getChild(int) - Method in class nu.xom.ParentNode
-
Returns the child of this node at the specified position.
- getChild(int) - Method in class nu.xom.ProcessingInstruction
-
Throws
IndexOutOfBoundsException
because processing instructions do not have children. - getChild(int) - Method in class nu.xom.Text
-
Throws
IndexOutOfBoundsException
because texts do not have children. - getChildCount() - Method in class nu.xom.Attribute
-
Returns 0 because attributes do not have children.
- getChildCount() - Method in class nu.xom.Comment
-
Returns 0 because comments do not have children.
- getChildCount() - Method in class nu.xom.DocType
-
Returns 0 because document type declarations do not have children.
- getChildCount() - Method in class nu.xom.Namespace
-
Returns 0 because namespaces do not have children.
- getChildCount() - Method in class nu.xom.Node
-
Returns the number of children of this node.
- getChildCount() - Method in class nu.xom.ParentNode
-
Returns the number of child nodes this node contains.
- getChildCount() - Method in class nu.xom.ProcessingInstruction
-
Returns 0 because processing instructions do not have children.
- getChildCount() - Method in class nu.xom.Text
-
Returns 0 because texts do not have children.
- getChildElements() - Method in class nu.xom.Element
-
Returns a list of all the child elements of this element in document order.
- getChildElements(String) - Method in class nu.xom.Element
-
Returns a list of the child elements of this element with the specified name in no namespace.
- getChildElements(String, String) - Method in class nu.xom.Element
-
Returns a list of the immediate child elements of this element with the specified local name and namespace URI.
- getColumnNumber() - Method in exception class nu.xom.ParsingException
-
Returns the approximate column number of the construct that caused this exception.
- getColumnNumber() - Method in class nu.xom.Serializer
-
Returns the current column number of the output stream.
- getColumnNumber(int) - Method in exception class nu.xom.ValidityException
-
Returns the column number of the nth validity error.
- getContentHandler() - Method in class nu.xom.converters.SAXConverter
-
Returns the content handler.
- getData() - Method in exception class nu.xom.IllegalDataException
-
Returns a string containing the actual illegal text that caused this exception.
- getDocType() - Method in class nu.xom.Document
-
Returns this document's document type declaration, or null if it doesn't have one.
- getDocument() - Method in class nu.xom.Node
-
Returns the document that contains this node, or null if this node is not currently part of a document.
- getDocument() - Method in exception class nu.xom.ValidityException
-
Returns a
Document
object for the document that caused this exception. - getEncoding() - Method in class nu.xom.Serializer
-
Returns the name of the character encoding used by this serializer.
- getEncoding() - Method in exception class nu.xom.UnavailableCharacterException
-
Returns the encoding that does not support the character.
- getErrorCount() - Method in exception class nu.xom.ValidityException
-
Returns the number of validity errors the parser detected in the document.
- getFirstChildElement(String) - Method in class nu.xom.Element
-
Returns the first child element with the specified name in no namespace.
- getFirstChildElement(String, String) - Method in class nu.xom.Element
-
Returns the first child element with the specified local name and namespace URI.
- getIndent() - Method in class nu.xom.Serializer
-
Returns the number of spaces this serializer indents.
- getInternalDTDSubset() - Method in class nu.xom.DocType
-
Returns the complete internal DTD subset.
- getLexicalHandler() - Method in class nu.xom.converters.SAXConverter
-
Returns the
LexicalHandler
for this converter. - getLineNumber() - Method in exception class nu.xom.ParsingException
-
Returns the approximate row number of the construct that caused this exception.
- getLineNumber(int) - Method in exception class nu.xom.ValidityException
-
Returns the line number of the nth validity error.
- getLineSeparator() - Method in class nu.xom.Serializer
-
Returns the string used as a line separator.
- getLocalName() - Method in class nu.xom.Attribute
-
Returns the local name of this attribute, not including the prefix.
- getLocalName() - Method in class nu.xom.Element
-
Returns the local name of this element, not including the namespace prefix or colon.
- getMaxLength() - Method in class nu.xom.Serializer
-
Returns the preferred maximum line length.
- getMessage() - Method in exception class nu.xom.XPathTypeException
- getName() - Method in class nu.xom.Attribute.Type
-
Returns the string name of this type as might be used in a DTD; for example, "ID", "CDATA", etc.
- getNamespaceDeclarationCount() - Method in class nu.xom.Element
-
Returns the number of namespace declarations on this element.
- getNamespacePrefix() - Method in class nu.xom.Attribute
-
Returns the prefix of this attribute, or the empty string if this attribute is not in a namespace.
- getNamespacePrefix() - Method in class nu.xom.Element
-
Returns the prefix of this element, or the empty string if this element does not have a prefix.
- getNamespacePrefix(int) - Method in class nu.xom.Element
-
Returns the indexth namespace prefix declared on this element.
- getNamespaceURI() - Method in class nu.xom.Attribute
-
Returns the namespace URI of this attribute, or the empty string if this attribute is not in a namespace.
- getNamespaceURI() - Method in class nu.xom.Element
-
Returns the namespace URI of this element, or the empty string if this element is not in a namespace.
- getNamespaceURI(String) - Method in class nu.xom.Element
-
Returns the namespace URI mapped to the specified prefix within this element.
- getNodeFactory() - Method in class nu.xom.Builder
-
Returns this builder's
NodeFactory
. - getParent() - Method in class nu.xom.Node
-
Returns the node that contains this node, or null if this node does not have a parent.
- getPrefix() - Method in class nu.xom.Namespace
-
Returns the namespace prefix, or the empty string if this node is the default namespace.
- getPreserveBaseURI() - Method in class nu.xom.Serializer
-
Returns true if this serializer preserves the original base URIs by inserting extra
xml:base
attributes. - getPublicID() - Method in class nu.xom.DocType
-
Returns the public ID of the external DTD subset.
- getQualifiedName() - Method in class nu.xom.Attribute
-
Returns the qualified name of this attribute, including the prefix if this attribute is in a namespace.
- getQualifiedName() - Method in class nu.xom.Element
-
Returns the complete name of this element, including the namespace prefix if this element has one.
- getReturnValue() - Method in exception class nu.xom.XPathTypeException
-
This method usually returns the actual object returned by the query.
- getRootElement() - Method in class nu.xom.Document
-
Returns this document's root element.
- getRootElementName() - Method in class nu.xom.DocType
-
Returns the name the document type declaration specifies for the root element.
- getSystemID() - Method in class nu.xom.DocType
-
Returns the system ID of the external DTD subset.
- getTarget() - Method in class nu.xom.ProcessingInstruction
-
Returns the processing instruction target.
- getType() - Method in class nu.xom.Attribute
-
Returns the DTD type of this attribute.
- getUnicodeNormalizationFormC() - Method in class nu.xom.Serializer
-
Indicates whether serialization will perform Unicode normalization on all data using normalization form C (NFC).
- getURI() - Method in exception class nu.xom.ParsingException
-
Returns the system ID (generally a URL) of the document that caused this exception.
- getURI() - Method in exception class nu.xom.xinclude.XIncludeException
-
Returns the URI of the document that caused this exception.
- getValidityError(int) - Method in exception class nu.xom.ValidityException
-
Returns a message indicating a specific validity problem in the input document as detected by the parser.
- getValue() - Method in class nu.xom.Attribute
-
Returns the attribute value.
- getValue() - Method in class nu.xom.Comment
-
Returns the value of this comment as defined by XPath 1.0.
- getValue() - Method in class nu.xom.DocType
-
Returns the empty string.
- getValue() - Method in class nu.xom.Document
-
Returns the value of the document as defined by XPath 1.0.
- getValue() - Method in class nu.xom.Element
-
Returns the value of the element as defined by XPath 1.0.
- getValue() - Method in class nu.xom.Namespace
-
Returns the namespace URI.
- getValue() - Method in class nu.xom.Node
-
Returns the XPath 1.0 string-value of this node.
- getValue() - Method in class nu.xom.ProcessingInstruction
-
Returns the processing instruction data.
- getValue() - Method in class nu.xom.Text
-
Returns the XPath 1.0 string-value of this
Text
node. - getXPath() - Method in exception class nu.xom.XPathException
-
Returns the specific XPath expression being evaluated when this excepiton was thrown.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form