org.mobicents.servlet.sip.startup
Class SipRuleSet

java.lang.Object
  extended by org.apache.tomcat.util.digester.RuleSetBase
      extended by org.mobicents.servlet.sip.startup.SipRuleSet
All Implemented Interfaces:
org.apache.tomcat.util.digester.RuleSet

public class SipRuleSet
extends org.apache.tomcat.util.digester.RuleSetBase

SipRuleSet for processing the contents of a sip application deployment descriptor (/WEB-INF/sip.xml) resource.

Author:
Jean Deruelle

Field Summary
protected  org.mobicents.servlet.sip.startup.SetLoginConfig loginConfig
          The SetLoginConfig rule used to parse the sip.xml
protected  java.lang.String prefix
          The matching pattern prefix to use for recognizing our elements.
protected  org.mobicents.servlet.sip.startup.SetProxyConfig proxyConfig
          The SetProxyConfig rule used to parse the sip.xml
protected  org.mobicents.servlet.sip.startup.SetServletSelection servletSelection
          The SetServletSelection rule used to parse the sip.xml
protected  org.mobicents.servlet.sip.startup.SetSessionConfig sessionConfig
          The SetSessionConfig rule used to parse the sip.xml
 
Fields inherited from class org.apache.tomcat.util.digester.RuleSetBase
namespaceURI
 
Constructor Summary
SipRuleSet()
          Construct an instance of this RuleSet with the default matching pattern prefix.
SipRuleSet(java.lang.String prefix)
          Construct an instance of this RuleSet with the specified matching pattern prefix.
 
Method Summary
 void addRuleInstances(org.apache.tomcat.util.digester.Digester digester)
          Add the set of Rule instances defined in this RuleSet to the specified Digester instance, associating them with our namespace URI (if any).
 void recycle()
          Reset counter used for validating the web.xml file.
 
Methods inherited from class org.apache.tomcat.util.digester.RuleSetBase
getNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

prefix

protected java.lang.String prefix
The matching pattern prefix to use for recognizing our elements.


sessionConfig

protected org.mobicents.servlet.sip.startup.SetSessionConfig sessionConfig
The SetSessionConfig rule used to parse the sip.xml


proxyConfig

protected org.mobicents.servlet.sip.startup.SetProxyConfig proxyConfig
The SetProxyConfig rule used to parse the sip.xml


loginConfig

protected org.mobicents.servlet.sip.startup.SetLoginConfig loginConfig
The SetLoginConfig rule used to parse the sip.xml


servletSelection

protected org.mobicents.servlet.sip.startup.SetServletSelection servletSelection
The SetServletSelection rule used to parse the sip.xml

Constructor Detail

SipRuleSet

public SipRuleSet()
Construct an instance of this RuleSet with the default matching pattern prefix.


SipRuleSet

public SipRuleSet(java.lang.String prefix)
Construct an instance of this RuleSet with the specified matching pattern prefix.

Parameters:
prefix - Prefix for matching pattern rules (including the trailing slash character)
Method Detail

addRuleInstances

public void addRuleInstances(org.apache.tomcat.util.digester.Digester digester)

Add the set of Rule instances defined in this RuleSet to the specified Digester instance, associating them with our namespace URI (if any). This method should only be called by a Digester instance.

Specified by:
addRuleInstances in interface org.apache.tomcat.util.digester.RuleSet
Specified by:
addRuleInstances in class org.apache.tomcat.util.digester.RuleSetBase
Parameters:
digester - Digester instance to which the new Rule instances should be added.

recycle

public void recycle()
Reset counter used for validating the web.xml file.



Copyright © 2010. All Rights Reserved.