|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.oroad.stxx.transform.document.BuilderRulesImpl
Default implementation of BuilderRules.
Field Summary | |
protected static java.lang.String |
ATTRIBUTES_BASE
Base for request attribute properties |
protected org.apache.oro.text.regex.Pattern |
attributesExclude
Regular expressions for attribute rules |
protected org.apache.oro.text.regex.Pattern |
attributesIgnore
Regular expressions for attribute rules |
protected org.apache.oro.text.regex.Pattern |
attributesInclude
Regular expressions for attribute rules |
protected static java.lang.String |
ERRORS_BASE
Base for errors properties |
protected org.apache.oro.text.regex.Pattern |
errorsExclude
Regular expressions for error rules |
protected org.apache.oro.text.regex.Pattern |
errorsInclude
Regular expressions for error rules |
protected static java.lang.String |
FORM_BASE
Base for ActionForm properties |
protected org.apache.oro.text.regex.Pattern |
formExclude
Regular expressions for form rules |
protected org.apache.oro.text.regex.Pattern |
formInclude
Regular expressions for form rules |
protected static org.apache.commons.logging.Log |
log
The logging instance |
protected static java.lang.String |
MESSAGES_BASE
Base for action message properties |
protected org.apache.oro.text.regex.Pattern |
messagesExclude
Regular expressions for action messages rules |
protected org.apache.oro.text.regex.Pattern |
messagesInclude
Regular expressions for action messages rules |
protected static java.lang.String |
PARAMETERS_BASE
Base for request parameter properties |
protected org.apache.oro.text.regex.Pattern |
parametersExclude
Regular expressions for parameters rules |
protected org.apache.oro.text.regex.Pattern |
parametersIgnore
Regular expressions for parameters rules |
protected org.apache.oro.text.regex.Pattern |
parametersInclude
Regular expressions for parameters rules |
protected static java.lang.String |
RESOURCES_BASE
Base for resource properties |
protected org.apache.oro.text.regex.Pattern |
resourcesExclude
Regular expressions for resources rules |
protected org.apache.oro.text.regex.Pattern |
resourcesInclude
Regular expressions for resources rules |
Fields inherited from interface com.oroad.stxx.transform.document.BuilderRules |
ATTRIBUTES_TYPE, ERRORS_TYPE, FORM_TYPE, MESSAGES_TYPE, PARAMETERS_TYPE, RESOURCES_TYPE |
Constructor Summary | |
BuilderRulesImpl()
|
Method Summary | |
boolean |
allowItem(int type,
java.lang.String item,
javax.servlet.http.HttpServletRequest req)
Tells whether the item should be included |
boolean |
allowType(int type,
javax.servlet.http.HttpServletRequest request)
Tells whether the specified type of information should be included |
void |
init(StxxProperties props)
Initializes the rules |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.lang.String ERRORS_BASE
protected static final java.lang.String RESOURCES_BASE
protected static final java.lang.String PARAMETERS_BASE
protected static final java.lang.String ATTRIBUTES_BASE
protected static final java.lang.String FORM_BASE
protected static final java.lang.String MESSAGES_BASE
protected org.apache.oro.text.regex.Pattern errorsInclude
protected org.apache.oro.text.regex.Pattern errorsExclude
protected org.apache.oro.text.regex.Pattern resourcesInclude
protected org.apache.oro.text.regex.Pattern resourcesExclude
protected org.apache.oro.text.regex.Pattern parametersInclude
protected org.apache.oro.text.regex.Pattern parametersExclude
protected org.apache.oro.text.regex.Pattern parametersIgnore
protected org.apache.oro.text.regex.Pattern attributesInclude
protected org.apache.oro.text.regex.Pattern attributesExclude
protected org.apache.oro.text.regex.Pattern attributesIgnore
protected org.apache.oro.text.regex.Pattern formInclude
protected org.apache.oro.text.regex.Pattern formExclude
protected org.apache.oro.text.regex.Pattern messagesInclude
protected org.apache.oro.text.regex.Pattern messagesExclude
protected static org.apache.commons.logging.Log log
Constructor Detail |
public BuilderRulesImpl()
Method Detail |
public void init(StxxProperties props)
init
in interface BuilderRules
props
- The propertiespublic boolean allowType(int type, javax.servlet.http.HttpServletRequest request)
allowType
in interface BuilderRules
type
- The type of informationrequest
- The request
public boolean allowItem(int type, java.lang.String item, javax.servlet.http.HttpServletRequest req)
allowItem
in interface BuilderRules
type
- The type of informationitem
- The name of the itemreq
- The http request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |