Package | Description |
---|---|
nu.xom |
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.xinclude |
nu.xom.xinclude supports XInclude processing of XOM documents and elements. |
Modifier and Type | Class and Description |
---|---|
class |
ValidityException
Signals a validity error in a document being parsed.
|
Modifier and Type | Method and Description |
---|---|
Document |
Builder.build(java.io.File in)
Reads the document from a file.
|
Document |
Builder.build(java.io.InputStream in)
Reads the document from an input stream.
|
Document |
Builder.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).
|
Document |
Builder.build(java.io.Reader in)
Reads the document from a reader.
|
Document |
Builder.build(java.io.Reader in,
java.lang.String baseURI)
Reads the document from a character stream while
specifying a base URI.
|
Document |
Builder.build(java.lang.String systemID)
Parses the document at the specified URL.
|
Document |
Builder.build(java.lang.String document,
java.lang.String baseURI)
Reads the document from the contents of a string.
|
Modifier and Type | Method and Description |
---|---|
static Document |
XIncluder.resolve(Document in)
Returns a copy of the document in which all
xinclude:include elements have been
replaced by their referenced content. |
static Document |
XIncluder.resolve(Document in,
Builder builder)
Returns a copy of the document in which all
xinclude:include elements have been
replaced by their referenced content as loaded by the builder. |
static void |
XIncluder.resolveInPlace(Document in)
Modifies a document by replacing all
xinclude:include elements
by their referenced content. |
static void |
XIncluder.resolveInPlace(Document in,
Builder builder)
Modifies a document by replacing all
xinclude:include elements with their referenced
content as loaded by the builder. |
Copyright 2002-2009 Elliotte Rusty Harold
elharo@metalab.unc.edu