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