RuleSet for processing the contents of a web application deployment descriptor ( /WEB-INF/web.xml ) resource.
| 36 | * </p> |
| 37 | */ |
| 38 | public class WebRuleSet implements RuleSet { |
| 39 | |
| 40 | /** |
| 41 | * The string resources for this package. |
| 42 | */ |
| 43 | protected static final StringManager sm = StringManager.getManager(Constants.PACKAGE_NAME); |
| 44 | |
| 45 | // ----------------------------------------------------- Instance Variables |
| 46 | |
| 47 | |
| 48 | /** |
| 49 | * The matching pattern prefix to use for recognizing our elements. |
| 50 | */ |
| 51 | protected final String prefix; |
| 52 | |
| 53 | /** |
| 54 | * The full pattern matching prefix, including the webapp or web-fragment component, to use for matching elements |
| 55 | */ |
| 56 | protected final String fullPrefix; |
| 57 | |
| 58 | /** |
| 59 | * Flag that indicates if this ruleset is for a web-fragment.xml file or for a web.xml file. |
| 60 | */ |
| 61 | protected final boolean fragment; |
| 62 | |
| 63 | /** |
| 64 | * The <code>SetSessionConfig</code> rule used to parse the web.xml |
| 65 | */ |
| 66 | protected final SetSessionConfig sessionConfig = new SetSessionConfig(); |
| 67 | |
| 68 | |
| 69 | /** |
| 70 | * The <code>SetLoginConfig</code> rule used to parse the web.xml |
| 71 | */ |
| 72 | protected final SetLoginConfig loginConfig = new SetLoginConfig(); |
| 73 | |
| 74 | |
| 75 | /** |
| 76 | * The <code>SetJspConfig</code> rule used to parse the web.xml |
| 77 | */ |
| 78 | protected final SetJspConfig jspConfig = new SetJspConfig(); |
| 79 | |
| 80 | |
| 81 | /** |
| 82 | * The <code>NameRule</code> rule used to parse the web.xml |
| 83 | */ |
| 84 | protected final NameRule name = new NameRule(); |
| 85 | |
| 86 | |
| 87 | /** |
| 88 | * The <code>AbsoluteOrderingRule</code> rule used to parse the web.xml |
| 89 | */ |
| 90 | protected final AbsoluteOrderingRule absoluteOrdering; |
| 91 | |
| 92 | |
| 93 | /** |
| 94 | * The <code>RelativeOrderingRule</code> rule used to parse the web.xml |
| 95 | */ |
nothing calls this directly
no test coverage detected