org.objectweb.jonas_lib.deployment.rules
Class AnonymousQNameRule

java.lang.Object
  extended by org.apache.commons.digester.Rule
      extended by org.objectweb.jonas_lib.deployment.rules.QNameRule
          extended by org.objectweb.jonas_lib.deployment.rules.AnonymousQNameRule

public class AnonymousQNameRule
extends QNameRule

Rule that create a new QName object for anonymous-type-qname in jaxrpc mapping file.

Author:
Guillaume Sauthier

Field Summary
 
Fields inherited from class org.apache.commons.digester.Rule
digester, namespaceURI
 
Constructor Summary
AnonymousQNameRule()
           
 
Method Summary
 void body(java.lang.String namespace, java.lang.String name, java.lang.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

AnonymousQNameRule

public AnonymousQNameRule()
Method Detail

body

public void body(java.lang.String namespace,
                 java.lang.String name,
                 java.lang.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 QNameRule
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