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 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(PrintWriter aWriter)
storeXMLHead
in interface IStoreFactory
public void store(PrintWriter aWriter, int indent, Object aElement) throws Exception
store
in interface IStoreFactory
Exception
public void storeChildren(PrintWriter aWriter, int indent, Object aElement, StoreDescription elementDesc) throws Exception
aWriter
- indent
- aElement
- elementDesc
- Exception
protected void storeElement(PrintWriter aWriter, int indent, Object aTagElement) throws Exception
aWriter
- current output writerindent
- indentation levelaTagElement
- current tomcat elementException
protected void storeElementArray(PrintWriter aWriter, int indent, Object[] elements) throws Exception
Exception
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.