Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.enhydra.xml.xmlc.dom.generic: Javadoc index of package org.enhydra.xml.xmlc.dom.generic.


Package Samples:

org.enhydra.xml.xmlc.dom.generic

Classes:

DOMBuilderGenerator: Class to generate code to build the document tree using only the W3C DOM interface. The document building code is generated in several functions to avoid the JVM limit on maximum method size. Since it is not possible to determine the amount of bytecode generate, a metic is defined called create-cost . A unit of create-cost is approximately the cost to create a node and append it to it's parent. The limit on create-cost is determined experimentally. The following methods can be overridden to provide DOM implementation-specific code generation: genNodeCreate - Generates code to create a node.
BuildMethodMappings: Class to calculate which elements are to have build methods created for them based on trying to optimize the amount of code (create-cost) in each build methods without overflowing the maximum create-cost. The advantage of this object determining where build methods are created in a seperate traversal from creating the build methods is that the determination is best down from the bottom up, which creating the methods is done top-down. The seperation also keeps the code cleaner and easier to understand. The cost is building an intermediate table.
GenericDocBuilderGenerator: Class to generate code to build the document tree using only the W3C DOM interface. The document building code is generated in several functions to avoid the limit on the maximum size of a method.
GenericAccessorGenerator: Generate access methods for a DOM only using the W3C DOM. Many methods in the class are protected so it can be used as a base for other AccessorGenerator classes.
NodeCreateGenerator: Class used create a DOM nodes. This maybe extended by a class needing to create nodes in a different
GenericDocCreateGenerator: Class to create code that creates documents using XMLCDomFactory objects.

Home | Contact Us | Privacy Policy | Terms of Service