|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.catalina.storeconfig.StoreFactoryBase
StoreFactory saves spezial elements. Output was generate with StoreAppenders.
Field Summary | |
protected static StringManager |
sm
The string manager for this package. |
Constructor Summary | |
StoreFactoryBase()
|
Method Summary | |
java.lang.String |
getInfo()
Return descriptive information about this Facotry implementation and the corresponding version number, in the format <description>/<version> . |
StoreRegistry |
getRegistry()
|
StoreAppender |
getStoreAppender()
|
void |
setRegistry(StoreRegistry aRegistry)
|
void |
setStoreAppender(StoreAppender storeAppender)
|
void |
store(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aElement)
|
void |
storeChilds(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aElement,
StoreDescription elementDesc)
Must Implement at subclass for sepzial store childs handling |
protected void |
storeElement(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aTagElement)
Store only elements from storeChilds methods that are not a transient child. |
protected void |
storeElementArray(java.io.PrintWriter aWriter,
int indent,
java.lang.Object[] elements)
|
void |
storeXMLHead(java.io.PrintWriter aWriter)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final StringManager sm
Constructor Detail |
public StoreFactoryBase()
Method Detail |
public java.lang.String getInfo()
<description>/<version>
.
public StoreAppender getStoreAppender()
getStoreAppender
in interface IStoreFactory
public void setStoreAppender(StoreAppender storeAppender)
setStoreAppender
in interface IStoreFactory
storeAppender
- The storeAppender to set.public void setRegistry(StoreRegistry aRegistry)
setRegistry
in interface IStoreFactory
public StoreRegistry getRegistry()
getRegistry
in interface IStoreFactory
public void storeXMLHead(java.io.PrintWriter aWriter)
storeXMLHead
in interface IStoreFactory
public void store(java.io.PrintWriter aWriter, int indent, java.lang.Object aElement) throws java.lang.Exception
store
in interface IStoreFactory
java.lang.Exception
public void storeChilds(java.io.PrintWriter aWriter, int indent, java.lang.Object aElement, StoreDescription elementDesc) throws java.lang.Exception
aWriter
- indent
- aElement
- elementDesc
-
java.lang.Exception
protected void storeElement(java.io.PrintWriter aWriter, int indent, java.lang.Object aTagElement) throws java.lang.Exception
aWriter
- current output writerindent
- indentation levelaTagElement
- current tomcat element
java.lang.Exception
protected void storeElementArray(java.io.PrintWriter aWriter, int indent, java.lang.Object[] elements) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |