|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttreebolic.provider.xml.graph.AbstractParser
public abstract class AbstractParser
Graph parser
| Constructor Summary | |
|---|---|
AbstractParser()
|
|
| Method Summary | |
|---|---|
protected static org.w3c.dom.Element |
getFirstElementByTagName(org.w3c.dom.Element thisElement,
java.lang.String thisTagName)
Find DOM element with given tag |
protected static org.w3c.dom.Element |
getFirstLevel1ElementByTagName(org.w3c.dom.Element thisElement,
java.lang.String thisTagName)
Find DOM element with given tag among first level children |
protected static java.util.List<org.w3c.dom.Element> |
getLevel1ChildElementsByTagName(org.w3c.dom.Element thisElement,
java.lang.String thisTagName)
Find DOM elements with given tag among first level children |
protected abstract Graph |
parseGraph(org.w3c.dom.Document thisDocument)
Parse graph from DOM document |
Model |
parseModel(java.net.URL thisUrl)
Parse model |
protected abstract Settings |
parseSettings(org.w3c.dom.Document thisDocument)
Parse settings from DOM document |
private Tree |
parseTree(org.w3c.dom.Document thisDocument)
Parse tree from document |
Tree |
parseTree(java.net.URL thisUrl)
Parse tree from url |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractParser()
| Method Detail |
|---|
protected abstract Graph parseGraph(org.w3c.dom.Document thisDocument)
protected abstract Settings parseSettings(org.w3c.dom.Document thisDocument)
public Model parseModel(java.net.URL thisUrl)
public Tree parseTree(java.net.URL thisUrl)
private Tree parseTree(org.w3c.dom.Document thisDocument)
protected static org.w3c.dom.Element getFirstElementByTagName(org.w3c.dom.Element thisElement,
java.lang.String thisTagName)
thisElement - starting DOM elementthisTagName - tag
protected static org.w3c.dom.Element getFirstLevel1ElementByTagName(org.w3c.dom.Element thisElement,
java.lang.String thisTagName)
thisElement - starting DOM elementthisTagName - tag
protected static java.util.List<org.w3c.dom.Element> getLevel1ChildElementsByTagName(org.w3c.dom.Element thisElement,
java.lang.String thisTagName)
thisElement - starting DOM elementthisTagName - tag
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||