org.jbeanmapper.configurator
Class BeanMappingsRule

java.lang.Object
  extended byorg.apache.commons.digester.Rule
      extended byorg.jbeanmapper.configurator.BeanMappingsRule

public class BeanMappingsRule
extends org.apache.commons.digester.Rule

Digester rule for handling <bean-mapping> elements.

Author:
Brian Pugh

Field Summary
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
BeanMappingsRule()
           
 
Method Summary
 void begin(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes)
          Process the <bean-mapping> element
 
Methods inherited from class org.apache.commons.digester.Rule
begin, body, body, end, end, finish, getDigester, getNamespaceURI, setDigester, setNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanMappingsRule

public BeanMappingsRule()
Method Detail

begin

public void begin(java.lang.String namespace,
                  java.lang.String name,
                  org.xml.sax.Attributes attributes)
           throws java.lang.Exception
Process the <bean-mapping> element

Parameters:
namespace - the namespace URI of the matching element, or an empty string if the parser is not namespace aware or the element has no namespace
name - the local name if the parser is namespace aware, or just the element name otherwise
attributes - The attribute list of this element
Throws:
java.lang.Exception - if the rule cannot be processed.