Class 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
    • 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.
        Overrides:
        begin in class Rule
        Parameters:
        attributes - The attributes of this element
        Throws:
        Exception - if a processing error occurs