|
|||||||||
| Home >> All >> org >> enhydra >> xml >> xmlc >> dom >> [ generic overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.enhydra.xml.xmlc.dom.generic
Class BuildMethodMappings.Record

java.lang.Objectorg.enhydra.xml.xmlc.dom.generic.BuildMethodMappings.Record
- All Implemented Interfaces:
- java.lang.Comparable
- Enclosing class:
- BuildMethodMappings
- private class BuildMethodMappings.Record
- extends java.lang.Object
- implements java.lang.Comparable
- extends java.lang.Object
Node record.
| Field Summary | |
boolean |
fChainedChildrenMethods
Should the children be created in a chained method? |
boolean |
fMethodRoot
Should this element be at the root of a build method? |
int |
fMethodTotalCost
The total cost to create this node and its children in this build method. |
int |
fMinMethodCost
The minimum cost to create this node in a method. |
org.w3c.dom.Node |
fNode
The node we are associated with. |
int |
fTreeTotalCost
The total cost to create this node and its children. |
| Constructor Summary | |
BuildMethodMappings.Record(org.w3c.dom.Node node)
Constructor. |
|
| Method Summary | |
int |
compareTo(java.lang.Object elem2)
Sort by method cost in descending order. |
java.lang.String |
toString()
Get string description for debugging. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
fNode
public org.w3c.dom.Node fNode
- The node we are associated with.
fMinMethodCost
public int fMinMethodCost
- The minimum cost to create this node in a method. This includes
non-element children and attribute costs, with element-children
costs being the cost to call another build method.
fMethodTotalCost
public int fMethodTotalCost
- The total cost to create this node and its children in this build
method. It includes calls to other build methods, but not the cost
in other build methods.
fTreeTotalCost
public int fTreeTotalCost
- The total cost to create this node and its children. This
includes cost in other build methods, but excludes the cost
of calls to other build methods. Its the cost to create the
tree to this point.
fMethodRoot
public boolean fMethodRoot
- Should this element be at the root of a build method?
fChainedChildrenMethods
public boolean fChainedChildrenMethods
- Should the children be created in a chained method?
| Constructor Detail |
BuildMethodMappings.Record
public BuildMethodMappings.Record(org.w3c.dom.Node node)
- Constructor. Initialize base costs.
| Method Detail |
compareTo
public int compareTo(java.lang.Object elem2)
- Sort by method cost in descending order. Allows this to be
this object ot be used as key and value in a SortedMap.
- Specified by:
compareToin interfacejava.lang.Comparable
toString
public java.lang.String toString()
- Get string description for debugging.
|
|||||||||
| Home >> All >> org >> enhydra >> xml >> xmlc >> dom >> [ generic overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.enhydra.xml.xmlc.dom.generic.BuildMethodMappings.Record