Uses of Class
nu.xom.Document
Packages that use Document
Package
Description
nu.xom is the core package of XOM
that contains all the basic classes representing the different kinds
of nodes: elements, attributes, comments, text nodes, and so forth.nu.xom.converters contains
classes that convert XOM documents to other
models such as SAX and DOM.nu.xom.tests contains the JUnit
based test suite for XOM.nu.xom.xinclude supports XInclude processing of XOM documents and elements.nu.xom.xslt connects
XOM documents to TrAX-based XSLT processors.-
Uses of Document in nu.xom
Modifier and TypeMethodDescriptionReads the document from a file.Builder.build(InputStream in) Reads the document from an input stream.Builder.build(InputStream in, String baseURI) Reads the document from an input stream while specifying a base URI (which need not be the stream's actual URI).Reads the document from a reader.Reads the document from a character stream while specifying a base URI.Parses the document at the specified URL.Reads the document from the contents of a string.Document.copy()Returns a complete copy of this document.final DocumentNode.getDocument()Returns the document that contains this node, or null if this node is not currently part of a document.ValidityException.getDocument()Returns aDocumentobject for the document that caused this exception.NodeFactory.startMakingDocument()Creates a newDocumentobject.Modifier and TypeMethodDescriptionvoidNodeFactory.finishMakingDocument(Document document) Signals the end of a document.voidSerializes a document onto the output stream using the current options. -
Uses of Document in nu.xom.converters
Methods in nu.xom.converters that return DocumentModifier and TypeMethodDescriptionstatic DocumentTranslates a DOMorg.w3c.dom.Documentobject into an equivalentnu.xom.Documentobject.static DocumentDOMConverter.convert(Document domDocument, NodeFactory factory) Translates a DOMorg.w3c.dom.Documentobject into an equivalentnu.xom.Documentobject as controlled by a factory.Methods in nu.xom.converters with parameters of type Document -
Uses of Document in nu.xom.tests
Methods in nu.xom.tests with parameters of type DocumentModifier and TypeMethodDescriptionstatic voidXOMTestCase.assertEquals(String message, Document expected, Document actual) Asserts that two document nodes are equal.static voidXOMTestCase.assertEquals(Document expected, Document actual) Asserts that two document nodes are equal. -
Uses of Document in nu.xom.xinclude
Methods in nu.xom.xinclude that return DocumentModifier and TypeMethodDescriptionstatic DocumentReturns a copy of the document in which allxinclude:includeelements have been replaced by their referenced content.static DocumentReturns a copy of the document in which allxinclude:includeelements have been replaced by their referenced content as loaded by the builder.Methods in nu.xom.xinclude with parameters of type DocumentModifier and TypeMethodDescriptionstatic DocumentReturns a copy of the document in which allxinclude:includeelements have been replaced by their referenced content.static DocumentReturns a copy of the document in which allxinclude:includeelements have been replaced by their referenced content as loaded by the builder.static voidXIncluder.resolveInPlace(Document in) Modifies a document by replacing allxinclude:includeelements by their referenced content.static voidXIncluder.resolveInPlace(Document in, Builder builder) Modifies a document by replacing allxinclude:includeelements with their referenced content as loaded by the builder. -
Uses of Document in nu.xom.xslt
Methods in nu.xom.xslt that return DocumentModifier and TypeMethodDescriptionstatic DocumentXSLTransform.toDocument(Nodes nodes) Builds aDocumentobject from aNodesobject.Methods in nu.xom.xslt with parameters of type DocumentModifier and TypeMethodDescriptionCreates a newNodesfrom the inputDocumentby applying this object's stylesheet.Constructors in nu.xom.xslt with parameters of type DocumentModifierConstructorDescriptionXSLTransform(Document stylesheet) Creates a newXSLTransformby reading the stylesheet from the supplied document.XSLTransform(Document stylesheet, NodeFactory factory) Creates a newXSLTransformby reading the stylesheet from the supplied document.