Package org.osesb.utilities.xml

Utilities for parsing, validating, serializing, and handling other operations for XML.

See:
          Description

Class Summary
DefaultEntityResolver This Class is the ancestor of framework EntityResolver(s), which resolve schema references in XML documents and return an InputSource for the resolved entity.
DefaultErrorHandler The default parser error handler, which logs errors using the Log provider.
DocumentNamespaceHelper This Class uses SAX and SAXNamespaceExtractorHandler to extract namespace(s) from XML using the folowing methods:

Invoke getNamespaces() when parsing is complete.

DOMUtils Utilities for parsing with DOM.
Namespace This class encapsulates a namespace.
ParseSAX Methods for parsing with SAX.
SAXDefaultHandler This class is a basic DefaultHandler for parsing with SAX.
SAXMultipleElementHandler This DefaultHandler extracts the root and/or the first instance for each of the named elements in a document as org.osesb.utilities.xml.XMLElement(s).
SAXNamespaceExtractorHandler This DefaultHandler extracts all the declared NameSpace(s) in a XML document.
SAXSimpleHandler This class is an example of a SAXDefaultHandler for parsing with SAX.
SAXSingleElementHandler This DefaultHandler extracts the root or the first instance of a named element in a document as a org.osesb.utilities.xml.XMLElement.
SAXXPathElementHandler This DefaultHandler extends com.raritech.xml.sax.filter.TagTextExtractor to get the first or all occurrences of an Element defined by a XPath expression.
SchemaFileNameHelper This Class uses SAX to extract a schema file name from the schemaLocation or noNamespaceSchemaLocation attribute of the root element.
XercesVersion This class has two static methods to get Xerces and Xalan versions that are being loaded: getXercesVersion() attempts to call getVersion() on org.apache.xerces.impl.Version() getXalanVersion() attempts to call getVersion() on org.apache.xalan.Version() The JDK/JRE 1.4, JDK/JRE 5.0, and application server class loaders are known to load their preferred version of Xerces and Xalan.
XMLAttribute Wraps a XML Attribute for easy access to attribute properties (name, value, namespace, and type).
XMLDecodeString This class contains one static method which decodes XML encoded chars.
XMLElement Wraps a XML Element for easy access to name, value, and attributes.
XMLEncodeString This class contains one static method which encodes XML special chars.
XMLNode DOM Node JavaBean.
XMLParserConstants Frequently used constants for XML parsers.
XMLSchemaCache XSLSchemaCache extends SimpleCache with support jaxp v1.3 Schema objects, using XMLSchemaCacheEntry(s) to wrap Schema objects.
XMLSchemaCacheEntry XMLSchemaCacheEntry extends TextFileCacheEntry as cached entries for XMLSchemaCache.
XMLSerializer This Class uses JDOM to Serialize JDOM and DOM Documents.
 

Exception Summary
SchemaFileNameNotFoundException Exception thrown by SchemaFileNameHelper when the schema file name could not be found.
StopSAXParserException This descendant of SAXException is used to stop a SAX parser in a way that can be identified.
 

Package org.osesb.utilities.xml Description

Utilities for parsing, validating, serializing, and handling other operations for XML.