Package net.sf.vex.dom

Classes implementing an object model for XML documents.

See:
          Description

Interface Summary
Content Interface for classes that manage a string of characters representing the content of a document.
DFABuilder.Node Node represents a node in an abstract syntax tree.
DocumentListener Receives notifications of document changes.
Position Represents a logical location in a document.
Validator Represents an object that can validate the structure of a document.
 

Class Summary
AbstractValidator Partial implementation of the Validator interface.
AttributeDefinition AttributeDefinition represents an attribute definition in a DTD.
AttributeDefinition.Type Enumeration of attribute types.
DFABuilder Tools for building a deterministic finite automaton (DFA) recognizer for regular expression-like languages.
DFAState Represents a state in a deterministic finite automaton (DFA).
Document Represents an XML document.
DocumentBuilder A SAX handler that builds a Vex document.
DocumentEvent Encapsulation of the details of a document change
DocumentFactory Class for creating documents given a URL.
DocumentFragment Represents a fragment of an XML document.
DTDValidator A validator driven by a DTD.
Element Element represents a tag in an XML document.
GapContent Implementation of the Content interface that manages changes efficiently.
Node Node represents a component of an XML document.
RootElement The root element of a document.
Text Text represents a run of text in a document.
TextWrapper Wraps text to a given width.
 

Exception Summary
DocumentValidationException Exception thrown when an change would have compromised document validity.
 

Package net.sf.vex.dom Description

Classes implementing an object model for XML documents. The classes in this package are designed to be similar to those in the JDOM library. However, this package is unique in that content is represented by one single string of characters for the entire document. Implementing the model in this way simplifies the editor implementation.

This package depends on the javax.swing.text package, since it uses the GapContent class to store its content.