|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jtreemap.ktreemap.TreeMapNodeBuilder
net.sf.jtreemap.ktreemap.example.BuilderXML
public class BuilderXML
Parse a XML file to build the tree.

| Constructor Summary | |
|---|---|
BuilderXML(java.io.File file)
Constructor |
|
| Method Summary | |
|---|---|
double |
getWeight(java.lang.Object value)
Return the weight of an Object. |
| Methods inherited from class net.sf.jtreemap.ktreemap.TreeMapNodeBuilder |
|---|
buildBranch, buildLeaf, getRoot |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuilderXML(java.io.File file)
throws java.text.ParseException
java.text.ParseException - if the file don't correspond to the TreeMap.dtdfile - XML file name| Method Detail |
|---|
public double getWeight(java.lang.Object value)
TreeMapNodeBuilder
getWeight in class TreeMapNodeBuildervalue - the object (generaly, the TreeMapNode.getValue())
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||