# All Classes and Interfaces

Class
Description
AbstractGenerator
Abstract base for all generators.
AbstractJavaGenerator
Abstract base for all generators which generate Java code.
Annotator
Quick and dirty XML parser that finds the precise start and end position of all nodes in a document.
Any
An element which has 'Any' content.
AssertFailure
todo:
CdataDef
A `CdataDef` represents a CDATA element.
CommentDef
todo:
CppGenerator
Generates a C++ class containing resource definitions.
CppHeaderGenerator
Generates a C++ header file containing resource definitions.
DefWalker
DefWalker is a class designed to help users of plugin elements and elements with content type ANY.
DOMElementParser
DOMElementParser is a utility wrapper around DOMWrapper.
DOMWrapper
DOMWrapper implements a Wrapper around the Element class from any DOM-style XML parser.
ElementDef
ElementDef is the base class for all element definitions.
FileTask
Abstract base class for an Ant task which processes a file containing resources.
Generator
A generator converts a set of resource definitions to a piece of code.
GenericDef
A `GenericDef` is a `ElementDef` whose attributes and children are stored in collections, not generated members.
GenericDOMParser
A `GenericDOMParser` is an abstract base class for `XercesDOMParser` and `JaxpDOMParser`.
JavaBaseGenerator
Generates a Java class for the base locale.
JavaFunctorBaseGenerator
Generates a Java class for the base locale, using the 'functor' code-generation style.
JavaLocaleGenerator
Generates a Java class for a locale.
JaxpDOMParser
A `JaxpDOMParser` implements `Parser` using a `JAXP-compliant parser`.
Location
Represents the location of a node within its document.
Locator
Callback to find the location of a node within its document.
MetaDef
This model is the XOM Meta Model.
MetaDef.Any
The Any content is a special marker which allows an Element to contain any type of data.
MetaDef.Array
An Array is a set of multiple instances of Elements.
MetaDef.Attribute
The Attribute entity appears within any Element definition.
MetaDef.CData
The CData content is a special marker which allows an Element to contain a single CDATA section as its only content, yet still have attributes.
MetaDef.Class
A Class Definition defines a class of entities.
MetaDef.Content
The Content class contains all entities which represent types of content which may appear within an Element.
MetaDef.Definition
The Definition class represents a generic type of element definition.
MetaDef.Element
An Element Definition defines a basic entity of the meta model.
MetaDef.FullDefinition
The FullDefinition class represents a fully-specified definition that may include content.
MetaDef.Import
An Import as a special type of element that represents another element stored in an external model.
MetaDef.Model
Model is the top-level element for a model description.
MetaDef.Object
An Object is a single instance of an Element type.
MetaDef.Plugin
A Plugin in a special type of element whose content may be derived from a different model.
MetaDef.StringElement
A StringElement is a simple type of element which has no attributes and whose content is a single String (usually represented as a CDATA section).
MetaGenerator
`MetaGenerator` is a utility class which reads a XOM Meta Model description in XML and generates the corresponding .dtd and .java definition files.
MetaTester
The MetaTester class is a utility class for testing generated models.
NodeDef
`NodeDef` represents a node in a parse tree.
Parser
The `Parser` interface abstracts the behavior which the `org.eigenbase.xom` package needs from an XML parser.
ParserTester
Test the MSParser
PropertiesFileTask
Ant task which processes a properties file and generates a C++ or Java class from the resources in it.
Resource
A `Resource` is a collection of messages for a particular software component and locale.
ResourceDef
This model specifies the elements which make up a resource file.
ResourceDef.Code
ResourceDef.Exception
An exception defines a message which is issued in response to some invalid condition.
ResourceDef.Message
A message.
ResourceDef.Property
ResourceDef.Resource
ResourceDef.ResourceBundle
A ResourceBundle is a collection of resources.
ResourceDef.Text
ResourceDefinition
Definition of a resource such as a parameterized message or exception.
ResourceGen
`ResourceGen` parses an XML file containing error messages, and generates .java file to access the errors.
ResourceGenTask
A `ResourceGenTask` is an ANT task to invoke the Eigenbase Resource Generator.
ResourceGenTask.Include
`Include` implements <include> element nested within a <resgen> task (see `ResourceGenTask`).
ResourceInstance
A `ResourceInstance` is an occurrence of a `ResourceDefinition` with a set of arguments.
ShadowResourceBundle
`ShadowResourceBundle` is an abstract base class for `ResourceBundle` classes which are backed by a properties file.
ShadowResourceBundle.MyPropertyResourceBundle
StringEscaper
`StringEscaper` is a utility for replacing special characters with escape sequences in strings.
TextDef
A `TextDef` represents piece of textual data in an XML document.
Util
Miscellaneous utility methods for the `org.eigenbase.resgen` package, all them `static` and package-private.
Util.DummyPrintStream
So we know to avoid recursively calling `Util.printStackTrace(Throwable,PrintStream)`.
Util.DummyPrintWriter
So we know to avoid recursively calling `Util.printStackTrace(Throwable,java.io.PrintWriter)`.
W3CDOMWrapper
This implementation of DOMWrapper wraps any w3c DOM-compliant java XML Parser.
WrapperElementDef
`WrapperElementDef` is an `ElementDef` which retains the underlying XML `DOMWrapper`.
XercesDOMParser
This private helper class presents a GenericDOMParser using Xerces, with simple error handling appropriate for a testing environment.
XMLAttrVector
XMLAttrVector is an class which assists in writing XML attributes to a stream.
XmlFileTask
Ant task which processes an XML file and generates a C++ or Java class from the resources in it.
XMLOutput
XMLOutput is a class which implements streaming XML output.
XMLUtil
Utilities for dealing with XML data.
XOMException
XOMException extends Exception and provides detailed error messages for xom-specific exceptions.
XOMGenTask
`XOMGenTask` is an ANT task with which to invoke `MetaGenerator`.
XomTest
Unit tests for XOM module.
XOMUtil
Utility functions for the `org.eigenbase.xom` and `org.eigenbase.xom.wrappers` packages.