* Merging updateable_collections branch (with a few changes along the way)
This commit is contained in:
parent
d4ac3d2726
commit
852543386c
13 changed files with 1607 additions and 115 deletions
|
@ -43,7 +43,7 @@ public final class XmlDatabaseReader extends DefaultHandler implements XmlConsta
|
|||
private String elementName = null;
|
||||
private StringBuffer charBuffer = null;
|
||||
Hashtable propMap = null;
|
||||
List subnodes = null;
|
||||
SubnodeList subnodes = null;
|
||||
|
||||
/**
|
||||
* Creates a new XmlDatabaseReader object.
|
||||
|
@ -121,11 +121,10 @@ public final class XmlDatabaseReader extends DefaultHandler implements XmlConsta
|
|||
|
||||
if ("hop:child".equals(qName)) {
|
||||
if (subnodes == null) {
|
||||
subnodes = new ExternalizableVector();
|
||||
currentNode.setSubnodes(subnodes);
|
||||
subnodes = currentNode.createSubnodeList();
|
||||
}
|
||||
|
||||
subnodes.add(handle);
|
||||
subnodes.addSorted(handle);
|
||||
} else if ("hop:parent".equals(qName)) {
|
||||
currentNode.setParentHandle(handle);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue