public class ApacheParserImpl extends Object implements ApacheParser
| Constructor and Description |
|---|
ApacheParserImpl(ApacheDirectiveTree tree,
String initialServerRootPath,
RuntimeApacheConfiguration.NodeInspector nodeInspector) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDirective(ApacheDirective directive) |
void |
endNestedDirective(ApacheDirective directive) |
void |
startNestedDirective(ApacheDirective directive) |
public ApacheParserImpl(ApacheDirectiveTree tree, String initialServerRootPath, RuntimeApacheConfiguration.NodeInspector nodeInspector)
tree - the tree that this parser will fill ininitialServerRootPath - the initial server root path as detected by other meansnodeInspector - the node inspector to determine the runtime configuration or null, if full configuration tree is neededpublic void addDirective(ApacheDirective directive) throws Exception
addDirective in interface ApacheParserExceptionpublic void endNestedDirective(ApacheDirective directive)
endNestedDirective in interface ApacheParserpublic void startNestedDirective(ApacheDirective directive)
startNestedDirective in interface ApacheParserCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.