Mojarra JSF Tools 2.1.28.SP9

com.sun.faces.config.rules
Class DisplayNameRule

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.DisplayNameRule

public class DisplayNameRule
extends FeatureRule

Digester rule for the <display-name> element.


Field Summary
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
DisplayNameRule()
           
 
Method Summary
 void begin(String namespace, String name, Attributes attributes)
          Create or retrieve an instance of DisplayNameBean and push it on to the object statck.
 void body(String namespace, String name, String text)
          Save the body text of this element.
 void end(String namespace, String name)
          Pop the DisplayNameBean off the top of the stack.
 void finish()
          No finish processing is required.
 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

DisplayNameRule

public DisplayNameRule()
Method Detail

begin

public void begin(String namespace,
                  String name,
                  Attributes attributes)
           throws Exception

Create or retrieve an instance of DisplayNameBean and push it on to the object statck.

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:
IllegalStateException - if the parent stack element is not of type FeatureBean
Exception

body

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

Save the body text of this element.

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:
Exception

end

public void end(String namespace,
                String name)
         throws Exception

Pop the DisplayNameBean off the top of the stack.

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:
IllegalStateException - if the popped object is not of the correct type
Exception

finish

public void finish()
            throws Exception

No finish processing is required.

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

toString

public String toString()
Overrides:
toString in class Object

Mojarra JSF Tools 2.1.28.SP9

Copyright © 2016 JBoss by Red Hat. All Rights Reserved.