public class StoreFactoryBase extends java.lang.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 |
|---|---|
java.lang.String |
getInfo()
Return descriptive information about this Factory 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 |
storeChildren(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aElement,
StoreDescription elementDesc)
Must Implement at subclass for sepzial store children handling
|
protected void |
storeElement(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aTagElement)
Store only elements from storeChildren 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) |
protected static final StringManager sm
public java.lang.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(java.io.PrintWriter aWriter)
storeXMLHead in interface IStoreFactorypublic void store(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aElement)
throws java.lang.Exception
store in interface IStoreFactoryjava.lang.Exceptionpublic void storeChildren(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aElement,
StoreDescription elementDesc)
throws java.lang.Exception
aWriter - indent - aElement - elementDesc - java.lang.Exceptionprotected void storeElement(java.io.PrintWriter aWriter,
int indent,
java.lang.Object aTagElement)
throws java.lang.Exception
aWriter - current output writerindent - indentation levelaTagElement - current tomcat elementjava.lang.Exceptionprotected void storeElementArray(java.io.PrintWriter aWriter,
int indent,
java.lang.Object[] elements)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.