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 |
---|---|
Comment | Comment.copy()
Returns a deep copy of this
Comment object
which contains the same text, but does not have any parent. |
Modifier and Type | Method and Description |
---|---|
protected void | Serializer.write(Comment comment)
Writes a comment onto the output stream using the current
options.
|
Constructor and Description |
---|
Comment(Comment comment)
Creates a new comment that's a copy of its argument.
|
Modifier and Type | Method and Description |
---|---|
static Comment | DOMConverter.convert(org.w3c.dom.Comment comment)
Translates a DOM
org.w3c.dom.Comment object
into an equivalent nu.xom.Comment object. |
Modifier and Type | Method and Description |
---|---|
static void | XOMTestCase.assertEquals(Comment expected,
Comment actual)
Asserts that two comment nodes are equal.
|
static void | XOMTestCase.assertEquals(String message,
Comment expected,
Comment actual)
Asserts that two comment nodes are equal.
|
Copyright 2002-2023 Elliotte Rusty Harold
elharo@ibiblio.org