A C D E F G H I L M N O P R S T U V W X

A

addAttribute(String, String, String) - Method in class org.xml.sax.helpers.AttributeListImpl
Add an attribute to an attribute list.
addMapping(Dictionary, ClassLoader) - Method in class com.sun.xml.tree.SimpleElementFactory
Records a default element name to namespace mapping, for use by namespace-unaware DOM construction and when a specific namespace mapping is not available.
addMapping(String, Dictionary, ClassLoader) - Method in class com.sun.xml.tree.SimpleElementFactory
Records a namespace-specific mapping between element names and classes.
appendChild(Node) - Method in interface org.w3c.dom.Node
Adds the node newChild to the end of the list of children of this node.
appendChild(Node) - Method in class com.sun.xml.tree.XmlDocument
DOM: Appends the specified child node to the document.
appendData(String) - Method in interface org.w3c.dom.CharacterData
Append the string to the end of the character data of the node.
Attr - interface org.w3c.dom.Attr.
The Attr interface represents an attribute in an Element object.
ATTRIBUTE_NODE - Static variable in interface org.w3c.dom.Node
The node is an Attr.
AttributeList - interface org.xml.sax.AttributeList.
Interface for an element's attribute specifications.
AttributeListEx - interface com.sun.xml.parser.AttributeListEx.
This interface extends the SAX AttributeList interface to expose information needed to support DOM Level 1 features used in document editing, and detection of ID attributes which are declared for an element.
AttributeListImpl - class org.xml.sax.helpers.AttributeListImpl.
Convenience implementation for AttributeList.
AttributeListImpl() - Constructor for class org.xml.sax.helpers.AttributeListImpl
Create an empty attribute list.
AttributeListImpl(AttributeList) - Constructor for class org.xml.sax.helpers.AttributeListImpl
Construct a persistent copy of an existing attribute list.

C

CDATA_SECTION_NODE - Static variable in interface org.w3c.dom.Node
The node is a CDATASection.
CDATASection - interface org.w3c.dom.CDATASection.
CDATA sections are used to escape blocks of text containing characters that would otherwise be regarded as markup.
changeNodeOwner(Node) - Method in class com.sun.xml.tree.XmlDocument
Changes the "owner document" of the given node, and all child and associated attribute nodes, to be this document.
CharacterData - interface org.w3c.dom.CharacterData.
The CharacterData interface extends Node with a set of attributes and methods for accessing character data in the DOM.
characters(char[], int, int) - Method in class org.xml.sax.HandlerBase
Receive notification of character data inside an element.
characters(char[], int, int) - Method in interface org.xml.sax.DocumentHandler
Receive notification of character data.
characters(char[], int, int) - Method in class com.sun.xml.tree.XmlDocumentBuilder
SAX DocumentHandler callback, not for general application use.
chooseLocale(String[]) - Method in class com.sun.xml.parser.Parser
Chooses a client locale to use for diagnostics, using the first language specified in the list that is supported by this parser.
chooseLocale(String[]) - Method in class com.sun.xml.util.MessageCatalog
Chooses a client locale to use, using the first language specified in the list that is supported by this catalog.
chooseLocale(String[]) - Method in class com.sun.xml.tree.XmlDocument
Chooses a client locale to use for diagnostics, using the first language specified in the list that is supported by this DOM implementation.
chooseLocale(String[]) - Method in class com.sun.xml.tree.XmlDocumentBuilder
Chooses a client locale to use for diagnostics, using the first language specified in the list that is supported by this builder.
chooseLocale(String[]) - Method in interface com.sun.xml.tree.DocumentEx
Chooses a client locale to use for diagnostics, using the first language specified in the list that is supported by this DOM implementation.
clear() - Method in class org.xml.sax.helpers.AttributeListImpl
Clear the attribute list.
cloneNode(boolean) - Method in interface org.w3c.dom.Node
Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes.
cloneNode(boolean) - Method in class com.sun.xml.tree.ElementNode
Creates a new unparented node whose attributes are the same as this node's attributes; if deep is true, the children of this node are cloned as children of the new node.
cloneNode(boolean) - Method in class com.sun.xml.tree.XmlDocument
DOM: Returns a copy of this document.
code - Variable in class org.w3c.dom.DOMException
Indicates the type of error that the DOM implementation is reporting.
com.sun.xml.parser - package com.sun.xml.parser
This package holds two fast "XML Processors" as defined in the XML 1.0 specification; these are parsers (validating and non-validating) with some supporting classes and interfaces.
com.sun.xml.tree - package com.sun.xml.tree
This package supports in-memory XML documents in the form of a parse tree compliant with the W3C DOM Level 1 Core Recommendation, with extensions including support for XML Namespaces as defined by the current XML proposed recommendation.
com.sun.xml.util - package com.sun.xml.util
This package contains utility classes that are useful when building XML-aware software frameworks.
Comment - interface org.w3c.dom.Comment.
This represents the content of a comment, i.e., all the characters between the starting '<!--' and ending '-->'.
COMMENT_NODE - Static variable in interface org.w3c.dom.Node
The node is a Comment.
comment(String) - Method in interface com.sun.xml.parser.LexicalEventListener
Receive notification that a comment has been read.
comment(String) - Method in class com.sun.xml.tree.XmlDocumentBuilder
LexicalEventListener callback, not for general application use.
createAttribute(String) - Method in interface org.w3c.dom.Document
Creates an Attr of the given name.
createAttribute(String) - Method in class com.sun.xml.tree.XmlDocument
DOM: Returns a valueless attribute node with no default value.
createCDATASection(String) - Method in interface org.w3c.dom.Document
Creates a CDATASection node whose value is the specified string.
createCDATASection(String) - Method in class com.sun.xml.tree.XmlDocument
DOM: Returns a CDATA section initialized with the given text.
createComment(String) - Method in interface org.w3c.dom.Document
Creates a Comment node given the specified string.
createComment(String) - Method in class com.sun.xml.tree.XmlDocument
DOM: creates a comment node.
createDocument() - Method in class com.sun.xml.tree.XmlDocumentBuilder
This is a factory method, used to create an XmlDocument.
createDocumentFragment() - Method in interface org.w3c.dom.Document
Creates an empty DocumentFragment object.
createDocumentFragment() - Method in class com.sun.xml.tree.XmlDocument
DOM: Creates a new document fragment.
createElement(String) - Method in interface org.w3c.dom.Document
Creates an element of the type specified.
createElement(String) - Method in class com.sun.xml.tree.XmlDocument
DOM: Create a new element, associated with this document, with no children, attributes, or parent, by calling createElementEx.
createElementEx(String) - Method in class com.sun.xml.tree.XmlDocument
Create a new element, associated with this document, with no children, attributes, or parent.
createElementEx(String) - Method in interface com.sun.xml.tree.ElementFactory
This is like the DOM Document.createElement method, except that its return type is different.
createElementEx(String) - Method in class com.sun.xml.tree.SimpleElementFactory
Creates an element by using the default mapping.
createElementEx(String, String) - Method in class com.sun.xml.tree.XmlDocument
Create a new element, associated with this document, with no children, attributes, or parent.
createElementEx(String, String) - Method in interface com.sun.xml.tree.ElementFactory
Returns an element which may be specialized to support application specific behaviors as associated with the specified namespace.
createElementEx(String, String) - Method in class com.sun.xml.tree.SimpleElementFactory
Creates an element by using the mapping associated with the specified namespace, or the default namespace as appropriate.
createEntityReference(String) - Method in interface org.w3c.dom.Document
Creates an EntityReference object.
createEntityReference(String) - Method in class com.sun.xml.tree.XmlDocument
DOM: Creates an entity reference to the named entity.
createInputSource(File) - Static method in class com.sun.xml.parser.Resolver
Creates an input source from a given file, autodetecting the character encoding.
createInputSource(String, InputStream, boolean, String) - Static method in class com.sun.xml.parser.Resolver
Returns an input source, using the MIME type information and URL scheme to statically determine the correct character encoding if possible and otherwise autodetecting it.
createInputSource(URL, boolean) - Static method in class com.sun.xml.parser.Resolver
Creates an input source from a given URI.
createProcessingInstruction(String, String) - Method in interface org.w3c.dom.Document
Creates a ProcessingInstruction node given the specified name and data strings.
createProcessingInstruction(String, String) - Method in class com.sun.xml.tree.XmlDocument
DOM: Returns a Processing Instruction node for the specified processing target, with the given instructions.
createTextNode(String) - Method in interface org.w3c.dom.Document
Creates a Text node given the specified string.
createTextNode(String) - Method in class com.sun.xml.tree.XmlDocument
DOM: returns a Text node initialized with the given text.
createWriteContext(Writer) - Method in class com.sun.xml.tree.XmlDocument
Returns an XML write context set up not to pretty-print, and which knows about the entities defined for this document.
createWriteContext(Writer, int) - Method in class com.sun.xml.tree.XmlDocument
Returns an XML write context which pretty-prints output starting at a specified indent level, and which knows about the entities defined for this document.
createXmlDocument(InputSource, boolean) - Static method in class com.sun.xml.tree.XmlDocument
Construct an XML document from the data in the specified input source, optionally validating.
createXmlDocument(InputStream, boolean) - Static method in class com.sun.xml.tree.XmlDocument
Construct an XML document from input stream, optionally validating.
createXmlDocument(String) - Static method in class com.sun.xml.tree.XmlDocument
Construct an XML document from the data at the specified URI, using Sun's nonvalidating parser.
createXmlDocument(String, boolean) - Static method in class com.sun.xml.tree.XmlDocument
Construct an XML document from the data at the specified URI, optionally validating.

D

deleteData(int, int) - Method in interface org.w3c.dom.CharacterData
Remove a range of characters from the node.
Document - interface org.w3c.dom.Document.
The Document interface represents the entire HTML or XML document.
DOCUMENT_FRAGMENT_NODE - Static variable in interface org.w3c.dom.Node
The node is a DocumentFragment.
DOCUMENT_NODE - Static variable in interface org.w3c.dom.Node
The node is a Document.
DOCUMENT_TYPE_NODE - Static variable in interface org.w3c.dom.Node
The node is a DocumentType.
DocumentEx - interface com.sun.xml.tree.DocumentEx.
This interface extends the DOM Document model by supporting application-specialized element creation and printing, and by exposing the URI with which the document is associated.
DocumentFragment - interface org.w3c.dom.DocumentFragment.
DocumentFragment is a "lightweight" or "minimal" Document object.
DocumentHandler - interface org.xml.sax.DocumentHandler.
Receive notification of general document events.
DocumentType - interface org.w3c.dom.DocumentType.
Each Document has a doctype attribute whose value is either null or a DocumentType object.
DOMException - exception org.w3c.dom.DOMException.
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impossible to perform (either for logical reasons, because data is lost, or because the implementation has become unstable).
DOMException(short, String) - Constructor for class org.w3c.dom.DOMException
Constructs an exception with the specified descriptive detail message.
DOMImplementation - interface org.w3c.dom.DOMImplementation.
The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.
DOMSTRING_SIZE_ERR - Static variable in class org.w3c.dom.DOMException
If the specified range of text does not fit into a String
doneChild(NodeEx, ParseContext) - Method in interface com.sun.xml.tree.XmlReadable
This is called when each child element has been fully constructed.
doneParse(ParseContext) - Method in interface com.sun.xml.tree.XmlReadable
This is called when the object has been fully parsed, sometime after startParse.
DtdEventListener - interface com.sun.xml.parser.DtdEventListener.
When parsing XML documents, DTD related events are signaled through this interface.
DTDHandler - interface org.xml.sax.DTDHandler.
Receive notification of basic DTD-related events.

E

Element - interface org.w3c.dom.Element.
By far the vast majority of objects (apart from text) that authors encounter when traversing a document are Element nodes.
ELEMENT_NODE - Static variable in interface org.w3c.dom.Node
The node is a Element.
ElementEx - interface com.sun.xml.tree.ElementEx.
This extends the DOM Element interface with features including XML namespace support.
ElementFactory - interface com.sun.xml.tree.ElementFactory.
This interface defines a factory which can be used by documents to provide namespace-aware element creation.
ElementNode - class com.sun.xml.tree.ElementNode.
This class represents XML elements in a parse tree, and is often subclassed to add custom behaviors.
ElementNode() - Constructor for class com.sun.xml.tree.ElementNode
Partially constructs an element; its tag will be assigned by the factory (or subclass), while attributes and the parent (and implicitly, siblings) will assigned when it is joined to a DOM document.
endCDATA() - Method in interface com.sun.xml.parser.LexicalEventListener
Receive notification that the CDATA section finished.
endCDATA() - Method in class com.sun.xml.tree.XmlDocumentBuilder
LexicalEventListener callback, not for general application use.
endDocument() - Method in class org.xml.sax.HandlerBase
Receive notification of the end of the document.
endDocument() - Method in interface org.xml.sax.DocumentHandler
Receive notification of the end of a document.
endDocument() - Method in class com.sun.xml.tree.XmlDocumentBuilder
SAX DocumentHandler callback, not for general application use.
endDtd() - Method in interface com.sun.xml.parser.DtdEventListener
Receive notification of the end of a DTD.
endElement(String) - Method in class org.xml.sax.HandlerBase
Receive notification of the end of an element.
endElement(String) - Method in interface org.xml.sax.DocumentHandler
Receive notification of the end of an element.
endElement(String) - Method in class com.sun.xml.tree.XmlDocumentBuilder
SAX DocumentHandler callback, not for general application use.
endParsedEntity(String, boolean) - Method in interface com.sun.xml.parser.LexicalEventListener
Receive notification that the named entity inclusion into document content is completed.
endParsedEntity(String, boolean) - Method in class com.sun.xml.tree.XmlDocumentBuilder
LexicalEventListener callback, not for general application use.
Entity - interface org.w3c.dom.Entity.
This interface represents an entity, either parsed or unparsed, in an XML document.
ENTITY_NODE - Static variable in interface org.w3c.dom.Node
The node is an Entity.
ENTITY_REFERENCE_NODE - Static variable in interface org.w3c.dom.Node
The node is an EntityReference.
EntityReference - interface org.w3c.dom.EntityReference.
EntityReference objects may be inserted into the structure model when an entity reference is in the source document, or when the user wishes to insert an entity reference.
EntityResolver - interface org.xml.sax.EntityResolver.
Basic interface for resolving entities.
error(SAXParseException) - Method in class org.xml.sax.HandlerBase
Receive notification of a recoverable parser error.
error(SAXParseException) - Method in interface org.xml.sax.ErrorHandler
Receive notification of a recoverable error.
ErrorHandler - interface org.xml.sax.ErrorHandler.
Basic interface for SAX error handlers.
externalDtdDecl(String, String) - Method in interface com.sun.xml.parser.DtdEventListener
Reports the optional unnamed parameter entity which is processed after the internal DTD subset.
externalEntityDecl(String, String, String) - Method in interface com.sun.xml.parser.DtdEventListener
Receive notification of an external parsed entity declaration event.

F

fatalError(SAXParseException) - Method in class org.xml.sax.HandlerBase
Report a fatal XML parsing error.
fatalError(SAXParseException) - Method in interface org.xml.sax.ErrorHandler
Receive notification of a non-recoverable error.

G

getAttribute(String) - Method in interface org.w3c.dom.Element
Retrieves an attribute value by name.
getAttribute(String) - Method in class com.sun.xml.tree.ElementNode
DOM: Returns the value of the named attribute, or null
getAttribute(String, String) - Method in class com.sun.xml.tree.ElementNode
 
getAttribute(String, String) - Method in interface com.sun.xml.tree.ElementEx
Returns the value of an element attribute, as named according to the XML Namespaces draft specification.
getAttributeNode(String) - Method in interface org.w3c.dom.Element
Retrieves an Attr node by name.
getAttributeNode(String) - Method in class com.sun.xml.tree.ElementNode
DOM: returns the attribute
getAttributeNode(String, String) - Method in class com.sun.xml.tree.ElementNode
 
getAttributeNode(String, String) - Method in interface com.sun.xml.tree.ElementEx
Returns the value of an element attribute, as named according to the XML Namespaces draft specification.
getAttributes() - Method in interface org.w3c.dom.Node
Returns the value of the attributes property.
getAttributes() - Method in class com.sun.xml.tree.ElementNode
DOM: Returns the attributes of this element.
getByteStream() - Method in class org.xml.sax.InputSource
Get the byte stream for this input source.
getCharacterStream() - Method in class org.xml.sax.InputSource
Get the character stream for this input source.
getChildNodes() - Method in interface org.w3c.dom.Node
Returns the value of the childNodes property.
getColumnNumber() - Method in interface org.xml.sax.Locator
Return the column number where the current document event ends.
getColumnNumber() - Method in class org.xml.sax.SAXParseException
The column number of the end of the text where the exception occurred.
getColumnNumber() - Method in class org.xml.sax.helpers.LocatorImpl
Return the saved column number (1-based).
getCurrent() - Method in class com.sun.xml.tree.TreeWalker
Returns the current node.
getData() - Method in interface org.w3c.dom.ProcessingInstruction
Returns the value of the data property.
getData() - Method in interface org.w3c.dom.CharacterData
Returns the value of the data property.
getDefault(int) - Method in interface com.sun.xml.parser.AttributeListEx
Returns the default value of the specified attribute, or null if no default value is known.
getDisableNamespaces() - Method in class com.sun.xml.tree.XmlDocumentBuilder
Returns true if namespace conformance is not checked as the DOM tree is built.
getDoctype() - Method in interface org.w3c.dom.Document
Returns the value of the doctype property.
getDoctype() - Method in class com.sun.xml.tree.XmlDocument
DOM: returns the document type (DTD)
getDocument() - Method in class com.sun.xml.tree.XmlDocumentBuilder
Returns the fruits of parsing, after a SAX parser has used this as a document handler during parsing.
getDocumentElement() - Method in interface org.w3c.dom.Document
Returns the value of the documentElement property.
getDocumentElement() - Method in class com.sun.xml.tree.XmlDocument
DOM: Returns the content root element.
getDocumentHandler() - Method in class com.sun.xml.parser.Parser
Returns the application being driven by the parser.
getDocumentLocator() - Method in class com.sun.xml.tree.XmlDocumentBuilder
Returns the document locator provided by the SAX parser.
getDTDHandler() - Method in class com.sun.xml.parser.Parser
Returns the handler used to deliver unparsed entity information.
getElementExById(String) - Method in class com.sun.xml.tree.XmlDocument
Returns the element whose ID is given by the parameter; or null if no such element exists.
getElementExById(String) - Method in interface com.sun.xml.tree.DocumentEx
Returns the element whose ID is given by the parameter; or null if no such element is known.
getElementFactory() - Method in class com.sun.xml.tree.XmlDocument
Returns the element factory to be used by this document.
getElementFactory() - Method in class com.sun.xml.tree.XmlDocumentBuilder
Returns the factory to be associated with documents produced by this builder.
getElementFactory() - Method in interface com.sun.xml.tree.DocumentEx
Returns the element factory to be used by this document.
getElementsByTagName(String) - Method in interface org.w3c.dom.Element
Returns a NodeList of all descendant elements with a given tag name, in the order in which they would be encountered in a preorder traversal of the Element tree.
getElementsByTagName(String) - Method in interface org.w3c.dom.Document
Returns a NodeList of all the Elements with a given tag name in the order in which they would be encountered in a preorder traversal of the Document tree.
getEncoding() - Method in class org.xml.sax.InputSource
Get the character encoding for a byte stream or URI.
getEntities() - Method in interface org.w3c.dom.DocumentType
Returns the value of the entities property.
getEntityResolver() - Method in class com.sun.xml.parser.Parser
Returns the object used to resolve entities
getErrorHandler() - Method in class com.sun.xml.parser.Parser
Returns the object used for error handling
getErrorHandler() - Method in interface com.sun.xml.tree.ParseContext
Returns an error handler that may be used to report problems of various types: warnings, recoverable errors, fatal errors.
getException() - Method in class org.xml.sax.SAXException
Return the embedded exception, if any.
getFirstChild() - Method in interface org.w3c.dom.Node
Returns the value of the firstChild property.
getIdAttributeName() - Method in interface com.sun.xml.parser.AttributeListEx
Returns the name of the ID attribute for the associated element, if one was declared.
getIdAttributeName() - Method in class com.sun.xml.tree.ElementNode
Returns the name of the element's ID attribute, if one is known.
getIdAttributeName() - Method in interface com.sun.xml.tree.ElementEx
Returns the name of the attribute declared to hold the element's ID, or null if no such declaration is known.
getImplementation() - Method in interface org.w3c.dom.Document
Returns the value of the implementation property.
getImplementation() - Method in class com.sun.xml.tree.XmlDocument
DOM: Returns an object describing the features of the DOM implementation used by this document: it supports the XML 1.0 feature set.
getIndentLevel() - Method in class com.sun.xml.tree.XmlWriteContext
Returns the current indent level, in terms of spaces, for use in pretty printing XML text.
getIndexOf(Node) - Method in interface com.sun.xml.tree.NodeEx
Returns the index of the node in the list of children, such that item() will return that child.
getInheritedAttribute(String) - Method in interface com.sun.xml.tree.NodeEx
Returns the value of a given attribute, tracing up through ancestors if needed.
getInheritedAttribute(String, String) - Method in interface com.sun.xml.tree.NodeEx
Returns the value of a given attribute, tracing up through ancestors if needed and conforming to the XML Namespaces draft for associating URIs with name prefixes.
getLanguage() - Method in interface com.sun.xml.tree.NodeEx
Returns the language id (value of xml:lang attribute) applicable to this node, if known.
getLastChild() - Method in interface org.w3c.dom.Node
Returns the value of the lastChild property.
getLength() - Method in interface org.w3c.dom.NamedNodeMap
Returns the value of the length property.
getLength() - Method in interface org.w3c.dom.CharacterData
Returns the value of the length property.
getLength() - Method in interface org.w3c.dom.NodeList
Returns the value of the length property.
getLength() - Method in interface org.xml.sax.AttributeList
Return the number of attributes in this list.
getLength() - Method in class org.xml.sax.helpers.AttributeListImpl
Return the number of attributes in the list.
getLineNumber() - Method in interface org.xml.sax.Locator
Return the line number where the current document event ends.
getLineNumber() - Method in class org.xml.sax.SAXParseException
The line number of the end of the text where the exception occurred.
getLineNumber() - Method in class org.xml.sax.helpers.LocatorImpl
Return the saved line number (1-based).
getLocale() - Method in class com.sun.xml.parser.Parser
Returns the diagnostic locale.
getLocale() - Method in interface com.sun.xml.tree.ParseContext
Returns the preferred locale for diagnostic messsages to be reported through the error handler.
getLocale() - Method in class com.sun.xml.tree.XmlDocument
Returns the locale to be used for diagnostic messages.
getLocale() - Method in class com.sun.xml.tree.XmlDocumentBuilder
Returns the locale to be used for diagnostic messages by this builder, and by documents it produces.
getLocale() - Method in interface com.sun.xml.tree.DocumentEx
Returns the locale to be used for diagnostic messages.
getLocalName() - Method in class com.sun.xml.tree.ElementNode
 
getLocalName() - Method in interface com.sun.xml.tree.NamespaceScoped
Returns the "local part" of the object's scoped name, without any namespace prefix.
getLocator() - Method in interface com.sun.xml.tree.ParseContext
Returns a locator object which reports where the parse event was detected.
getMessage() - Method in class org.xml.sax.SAXException
Return a detail message for this exception.
getMessage(Locale, String) - Method in class com.sun.xml.util.MessageCatalog
Get a message localized to the specified locale, using the message ID and package name if no message is available.
getMessage(Locale, String, Object[]) - Method in class com.sun.xml.util.MessageCatalog
Format a message localized to the specified locale, using the message ID with its package name if none is available.
getName() - Method in interface org.w3c.dom.Attr
Returns the value of the name property.
getName() - Method in interface org.w3c.dom.DocumentType
Returns the value of the name property.
getName(int) - Method in interface org.xml.sax.AttributeList
Return the name of an attribute in this list (by position).
getName(int) - Method in class org.xml.sax.helpers.AttributeListImpl
Get the name of an attribute (by position).
getNamedItem(String) - Method in interface org.w3c.dom.NamedNodeMap
Retrieves a node specified by name.
getNamespace() - Method in class com.sun.xml.tree.ElementNode
 
getNamespace() - Method in interface com.sun.xml.tree.NamespaceScoped
Return the XML namespace name (a URI) associated with this object, or null for the case of the default document namespace.
getNext() - Method in class com.sun.xml.tree.TreeWalker
Advances to the next node, and makes that current.
getNextElement(String) - Method in class com.sun.xml.tree.TreeWalker
Convenience method to walk only through elements with the specified tag name.
getNextSibling() - Method in interface org.w3c.dom.Node
Returns the value of the nextSibling property.
getNodeName() - Method in interface org.w3c.dom.Node
Returns the value of the nodeName property.
getNodeName() - Method in class com.sun.xml.tree.ElementNode
DOM: Returns the name of the XML tag for this element.
getNodeName() - Method in class com.sun.xml.tree.XmlDocument
DOM: Returns the string "#document".
getNodeType() - Method in interface org.w3c.dom.Node
Returns the value of the nodeType property.
getNodeType() - Method in class com.sun.xml.tree.ElementNode
DOM: Returns the ELEMENT_NODE node type.
getNodeType() - Method in class com.sun.xml.tree.XmlDocument
DOM: Returns the DOCUMENT_NODE node type constant.
getNodeValue() - Method in interface org.w3c.dom.Node
Returns the value of the nodeValue property.
getNotationName() - Method in interface org.w3c.dom.Entity
Returns the value of the notationName property.
getNotations() - Method in interface org.w3c.dom.DocumentType
Returns the value of the notations property.
getOwnerDoc() - Method in class com.sun.xml.tree.XmlDocument
DOM: returns null.
getOwnerDocument() - Method in interface org.w3c.dom.Node
Returns the value of the ownerDocument property.
getParentNode() - Method in interface org.w3c.dom.Node
Returns the value of the parentNode property.
getParser() - Method in class com.sun.xml.tree.XmlDocumentBuilder
Returns the parser used by this builder, if it is recorded; only Sun parsers are now recorded.
getPreviousSibling() - Method in interface org.w3c.dom.Node
Returns the value of the previousSibling property.
getPublicId() - Method in interface org.w3c.dom.Notation
Returns the value of the publicId property.
getPublicId() - Method in interface org.w3c.dom.Entity
Returns the value of the publicId property.
getPublicId() - Method in interface org.xml.sax.Locator
Return the public identifier for the current document event.
getPublicId() - Method in class org.xml.sax.SAXParseException
Get the public identifier of the entity where the exception occurred.
getPublicId() - Method in class org.xml.sax.InputSource
Get the public identifier for this input source.
getPublicId() - Method in class org.xml.sax.helpers.LocatorImpl
Return the saved public identifier.
getSpecified() - Method in interface org.w3c.dom.Attr
Returns the value of the specified property.
getSystemId() - Method in interface org.w3c.dom.Notation
Returns the value of the systemId property.
getSystemId() - Method in interface org.w3c.dom.Entity
Returns the value of the systemId property.
getSystemId() - Method in interface org.xml.sax.Locator
Return the system identifier for the current document event.
getSystemId() - Method in class org.xml.sax.SAXParseException
Get the system identifier of the entity where the exception occurred.
getSystemId() - Method in class org.xml.sax.InputSource
Get the system identifier for this input source.
getSystemId() - Method in class org.xml.sax.helpers.LocatorImpl
Return the saved system identifier.
getSystemId() - Method in class com.sun.xml.tree.XmlDocument
Returns system ID associated with the document, or null if this is unknown.
getSystemId() - Method in interface com.sun.xml.tree.DocumentEx
Returns the system ID (a URI) associated with the document, or null if this is unknown.
getTagName() - Method in interface org.w3c.dom.Element
Returns the value of the tagName property.
getTagName() - Method in class com.sun.xml.tree.ElementNode
DOM: Returns the name of the XML tag for this element.
getTarget() - Method in interface org.w3c.dom.ProcessingInstruction
Returns the value of the target property.
getType(int) - Method in interface org.xml.sax.AttributeList
Return the type of an attribute in the list (by position).
getType(int) - Method in class org.xml.sax.helpers.AttributeListImpl
Get the type of an attribute (by position).
getType(String) - Method in interface org.xml.sax.AttributeList
Return the type of an attribute in the list (by name).
getType(String) - Method in class org.xml.sax.helpers.AttributeListImpl
Get the type of an attribute (by name).
getUserObject() - Method in class com.sun.xml.tree.ElementNode
 
getUserObject() - Method in interface com.sun.xml.tree.ElementEx
Returns the object associated with this element.
getValue() - Method in interface org.w3c.dom.Attr
Returns the value of the value property.
getValue(int) - Method in interface org.xml.sax.AttributeList
Return the value of an attribute in the list (by position).
getValue(int) - Method in class org.xml.sax.helpers.AttributeListImpl
Get the value of an attribute (by position).
getValue(String) - Method in interface org.xml.sax.AttributeList
Return the value of an attribute in the list (by name).
getValue(String) - Method in class org.xml.sax.helpers.AttributeListImpl
Get the value of an attribute (by name).
getWriter() - Method in class com.sun.xml.tree.XmlWriteContext
Returns the writer to which output should be written.

H

HandlerBase - class org.xml.sax.HandlerBase.
Default base class for handlers.
HandlerBase() - Constructor for class org.xml.sax.HandlerBase
 
hasChildNodes() - Method in interface org.w3c.dom.Node
This is a convenience method to allow easy determination of whether a node has any children.
hasFeature(String, String) - Method in interface org.w3c.dom.DOMImplementation
Test if the DOM implementation implements a specific feature.
hasFeature(String, String) - Method in class com.sun.xml.tree.XmlDocument
DOM: Reports that this document supports XML version 1.0 (only).
HIERARCHY_REQUEST_ERR - Static variable in class org.w3c.dom.DOMException
If any node is inserted somewhere it doesn't belong

I

ignorableWhitespace(char[], int, int) - Method in class org.xml.sax.HandlerBase
Receive notification of ignorable whitespace in element content.
ignorableWhitespace(char[], int, int) - Method in interface org.xml.sax.DocumentHandler
Receive notification of ignorable whitespace in element content.
ignorableWhitespace(char[], int, int) - Method in class com.sun.xml.tree.XmlDocumentBuilder
SAX DocumentHandler callback, not for general application use.
INDEX_SIZE_ERR - Static variable in class org.w3c.dom.DOMException
If index or size is negative, or greater than the allowed value
InputSource - class org.xml.sax.InputSource.
A single input source for an XML entity.
InputSource() - Constructor for class org.xml.sax.InputSource
Zero-argument default constructor.
InputSource(InputStream) - Constructor for class org.xml.sax.InputSource
Create a new input source with a byte stream.
InputSource(Reader) - Constructor for class org.xml.sax.InputSource
Create a new input source with a character stream.
InputSource(String) - Constructor for class org.xml.sax.InputSource
Create a new input source with a system identifier.
insertBefore(Node, Node) - Method in interface org.w3c.dom.Node
Inserts the node newChild before the existing child node refChild.
insertBefore(Node, Node) - Method in class com.sun.xml.tree.XmlDocument
DOM: Inserts the specified child node into the document.
insertData(int, String) - Method in interface org.w3c.dom.CharacterData
Insert a string at the specified character offset.
internalDtdDecl(String) - Method in interface com.sun.xml.parser.DtdEventListener
Reports the internal DTD subset, as unparsed markup declarations.
internalEntityDecl(String, String) - Method in interface com.sun.xml.parser.DtdEventListener
Receive notification of a internal parsed entity declaration event.
INUSE_ATTRIBUTE_ERR - Static variable in class org.w3c.dom.DOMException
If an attempt is made to add an attribute that is already inuse elsewhere
INVALID_CHARACTER_ERR - Static variable in class org.w3c.dom.DOMException
If an invalid character is specified, such as in a name.
isChar(int) - Static method in class com.sun.xml.util.XmlChars
Returns true if the argument, a UCS-4 character code, is valid in XML documents.
isEntityDeclared(String) - Method in class com.sun.xml.tree.XmlWriteContext
Returns true if the specified entity was already declared in this output context, so that entity references may be written rather than their expanded values.
isFastStandalone() - Method in class com.sun.xml.parser.Parser
Returns true if standalone documents skip processing of all external DTD information.
isIgnoringLexicalInfo() - Method in class com.sun.xml.tree.XmlDocumentBuilder
Returns true (the default) if certain lexical information is automatically discarded when a DOM tree is built, producing smaller parse trees that are easier to use.
isIgnoringMIME() - Method in class com.sun.xml.parser.Resolver
Returns true if this resolver is ignoring MIME types in the documents it returns, to work around bugs in how servers have reported the documents' MIME types.
isLetter(char) - Static method in class com.sun.xml.util.XmlChars
Returns true if the character is an XML "letter".
isLocaleSupported(String) - Method in class com.sun.xml.util.MessageCatalog
Returns true iff the specified locale has explicit language support.
isName(String) - Static method in class com.sun.xml.util.XmlNames
Returns true if the value is a legal XML name.
isNameChar(char) - Static method in class com.sun.xml.util.XmlChars
Returns true if the character is allowed to be a non-initial character in names according to the XML recommendation.
isNCNameChar(char) - Static method in class com.sun.xml.util.XmlChars
Returns true if the character is allowed to be a non-initial character in unscoped names according to the rules of the XML Namespaces proposed recommendation.
isNCNmtoken(String) - Static method in class com.sun.xml.util.XmlNames
This method returns true if the identifier is a "name token" as defined by the XML Namespaces proposed recommendation.
isNmtoken(String) - Static method in class com.sun.xml.util.XmlNames
This method returns true if the identifier is a "name token" as defined in the XML specification.
isPrettyOutput() - Method in class com.sun.xml.tree.XmlWriteContext
Returns true if writes using the context should "pretty print", displaying structure through indentation as appropriate.
isQualifiedName(String) - Static method in class com.sun.xml.util.XmlNames
Returns true if the value is a legal "qualified" XML name, as defined in the XML Namespaces proposed recommendation.
isSpace(char) - Static method in class com.sun.xml.util.XmlChars
Returns true if the character is allowed where XML supports whitespace characters, false otherwise.
isSpecified(int) - Method in interface com.sun.xml.parser.AttributeListEx
Returns true if the attribute was specified in the document.
isUnqualifiedName(String) - Static method in class com.sun.xml.util.XmlNames
Returns true if the value is a legal "unqualified" XML name, as defined in the XML Namespaces proposed recommendation.
item(int) - Method in interface org.w3c.dom.NamedNodeMap
Returns the indexth item in the map.
item(int) - Method in interface org.w3c.dom.NodeList
Returns the indexth item in the collection.

L

LexicalEventListener - interface com.sun.xml.parser.LexicalEventListener.
Provides notification of information which DOM permits to be exposed.
Locator - interface org.xml.sax.Locator.
Interface for associating a SAX event with a document location.
LocatorImpl - class org.xml.sax.helpers.LocatorImpl.
Provide an optional convenience implementation of Locator.
LocatorImpl() - Constructor for class org.xml.sax.helpers.LocatorImpl
Zero-argument constructor.
LocatorImpl(Locator) - Constructor for class org.xml.sax.helpers.LocatorImpl
Copy constructor.

M

makeParser() - Static method in class org.xml.sax.helpers.ParserFactory
Create a new SAX parser using the `org.xml.sax.parser' system property.
makeParser(String) - Static method in class org.xml.sax.helpers.ParserFactory
Create a new SAX parser object using the class name provided.
MessageCatalog - class com.sun.xml.util.MessageCatalog.
This class provides support for multi-language string lookup, as needed to localize messages from applications supporting multiple languages at the same time.
MessageCatalog(Class) - Constructor for class com.sun.xml.util.MessageCatalog
Create a message catalog for use by classes in the same package as the specified class.

N

NamedNodeMap - interface org.w3c.dom.NamedNodeMap.
Objects implementing the NamedNodeMap interface are used to represent collections of nodes that can be accessed by name.
NamespaceScoped - interface com.sun.xml.tree.NamespaceScoped.
This interface is supported by elements and attributes whose names are scoped according to the XML Namespaces specification.
NO_DATA_ALLOWED_ERR - Static variable in class org.w3c.dom.DOMException
If data is specified for a node which does not support data
NO_MODIFICATION_ALLOWED_ERR - Static variable in class org.w3c.dom.DOMException
If an attempt is made to modify an object where modifications are not allowed
Node - interface org.w3c.dom.Node.
The Node interface is the primary datatype for the entire Document Object Model.
NodeEx - interface com.sun.xml.tree.NodeEx.
This interface defines accessors to inherited attributes of nodes, and provides support for using XML Namespaces.
NodeList - interface org.w3c.dom.NodeList.
The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented.
normalize() - Method in interface org.w3c.dom.Element
Puts all Text nodes in the full depth of the sub-tree underneath this Element into a "normal" form where only markup (e.g., tags, comments, processing instructions, CDATA sections, and entity references) separates Text nodes, i.e., there are no adjacent Text nodes.
normalize() - Method in class com.sun.xml.tree.ElementNode
DOM: Merges all adjacent Text nodes in the tree rooted by this element.
NOT_FOUND_ERR - Static variable in class org.w3c.dom.DOMException
If an attempt was made to reference a node in a context where it does not exist
NOT_SUPPORTED_ERR - Static variable in class org.w3c.dom.DOMException
If the implementation does not support the type of object requested
Notation - interface org.w3c.dom.Notation.
This interface represents a notation declared in the DTD.
NOTATION_NODE - Static variable in interface org.w3c.dom.Node
The node is a Notation.
notationDecl(String, String, String) - Method in class org.xml.sax.HandlerBase
Receive notification of a notation declaration.
notationDecl(String, String, String) - Method in interface org.xml.sax.DTDHandler
Receive notification of a notation declaration event.

O

org.w3c.dom - package org.w3c.dom
The Document Object Model (DOM™) is a Recommendation of the World Wide Web Consortium, defining programming interfaces for XML (and, optionally, HTML) documents.
org.xml.sax - package org.xml.sax
SAX (Simple API to XML) is an event-driven parser API, which supports most of the widely available XML parsers.
org.xml.sax.helpers - package org.xml.sax.helpers
This package contains simple "helper" classes which can help programmers get started using the SAX APIs.

P

parse(InputSource) - Method in interface org.xml.sax.Parser
Parse an XML document.
parse(InputSource) - Method in class com.sun.xml.parser.Parser
SAX: Parse a document.
parse(String) - Method in interface org.xml.sax.Parser
Parse an XML document from a system identifier (URI).
parse(String) - Method in class com.sun.xml.parser.Parser
SAX: Parse a document.
ParseContext - interface com.sun.xml.tree.ParseContext.
This interface is used during parsing of XML content to encapsulate information about the location of the parsing event being reported.
Parser - interface org.xml.sax.Parser.
Basic interface for SAX (Simple API for XML) parsers.
Parser - class com.sun.xml.parser.Parser.
This implements a fast non-validating SAX parser.
Parser() - Constructor for class com.sun.xml.parser.Parser
Constructs a SAX parser object.
ParserFactory - class org.xml.sax.helpers.ParserFactory.
Java-specific class for dynamically loading SAX parsers.
printIndent() - Method in class com.sun.xml.tree.XmlWriteContext
If pretty printing is enabled, this writes a newline followed by indentLevel spaces.
PROCESSING_INSTRUCTION_NODE - Static variable in interface org.w3c.dom.Node
The node is a ProcessingInstruction.
ProcessingInstruction - interface org.w3c.dom.ProcessingInstruction.
The ProcessingInstruction interface represents a "processing instruction", used in XML as a way to keep processor-specific information in the text of the document.
processingInstruction(String, String) - Method in class org.xml.sax.HandlerBase
Receive notification of a processing instruction.
processingInstruction(String, String) - Method in interface org.xml.sax.DocumentHandler
Receive notification of a processing instruction.
processingInstruction(String, String) - Method in class com.sun.xml.tree.XmlDocumentBuilder
SAX DocumentHandler callback, not for general application use.

R

registerCatalogEntry(String, String) - Method in class com.sun.xml.parser.Resolver
Registers the given public ID as corresponding to a particular URI, typically a local copy.
registerCatalogEntry(String, String, ClassLoader) - Method in class com.sun.xml.parser.Resolver
Registers a given public ID as corresponding to a particular Java resource in a given class loader, typically distributed with a software package.
removeAttribute(String) - Method in interface org.w3c.dom.Element
Removes an attribute by name.
removeAttribute(String) - Method in class org.xml.sax.helpers.AttributeListImpl
Remove an attribute from the list.
removeAttribute(String) - Method in class com.sun.xml.tree.ElementNode
DOM: Remove the named attribute.
removeAttributeNode(Attr) - Method in interface org.w3c.dom.Element
Removes the specified attribute.
removeAttributeNode(Attr) - Method in class com.sun.xml.tree.ElementNode
DOM: removes the attribute with the same name as this one
removeChild(Node) - Method in interface org.w3c.dom.Node
Removes the child node indicated by oldChild from the list of children, and returns it.
removeCurrent() - Method in class com.sun.xml.tree.TreeWalker
Removes the current node; reassigns the current node to be the next node along the current tree walk (which may be null), and returns that new current node.
removeNamedItem(String) - Method in interface org.w3c.dom.NamedNodeMap
Removes a node specified by name.
replaceChild(Node, Node) - Method in interface org.w3c.dom.Node
Replaces the child node oldChild with newChild in the list of children, and returns the oldChild node.
replaceData(int, int, String) - Method in interface org.w3c.dom.CharacterData
Replace the characters starting at the specified character offset with the specified string.
reset() - Method in class com.sun.xml.tree.TreeWalker
Resets the walker to the state in which it was created: the current node will be the node given to the constructor.
resolveEntity(String, String) - Method in interface org.xml.sax.EntityResolver
Allow the application to resolve external entities.
resolveEntity(String, String) - Method in class org.xml.sax.HandlerBase
Resolve an external entity.
resolveEntity(String, String) - Method in class com.sun.xml.parser.Resolver
SAX: Resolve the given entity into an input source.
Resolver - class com.sun.xml.parser.Resolver.
This entity resolver class provides a number of utilities which can help managment of external parsed entities in XML.
Resolver() - Constructor for class com.sun.xml.parser.Resolver
Constructs a resolver.

S

SAXException - exception org.xml.sax.SAXException.
Encapsulate a general SAX error or warning.
SAXException(Exception) - Constructor for class org.xml.sax.SAXException
Create a new SAXException wrapping an existing exception.
SAXException(String) - Constructor for class org.xml.sax.SAXException
Create a new SAXException.
SAXException(String, Exception) - Constructor for class org.xml.sax.SAXException
Create a new SAXException from an existing exception.
SAXParseException - exception org.xml.sax.SAXParseException.
Encapsulate an XML parse error or warning.
SAXParseException(String, Locator) - Constructor for class org.xml.sax.SAXParseException
Create a new SAXParseException from a message and a Locator.
SAXParseException(String, Locator, Exception) - Constructor for class org.xml.sax.SAXParseException
Wrap an existing exception in a SAXParseException.
SAXParseException(String, String, String, int, int) - Constructor for class org.xml.sax.SAXParseException
Create a new SAXParseException.
SAXParseException(String, String, String, int, int, Exception) - Constructor for class org.xml.sax.SAXParseException
Create a new SAXParseException with an embedded exception.
setAttribute(String, String) - Method in interface org.w3c.dom.Element
Adds a new attribute.
setAttribute(String, String) - Method in class com.sun.xml.tree.ElementNode
DOM: Assigns or modifies the value of the specified attribute.
setAttributeList(AttributeList) - Method in class org.xml.sax.helpers.AttributeListImpl
Set the attribute list, discarding previous contents.
setAttributeNode(Attr) - Method in interface org.w3c.dom.Element
Adds a new attribute.
setAttributeNode(Attr) - Method in class com.sun.xml.tree.ElementNode
DOM: assigns the attribute
setByteStream(InputStream) - Method in class org.xml.sax.InputSource
Set the byte stream for this input source.
setCharacterStream(Reader) - Method in class org.xml.sax.InputSource
Set the character stream for this input source.
setColumnNumber(int) - Method in class org.xml.sax.helpers.LocatorImpl
Set the column number for this locator (1-based).
setData(String) - Method in interface org.w3c.dom.ProcessingInstruction
Assigns the value of the data property.
setData(String) - Method in interface org.w3c.dom.CharacterData
Assigns the value of the data property.
setDefaultNamespace(String) - Method in class com.sun.xml.tree.SimpleElementFactory
Defines a URI to be treated as the "default" namespace.
setDisableNamespaces(boolean) - Method in class com.sun.xml.tree.XmlDocumentBuilder
Controls whether namespace conformance is checked during DOM tree construction (the default) or not.
setDoctype(String, String, String) - Method in class com.sun.xml.tree.XmlDocument
Establishes how the document prints its document type.
setDocumentHandler(DocumentHandler) - Method in interface org.xml.sax.Parser
Allow an application to register a document event handler.
setDocumentHandler(DocumentHandler) - Method in class com.sun.xml.parser.Parser
SAX: The primary application hook into the parser, this assigns the handler for the basic SAX document events as well as the extended "lexical" events.
setDocumentLocator(Locator) - Method in class org.xml.sax.HandlerBase
Receive a Locator object for document events.
setDocumentLocator(Locator) - Method in interface org.xml.sax.DocumentHandler
Receive an object for locating the origin of SAX document events.
setDocumentLocator(Locator) - Method in class com.sun.xml.tree.XmlDocumentBuilder
SAX DocumentHandler callback, not for general application use.
setDTDHandler(DTDHandler) - Method in interface org.xml.sax.Parser
Allow an application to register a DTD event handler.
setDTDHandler(DTDHandler) - Method in class com.sun.xml.parser.Parser
SAX: Used by applications to see unparsed entity information, this assigns the handler for the basic SAX DTD events as well as the extended "DtdEventListener" events.
setElementFactory(ElementFactory) - Method in class com.sun.xml.tree.XmlDocument
Assigns the element factory to be used by this document.
setElementFactory(ElementFactory) - Method in class com.sun.xml.tree.XmlDocumentBuilder
Assigns the factory to be associated with documents produced by this builder.
setElementFactory(ElementFactory) - Method in interface com.sun.xml.tree.DocumentEx
Assigns the element factory to be used by this document.
setEncoding(String) - Method in class org.xml.sax.InputSource
Set the character encoding, if known.
setEntityResolver(EntityResolver) - Method in interface org.xml.sax.Parser
Allow an application to register a custom entity resolver.
setEntityResolver(EntityResolver) - Method in class com.sun.xml.parser.Parser
SAX: Lets applications control entity resolution.
setErrorHandler(ErrorHandler) - Method in interface org.xml.sax.Parser
Allow an application to register an error event handler.
setErrorHandler(ErrorHandler) - Method in class com.sun.xml.parser.Parser
SAX: Used to override default error handling; for example, to ensure that validity errors abort parsing, or to report errors through the correct channels.
setFastStandalone(boolean) - Method in class com.sun.xml.parser.Parser
Setting this flag enables faster processing of valid standalone documents: external DTD information is not processed, and no attribute normalization or defaulting is done.
setIdAttributeName(String) - Method in class com.sun.xml.tree.ElementNode
Assigns the name of the element's ID attribute; only one attribute may have the ID type.
setIgnoringLexicalInfo(boolean) - Method in class com.sun.xml.tree.XmlDocumentBuilder
Controls whether certain lexical information is discarded; by default, that information is discarded.
setIgnoringMIME(boolean) - Method in class com.sun.xml.parser.Resolver
Tells the resolver whether to ignore MIME types in the documents it retrieves.
setIndentLevel(int) - Method in class com.sun.xml.tree.XmlWriteContext
Assigns the current indent level, in terms of spaces, for use in pretty printing XML text.
setLineNumber(int) - Method in class org.xml.sax.helpers.LocatorImpl
Set the line number for this locator (1-based).
setLocale(Locale) - Method in interface org.xml.sax.Parser
Allow an application to request a locale for errors and warnings.
setLocale(Locale) - Method in class com.sun.xml.parser.Parser
SAX: Used by applications to request locale for diagnostics.
setLocale(Locale) - Method in class com.sun.xml.tree.XmlDocument
Assigns the locale to be used for diagnostic messages.
setLocale(Locale) - Method in class com.sun.xml.tree.XmlDocumentBuilder
Assigns the locale to be used for diagnostic messages.
setLocale(Locale) - Method in interface com.sun.xml.tree.DocumentEx
Assigns the locale to be used for diagnostic messages.
setNamedItem(Node) - Method in interface org.w3c.dom.NamedNodeMap
Adds a node using its nodeName attribute.
setNodeValue(String) - Method in interface org.w3c.dom.Node
Assigns the value of the nodeValue property.
setParser(Parser) - Method in class com.sun.xml.tree.XmlDocumentBuilder
Sets the parser used by this builder.
setPublicId(String) - Method in class org.xml.sax.InputSource
Set the public identifier for this input source.
setPublicId(String) - Method in class org.xml.sax.helpers.LocatorImpl
Set the public identifier for this locator.
setSystemId(String) - Method in class org.xml.sax.InputSource
Set the system identifier for this input source.
setSystemId(String) - Method in class org.xml.sax.helpers.LocatorImpl
Set the system identifier for this locator.
setSystemId(String) - Method in class com.sun.xml.tree.XmlDocument
Assigns the URI associated with the document, which is its system ID.
setTag(String) - Method in class com.sun.xml.tree.ElementNode
Assigns the element's tag, when the element has been constructed using the default constructor.
setUserObject(Object) - Method in class com.sun.xml.tree.ElementNode
 
setUserObject(Object) - Method in interface com.sun.xml.tree.ElementEx
Assigns an object to be associated with this element.
setValue(String) - Method in interface org.w3c.dom.Attr
Assigns the value of the value property.
SimpleElementFactory - class com.sun.xml.tree.SimpleElementFactory.
This is a convenience class for creating application-specific elements associated with specified (or default) XML namespaces.
SimpleElementFactory() - Constructor for class com.sun.xml.tree.SimpleElementFactory
Constructs an unconfigured element factory.
splitText(int) - Method in interface org.w3c.dom.Text
Breaks this Text node into two Text nodes at the specified offset, keeping both in the tree as siblings.
startCDATA() - Method in interface com.sun.xml.parser.LexicalEventListener
Receive notification that a CDATA section is beginning.
startCDATA() - Method in class com.sun.xml.tree.XmlDocumentBuilder
LexicalEventListener callback, not for general application use.
startDocument() - Method in class org.xml.sax.HandlerBase
Receive notification of the beginning of the document.
startDocument() - Method in interface org.xml.sax.DocumentHandler
Receive notification of the beginning of a document.
startDocument() - Method in class com.sun.xml.tree.XmlDocumentBuilder
SAX DocumentHandler callback, not for general application use.
startDtd(String) - Method in interface com.sun.xml.parser.DtdEventListener
Receive notification of the beginning of a Document Type Declaration (DTD).
startElement(String, AttributeList) - Method in class org.xml.sax.HandlerBase
Receive notification of the start of an element.
startElement(String, AttributeList) - Method in interface org.xml.sax.DocumentHandler
Receive notification of the beginning of an element.
startElement(String, AttributeList) - Method in class com.sun.xml.tree.XmlDocumentBuilder
SAX DocumentHandler callback, not for general application use.
startParse(ParseContext) - Method in interface com.sun.xml.tree.XmlReadable
This is called before object children are parsed.
startParsedEntity(String) - Method in interface com.sun.xml.parser.LexicalEventListener
Receive notification that the named entity is being included in document content (not element attributes).
startParsedEntity(String) - Method in class com.sun.xml.tree.XmlDocumentBuilder
LexicalEventListener callback, not for general application use.
substringData(int, int) - Method in interface org.w3c.dom.CharacterData
Extracts a range of data from the node.

T

Text - interface org.w3c.dom.Text.
The Text interface represents the textual content (termed character data in XML) of an Element or Attr.
TEXT_NODE - Static variable in interface org.w3c.dom.Node
The node is a Text node.
toString() - Method in class com.sun.xml.tree.ElementNode
Returns the element and its content as a string, which includes all the markup embedded in this element.
TreeWalker - class com.sun.xml.tree.TreeWalker.
This class implements a preorder depth first walk over the tree rooted at a given DOM node.
TreeWalker(Node) - Constructor for class com.sun.xml.tree.TreeWalker
Constructs a tree walker starting at the given node.
trimToSize() - Method in class com.sun.xml.tree.ElementNode
 
trimToSize() - Method in interface com.sun.xml.tree.ElementEx
Requests that the element minimize the amount of space it uses, to conserve memory.

U

unparsedEntityDecl(String, String, String, String) - Method in class org.xml.sax.HandlerBase
Receive notification of an unparsed entity declaration.
unparsedEntityDecl(String, String, String, String) - Method in interface org.xml.sax.DTDHandler
Receive notification of an unparsed entity declaration event.

V

ValidatingParser - class com.sun.xml.parser.ValidatingParser.
This parser tests XML documents against the validity constraints specified in the XML 1.0 specification as it parses them.
ValidatingParser() - Constructor for class com.sun.xml.parser.ValidatingParser
Constructs a SAX parser object.
ValidatingParser(boolean) - Constructor for class com.sun.xml.parser.ValidatingParser
Constructs a SAX parser object, optionally assigning the error handler to report exceptions on recoverable errors (which include all validity errors) as well as fatal errors.

W

warning(SAXParseException) - Method in class org.xml.sax.HandlerBase
Receive notification of a parser warning.
warning(SAXParseException) - Method in interface org.xml.sax.ErrorHandler
Receive notification of a warning.
write(OutputStream) - Method in class com.sun.xml.tree.XmlDocument
Writes the document in UTF-8 character encoding, as a well formed XML construct.
write(Writer) - Method in class com.sun.xml.tree.ElementNode
Convenience method to construct a non-prettyprinting XML write context and call writeXml with it.
write(Writer) - Method in class com.sun.xml.tree.XmlDocument
Writes the document as a well formed XML construct.
write(Writer, String) - Method in class com.sun.xml.tree.XmlDocument
Writes the document in the specified encoding, and listing that encoding in the XML declaration.
writeChildrenXml(XmlWriteContext) - Method in class com.sun.xml.tree.XmlDocument
Writes all the child nodes of the document, following each one with the end-of-line string in use in this environment.
writeChildrenXml(XmlWriteContext) - Method in interface com.sun.xml.tree.XmlWritable
Used to write any children of a node.
writeXml(XmlWriteContext) - Method in class com.sun.xml.tree.ElementNode
Writes this element and all of its children out, as well formed XML.
writeXml(XmlWriteContext) - Method in class com.sun.xml.tree.XmlDocument
Writes the document out using the specified context, using an encoding name derived from the stream in the context where that is possible.
writeXml(XmlWriteContext) - Method in interface com.sun.xml.tree.XmlWritable
This is the primary method used to write an object and its children as XML text.
WRONG_DOCUMENT_ERR - Static variable in class org.w3c.dom.DOMException
If a node is used in a different document than the one that created it (that doesn't support it)

X

XmlChars - class com.sun.xml.util.XmlChars.
Methods in this class are used to determine whether characters may appear in certain roles in XML documents.
XmlDocument - class com.sun.xml.tree.XmlDocument.
This class implements the DOM Document interface, and also provides static factory methods to create document instances.
XmlDocument() - Constructor for class com.sun.xml.tree.XmlDocument
Constructs an empty document object.
XmlDocumentBuilder - class com.sun.xml.tree.XmlDocumentBuilder.
This class is a SAX DocumentHandler which converts a stream of parse events into an in-memory DOM document.
XmlDocumentBuilder() - Constructor for class com.sun.xml.tree.XmlDocumentBuilder
Default constructor is for use in conjunction with a SAX parser's DocumentHandler callback.
XmlNames - class com.sun.xml.util.XmlNames.
This class contains static methods used to determine whether identifiers may appear in certain roles in XML documents.
XmlReadable - interface com.sun.xml.tree.XmlReadable.
This interface is supported by XML documents and elements which wish to interact with DOM construction during parsing of XML documents.
XmlWritable - interface com.sun.xml.tree.XmlWritable.
Objects that can write themselves as XML text do so using this interface.
XmlWriteContext - class com.sun.xml.tree.XmlWriteContext.
This captures context used when writing XML text, such as state used to "pretty print" output or to identify entities which are defined.
XmlWriteContext(Writer) - Constructor for class com.sun.xml.tree.XmlWriteContext
Constructs a write context that doesn't pretty-print output.
XmlWriteContext(Writer, int) - Constructor for class com.sun.xml.tree.XmlWriteContext
Constructs a write context that supports pretty-printing output starting at the specified number of spaces.

A C D E F G H I L M N O P R S T U V W X

Submit Feedback to xml-feedback@java.sun.com
Copyright © 1998-1999 Sun Microsystems, Inc. All Rights Reserved.

Sun Microsystems, Inc.
901 San Antonio Road
Palo Alto, California, 94303, U.S.A.