|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
org.enhydra.xml.xmlc.deferredparsing
provides support for deferred
parsing of *ML objects.
See:
Description
Interface Summary | |
DocumentLoader | Interface for creating a DOM by document name. |
DynamicMLCreator | |
ResourceLoader | An interface providing for abstraction of resource loading by
document loader implementations. |
Class Summary | |
Cache | A Cache for arbitrary objects. |
Cache.MRUCache | A simple class for holding references to the most recently used entries. |
DeferredParsingAccessorGenerator | Generate access methods for deferred parsing support. |
DeferredParsingDocBuilderGenerator | Class to generate code to build the document tree with support for deferred parsing. |
DocumentLoaderImpl | Default implementation of the DocumentLoader interface. |
DocumentLoaderImpl.CacheEntry | Helper class for storing cached DOMs |
DynamicClassLoader | |
DynamicMLCreatorASM3Impl | |
ResourceLoaderImpl | A resource loader implementation that looks up
candidatePaths from configured resource dirs with fall back to the classpath. |
StandardDocumentLoader | Standard implementation of the document loader for deferred parsing. |
XMLCCreateOptions | Provides options for XMLObject
creation . |
XMLCDeferredParsingFactory | Factory class to create instances of an XMLC-generated class with "deferred parsing". |
org.enhydra.xml.xmlc.deferredparsing
provides support for deferred
parsing of *ML objects.
"Deferred parsing" means that no support for creating a DOM
is compiled into the generated class. Instead, the generated class
obtains the DOM from a DocumentLoader
at creation time.
The main indications for using deferred parsing are:
ClassLoader.defineClass(byte[], int, int)
. The number of "fat" XMLC classes that can
be loaded seems to be proportional to the size of the individual *ML
templates and is completely independent of memory (heap and stack size) limits
for the virtual machine.
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |