Uses of Class
nu.xom.DocType
Packages that use DocType
Package
Description
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
contains
classes that convert XOM documents to other
models such as SAX and DOM.nu.xom.tests
contains the JUnit
based test suite for XOM.-
Uses of DocType in nu.xom
Modifier and TypeMethodDescriptionfinal DocType
Document.getDocType()
Returns this document's document type declaration, or null if it doesn't have one.Modifier and TypeMethodDescriptionvoid
Document.setDocType
(DocType doctype) Sets this document's document type declaration.protected void
Writes aDocType
object onto the output stream using the current options. -
Uses of DocType in nu.xom.converters
Methods in nu.xom.converters that return DocTypeModifier and TypeMethodDescriptionstatic DocType
DOMConverter.convert
(DocumentType doctype) Translates a DOMorg.w3c.dom.DocumentType
object into an equivalentnu.xom.DocType
object. -
Uses of DocType in nu.xom.tests
Methods in nu.xom.tests with parameters of type DocTypeModifier and TypeMethodDescriptionstatic void
XOMTestCase.assertEquals
(String message, DocType expected, DocType actual) Asserts that twoDocType
nodes are equal.static void
XOMTestCase.assertEquals
(DocType expected, DocType actual) Asserts that twoDocType
nodes are equal.