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.converters |
nu.xom.converters contains
classes that convert XOM documents to other
models such as SAX and DOM. |
nu.xom.tests |
nu.xom.tests contains the JUnit
based test suite for XOM. |
Modifier and Type | Method and Description |
---|---|
Text | Text.copy()
Returns a deep copy of this
Text with no parent,
that can be added to this document or a different one. |
Modifier and Type | Method and Description |
---|---|
protected void | Serializer.write(Text text)
Writes a
Text object
onto the output stream using the current options. |
Constructor and Description |
---|
Text(Text text)
Creates a copy of the specified
Text object. |
Modifier and Type | Method and Description |
---|---|
static Text | DOMConverter.convert(org.w3c.dom.Text text)
Translates a DOM
org.w3c.dom.Text object
into an equivalent nu.xom.Text . |
Modifier and Type | Method and Description |
---|---|
static void | XOMTestCase.assertEquals(String message,
Text expected,
Text actual)
Asserts that two text nodes are equal.
|
static void | XOMTestCase.assertEquals(Text expected,
Text actual)
Asserts that two text nodes are equal.
|
Copyright 2002-2023 Elliotte Rusty Harold
elharo@ibiblio.org