Package org.apache.catalina.startup
Class SetDocBaseRule
- java.lang.Object
-
- org.apache.tomcat.util.digester.Rule
-
- org.apache.catalina.startup.SetDocBaseRule
-
public class SetDocBaseRule extends Rule
Rule that modifies the docBase of the host, setting it appropriately, before adding the Context to the parent Host.
- Author:
- Remy Maucherat
-
-
Field Summary
-
Fields inherited from class org.apache.tomcat.util.digester.Rule
digester, namespaceURI
-
-
Constructor Summary
Constructors Constructor Description SetDocBaseRule(Digester digester)
Construct a new instance of this Rule.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
begin(Attributes attributes)
Handle the beginning of an XML element.-
Methods inherited from class org.apache.tomcat.util.digester.Rule
begin, body, body, end, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
-
-
-
-
Constructor Detail
-
SetDocBaseRule
public SetDocBaseRule(Digester digester)
Construct a new instance of this Rule.- Parameters:
digester
- Digester we are associated with
-
-
Method Detail
-
begin
public void begin(Attributes attributes) throws Exception
Handle the beginning of an XML element.
-
-