Package org.apache.xml.utils

Implementation of Xalan utility classes. This package is also shared by XPath. There *should* be no outward dependencies to XPath or Xalan by classes in this package.

  • Interface Summary
    Interface Description
    DOMOrder Deprecated.
    Since the introduction of the DTM, this class will be removed.
    NodeConsumer
    The tree walker will test for this interface, and call setOriginatingNode before calling the SAX event.
    PrefixResolver
    The class that implements this interface can resolve prefixes to namespaces.
    XMLString
    This class is meant to be an interface to character strings, whether they be java Strings or org.apache.xml.utils.FastStringBuffers, or other character data.
  • Class Summary
    Class Description
    AttList
    Wraps a DOM attribute list in a SAX Attributes.
    BoolStack
    Simple stack for boolean values.
    Constants
    Primary constants used by the XSLT Processor
    DefaultErrorHandler
    Implement SAX error handler for default reporting.
    DOM2Helper Deprecated.
    Since the introduction of the DTM, this class will be removed.
    DOMBuilder
    This class takes SAX events (in addition to some extra events that SAX doesn't handle yet) and adds the result to a document or document fragment.
    DOMHelper Deprecated.
    Since the introduction of the DTM, this class will be removed.
    FastStringBuffer
    Bare-bones, unsafe, fast string buffer.
    IntStack
    Implement a stack of simple integers.
    IntVector
    A very simple table that stores a list of int.
    NameSpace
    A representation of a namespace.
    NamespaceSupport2
    Encapsulate Namespace tracking logic for use by SAX drivers.
    NodeVector
    A very simple table that stores a list of Nodes.
    NSInfo
    This class holds information about the namespace info of a node.
    ObjectPool
    Pool of object of a given type to pick from to help memory usage
    ObjectStack
    Implement a stack of simple integers.
    ObjectVector
    A very simple table that stores a list of objects.
    PrefixResolverDefault
    This class implements a generic PrefixResolver that can be used to perform prefix-to-namespace lookup for the XPath object.
    QName
    Class to represent a qualified name: "The name of an internal XSLT object, specifically a named template (see [7 Named Templates]), a mode (see [6.7 Modes]), an attribute set (see [8.1.4 Named Attribute Sets]), a key (see [14.2 Keys]), a locale (see [14.3 Number Formatting]), a variable or a parameter (see [12 Variables and Parameters]) is specified as a QName.
    SAXSourceLocator
    Class SAXSourceLocator extends org.xml.sax.helpers.LocatorImpl for the purpose of implementing the SourceLocator interface, and thus can be both a SourceLocator and a SAX Locator.
    StringBufferPool
    This class pools string buffers, since they are reused so often.
    StringToIntTable
    A very simple lookup table that stores a list of strings, the even number strings being keys, and the odd number strings being values.
    StringVector
    A very simple table that stores a list of strings, optimized for small lists.
    StylesheetPIHandler
    Search for the xml-stylesheet processing instructions in an XML document.
    SuballocatedIntVector
    A very simple table that stores a list of int.
    SystemIDResolver
    This class is used to resolve relative URIs and SystemID strings into absolute URIs.
    ThreadControllerWrapper
    A utility class that wraps the ThreadController, which is used by IncrementalSAXSource for the incremental building of DTM.
    ThreadControllerWrapper.ThreadController
    Thread controller utility class for incremental SAX source.
    TreeWalker
    This class does a pre-order walk of the DOM tree, calling a ContentHandler interface as it goes.
    UnImplNode
    To be subclassed by classes that wish to fake being nodes.
    URI
    A class to represent a Uniform Resource Identifier (URI).
    XML11Char
    THIS IS A COPY OF THE XERCES-2J CLASS org.apache.xerces.utls.XMLChar This class defines the basic properties of characters in XML 1.1.
    XMLChar
    This class defines the basic XML character properties.
    XMLCharacterRecognizer
    Class used to verify whether the specified ch conforms to the XML 1.0 definition of whitespace.
    XMLReaderManager
    Creates XMLReader objects and caches them for re-use.
    XMLStringDefault
    The default implementation of the XMLString interface, which is just a simple wrapper of a String object.
    XMLStringFactory
    A concrete class that implements this interface creates XMLString objects.
  • Exception Summary
    Exception Description
    StopParseException
    This is a special exception that is used to stop parsing when search for an element.
    URI.MalformedURIException
    MalformedURIExceptions are thrown in the process of building a URI or setting fields on a URI when an operation would result in an invalid URI specification.
    WrappedRuntimeException
    This class is for throwing important checked exceptions over non-checked methods.