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 |
---|---|
DocType | Document.getDocType()
Returns this document's document type declaration,
or null if it doesn't have one.
|
Modifier and Type | Method and Description |
---|---|
void | Document.setDocType(DocType doctype)
Sets this document's document type declaration.
|
protected void | Serializer.write(DocType doctype)
Writes a
DocType object
onto the output stream using the current options. |
Constructor and Description |
---|
DocType(DocType doctype)
Creates a new
DocType that's a copy of its
argument. |
Modifier and Type | Method and Description |
---|---|
static DocType | DOMConverter.convert(org.w3c.dom.DocumentType doctype)
Translates a DOM
org.w3c.dom.DocumentType
object into an equivalent nu.xom.DocType object. |
Modifier and Type | Method and Description |
---|---|
static void | XOMTestCase.assertEquals(DocType expected,
DocType actual)
Asserts that two
DocType nodes are equal. |
static void | XOMTestCase.assertEquals(String message,
DocType expected,
DocType actual)
Asserts that two
DocType nodes are equal. |
Copyright 2002-2023 Elliotte Rusty Harold
elharo@ibiblio.org