org.ow2.jonas.deployment.common.rules
Class QNameRule

java.lang.Object
  extended by org.apache.commons.digester.Rule
      extended by org.ow2.jonas.deployment.common.rules.QNameRule
Direct Known Subclasses:
AnonymousQNameRule

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

Rule that create a new QName object

Author:
Florent Benoit

Field Summary
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
QNameRule()
           
 
Method Summary
 void body(String namespace, String name, String text)
          This method is called when the body of a matching XML element is encountered.
 
Methods inherited from class org.apache.commons.digester.Rule
begin, begin, 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

QNameRule

public QNameRule()
Method Detail

body

public void body(String namespace,
                 String name,
                 String text)
This method is called when the body of a matching XML element is encountered. If the element has no body, this method is not called at all. The default implementation delegates to the deprecated method body without the namespace and name parameters, to retain backwards compatibility.

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


Copyright © 2010 OW2 Consortium. All Rights Reserved.