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 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 storeChildren(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 elementjava.lang.Exception
protected void storeElementArray(java.io.PrintWriter aWriter, int indent, java.lang.Object[] elements) throws java.lang.Exception
java.lang.Exception
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.