org.eigenbase.xom
Interface DOMWrapper

DOMWrapper implements a Wrapper around the Element class from any DOM-style
XML parser. The wrapper is used to isolate ElementParser, ElementDef, and
all ElementDef subclasses from the specifics of the underlying XML
parser.

Field Summary

static int

CDATA
CDATA is a type of DOM Element representing a piece of text embedded in
a CDATA section, for example,
<![CDATA[Some text]]>.

UNKNOWN

FREETEXT

FREETEXT is a type of DOM Element representing a piece of text (but not
a CDATA section). For example, Some text. FREETEXT
elements always have a tag name of NULL and have no children. It
maps to a TextDef.

COMMENT

CDATA

CDATA is a type of DOM Element representing a piece of text embedded in
a CDATA section, for example,
<![CDATA[Some text]]>.
CDATA elements always have a tag name of NULL and have no children. It
maps to a CdataDef.

getAttributeNames

getText

Returns a flattened representation of the text inside thie element.
For a TEXT element, this returns the text itself. For an ELEMENT
element, this returns all pieces of text within the element,
with all markup removed.