com.sun.faces.config.rules
Class RendererRule

java.lang.Object
  extended by org.apache.commons.digester.Rule
      extended by com.sun.faces.config.rules.FeatureRule
          extended by com.sun.faces.config.rules.RendererRule

public class RendererRule
extends FeatureRule

Digester rule for the <renderer> element.


Field Summary
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
RendererRule()
           
 
Method Summary
 void begin(java.lang.String namespace, java.lang.String name, org.xml.sax.Attributes attributes)
          Create an empty instance of RendererBean and push it on to the object stack.
 void body(java.lang.String namespace, java.lang.String name, java.lang.String text)
          No body processing is required.
 void end(java.lang.String namespace, java.lang.String name)
          Pop the RendererBean off the top of the stack, and either add or merge it with previous information.
 void finish()
          No finish processing is required.
 java.lang.String toString()
           
 
Methods inherited from class org.apache.commons.digester.Rule
begin, body, end, getDigester, getNamespaceURI, setDigester, setNamespaceURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RendererRule

public RendererRule()
Method Detail

begin

public void begin(java.lang.String namespace,
                  java.lang.String name,
                  org.xml.sax.Attributes attributes)
           throws java.lang.Exception

Create an empty instance of RendererBean and push it on to the object stack.

Overrides:
begin in class org.apache.commons.digester.Rule
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.IllegalStateException - if the parent stack element is not of type FacesConfigBean
java.lang.Exception

body

public void body(java.lang.String namespace,
                 java.lang.String name,
                 java.lang.String text)
          throws java.lang.Exception

No body processing is required.

Overrides:
body in class org.apache.commons.digester.Rule
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
text - The text of the body of this element
Throws:
java.lang.Exception

end

public void end(java.lang.String namespace,
                java.lang.String name)
         throws java.lang.Exception

Pop the RendererBean off the top of the stack, and either add or merge it with previous information.

Overrides:
end in class org.apache.commons.digester.Rule
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
Throws:
java.lang.IllegalStateException - if the popped object is not of the correct type
java.lang.Exception

finish

public void finish()
            throws java.lang.Exception

No finish processing is required.

Overrides:
finish in class org.apache.commons.digester.Rule
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright ? 2002-2006 Sun Microsystems, Inc. All Rights Reserved.