public class StoreContextAppender extends StoreAppender
Constructor and Description |
---|
StoreContextAppender() |
Modifier and Type | Method and Description |
---|---|
Object |
defaultInstance(Object bean)
generate default Instance
|
protected File |
getAppBase(StandardHost host) |
protected String |
getDefaultWorkDir(StandardContext context)
Make default Work Dir.
|
protected File |
getDocBase(StandardContext context,
File appBase) |
boolean |
isPrintValue(Object bean,
Object bean2,
String attrName,
StoreDescription desc)
print this Attribute value or not
|
protected void |
printAttribute(PrintWriter writer,
int indent,
Object bean,
StoreDescription desc,
String attributeName,
Object bean2,
Object value) |
convertStr, isPersistable, printAttributes, printAttributes, printCloseTag, printIndent, printOpenTag, printTag, printTagArray, printTagContent, printTagValueArray, printValue
protected void printAttribute(PrintWriter writer, int indent, Object bean, StoreDescription desc, String attributeName, Object bean2, Object value)
printAttribute
in class StoreAppender
writer
- indent
- bean
- desc
- attributeName
- bean2
- value
- public boolean isPrintValue(Object bean, Object bean2, String attrName, StoreDescription desc)
StoreAppender
isPrintValue
in class StoreAppender
bean
- orginal beanbean2
- default beanattrName
- attribute namedesc
- StoreDescription from beanprotected File getAppBase(StandardHost host)
protected File getDocBase(StandardContext context, File appBase)
protected String getDefaultWorkDir(StandardContext context)
context
- public Object defaultInstance(Object bean) throws InstantiationException, IllegalAccessException
StoreAppender
defaultInstance
in class StoreAppender
InstantiationException
IllegalAccessException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.