public class StoreFactoryBase extends Object implements IStoreFactory
| Modifier and Type | Field and Description |
|---|---|
protected static StringManager |
sm
The string manager for this package.
|
| Constructor and Description |
|---|
StoreFactoryBase() |
| Modifier and Type | Method and Description |
|---|---|
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(PrintWriter aWriter,
int indent,
Object aElement) |
void |
storeChildren(PrintWriter aWriter,
int indent,
Object aElement,
StoreDescription elementDesc)
Must Implement at subclass for sepzial store children handling
|
protected void |
storeElement(PrintWriter aWriter,
int indent,
Object aTagElement)
Store only elements from storeChildren methods that are not a transient
child.
|
protected void |
storeElementArray(PrintWriter aWriter,
int indent,
Object[] elements) |
void |
storeXMLHead(PrintWriter aWriter) |
protected static final StringManager sm
public String getInfo()
<description>/<version>.public StoreAppender getStoreAppender()
getStoreAppender in interface IStoreFactorypublic void setStoreAppender(StoreAppender storeAppender)
setStoreAppender in interface IStoreFactorystoreAppender - The storeAppender to set.public void setRegistry(StoreRegistry aRegistry)
setRegistry in interface IStoreFactorypublic StoreRegistry getRegistry()
getRegistry in interface IStoreFactorypublic void storeXMLHead(PrintWriter aWriter)
storeXMLHead in interface IStoreFactorypublic void store(PrintWriter aWriter, int indent, Object aElement) throws Exception
store in interface IStoreFactoryExceptionpublic void storeChildren(PrintWriter aWriter, int indent, Object aElement, StoreDescription elementDesc) throws Exception
aWriter - indent - aElement - elementDesc - Exceptionprotected void storeElement(PrintWriter aWriter, int indent, Object aTagElement) throws Exception
aWriter - current output writerindent - indentation levelaTagElement - current tomcat elementExceptionprotected void storeElementArray(PrintWriter aWriter, int indent, Object[] elements) throws Exception
ExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.