|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttreebolic.provider.xml.graph.AbstractProvider
public abstract class AbstractProvider
Graph provider
Field Summary | |
---|---|
protected IProviderContext |
theContext
Provider client |
Constructor Summary | |
---|---|
AbstractProvider()
Constructor |
Method Summary | |
---|---|
void |
connect(IProviderContext thisContext)
Called by framework to pass context reference (may default to void action if provider does not need it) |
abstract AbstractParser |
getParser()
Get parser |
abstract java.lang.String |
getSource(java.lang.String thisSource)
Fallback hook to determine source |
Model |
makeModel(java.lang.String thatSource)
Make model |
Tree |
makeTree(java.lang.String thatSource,
boolean checkRecursion)
Make tree. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected IProviderContext theContext
Constructor Detail |
---|
public AbstractProvider()
Method Detail |
---|
public abstract java.lang.String getSource(java.lang.String thisSource)
thisSource
- passed source
public abstract AbstractParser getParser()
public void connect(IProviderContext thisContext)
IProvider
connect
in interface IProvider
thisContext
- contextpublic Model makeModel(java.lang.String thatSource)
IProvider
makeModel
in interface IProvider
thatSource
- source (a string that refers to the data in a was that the provider implementation will understand)
public Tree makeTree(java.lang.String thatSource, boolean checkRecursion)
IProvider
makeTree
in interface IProvider
thatSource
- 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |