|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttreebolic.provider.xml.dom.Provider
public class Provider
Field Summary | |
---|---|
protected IProviderContext |
theContext
Context used to query for Url |
protected java.net.URL |
theUrl
Url |
Constructor Summary | |
---|---|
Provider()
Constructor |
Method Summary | |
---|---|
protected java.lang.String |
ask(java.lang.String thisMessage)
Ask |
void |
connect(IProviderContext thisContext)
Called by framework to pass context reference (may default to void action if provider does not need it) |
protected void |
inform(java.lang.String thisMessage)
Inform dialog |
protected org.w3c.dom.Document |
makeDocument(java.net.URL thisUrl)
Make DOM document from its Url |
Model |
makeModel(java.lang.String thisSource)
Make model |
protected Model |
makeModel(java.net.URL thisUrl)
Make model from url |
Tree |
makeTree(java.lang.String thisSource,
boolean checkRecursion)
Make tree. |
protected Tree |
makeTree(java.net.URL thisUrl)
Make tree from url |
private java.net.URL |
makeUrl(java.lang.String thisSource)
Make Url |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IProviderContext theContext
protected java.net.URL theUrl
Constructor Detail |
---|
public Provider()
Method Detail |
---|
public void connect(IProviderContext thisContext)
IProvider
connect
in interface IProvider
thisContext
- contextpublic Tree makeTree(java.lang.String thisSource, boolean checkRecursion)
IProvider
makeTree
in interface IProvider
thisSource
- source (a string that refers to the data in a was that the provider implementation will understand)checkRecursion
- whether immediate recursion is checked (avoid mount-now infinite recursion)
public Model makeModel(java.lang.String thisSource)
IProvider
makeModel
in interface IProvider
thisSource
- source (a string that refers to the data in a was that the provider implementation will understand)
private java.net.URL makeUrl(java.lang.String thisSource)
thisSource
- source
protected Model makeModel(java.net.URL thisUrl)
thisUrl
- url
protected Tree makeTree(java.net.URL thisUrl)
thisUrl
- url
protected org.w3c.dom.Document makeDocument(java.net.URL thisUrl)
thisUrl
- document url
protected java.lang.String ask(java.lang.String thisMessage)
thisMessage
- message
protected void inform(java.lang.String thisMessage)
thisMessage
- message
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |