Uses of Class
nu.xom.Document
-
Packages that use Document Package Description nu.xom nu.xomis 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 nu.xom.converterscontains classes that convert XOM documents to other models such as SAX and DOM.nu.xom.tests nu.xom.testscontains the JUnit based test suite for XOM.nu.xom.xinclude nu.xom.xincludesupports XInclude processing of XOM documents and elements.nu.xom.xslt nu.xom.xsltconnects XOM documents to TrAX-based XSLT processors. -
-
Uses of Document in nu.xom
Methods in nu.xom that return Document Modifier and Type Method Description DocumentBuilder. build(java.io.File in)Reads the document from a file.DocumentBuilder. build(java.io.InputStream in)Reads the document from an input stream.DocumentBuilder. build(java.io.InputStream in, java.lang.String baseURI)Reads the document from an input stream while specifying a base URI (which need not be the stream's actual URI).DocumentBuilder. build(java.io.Reader in)Reads the document from a reader.DocumentBuilder. build(java.io.Reader in, java.lang.String baseURI)Reads the document from a character stream while specifying a base URI.DocumentBuilder. build(java.lang.String systemID)Parses the document at the specified URL.DocumentBuilder. build(java.lang.String document, java.lang.String baseURI)Reads the document from the contents of a string.DocumentDocument. copy()Returns a complete copy of this document.DocumentNode. getDocument()Returns the document that contains this node, or null if this node is not currently part of a document.DocumentValidityException. getDocument()Returns aDocumentobject for the document that caused this exception.DocumentNodeFactory. startMakingDocument()Creates a newDocumentobject.Methods in nu.xom with parameters of type Document Modifier and Type Method Description voidNodeFactory. finishMakingDocument(Document document)Signals the end of a document.voidSerializer. write(Document doc)Serializes a document onto the output stream using the current options.Constructors in nu.xom with parameters of type Document Constructor Description Document(Document doc)Creates a copy of this document. -
Uses of Document in nu.xom.converters
Methods in nu.xom.converters that return Document Modifier and Type Method Description static DocumentDOMConverter. convert(org.w3c.dom.Document domDocument)Translates a DOMorg.w3c.dom.Documentobject into an equivalentnu.xom.Documentobject.static DocumentDOMConverter. convert(org.w3c.dom.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 Modifier and Type Method Description static org.w3c.dom.DocumentDOMConverter. convert(Document document, org.w3c.dom.DOMImplementation impl)Translates a XOMnu.xom.Documentobject into an equivalentorg.w3c.dom.Documentobject.voidSAXConverter. convert(Document doc)Feed a document through this converter. -
Uses of Document in nu.xom.tests
Methods in nu.xom.tests with parameters of type Document Modifier and Type Method Description static voidXOMTestCase. assertEquals(java.lang.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 Document Modifier and Type Method Description static DocumentXIncluder. resolve(Document in)Returns a copy of the document in which allxinclude:includeelements have been replaced by their referenced content.static DocumentXIncluder. resolve(Document in, Builder builder)Returns 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 Document Modifier and Type Method Description static DocumentXIncluder. resolve(Document in)Returns a copy of the document in which allxinclude:includeelements have been replaced by their referenced content.static DocumentXIncluder. resolve(Document in, Builder builder)Returns 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 Document Modifier and Type Method Description static DocumentXSLTransform. toDocument(Nodes nodes)Builds aDocumentobject from aNodesobject.Methods in nu.xom.xslt with parameters of type Document Modifier and Type Method Description NodesXSLTransform. transform(Document in)Creates a newNodesfrom the inputDocumentby applying this object's stylesheet.Constructors in nu.xom.xslt with parameters of type Document Constructor Description XSLTransform(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.
-