org.codehaus.activesoap.handler
Class QNameHandler

java.lang.Object
  extended byorg.codehaus.activesoap.handler.QNameHandler
All Implemented Interfaces:
Handler, XMLStreamConstants

public class QNameHandler
extends Object
implements Handler, XMLStreamConstants

Looks up the correct Handler to use based on the QName of the root element

Version:
$Revision: 1.10 $

Field Summary
 
Fields inherited from interface javax.xml.stream.XMLStreamConstants
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
 
Constructor Summary
QNameHandler()
           
QNameHandler(HandlerRegistry handlerRegistry)
           
 
Method Summary
 HandlerRegistry getHandlerRegistry()
           
 void invoke(MessageExchange exchange)
          Handles the processing of an XML message which is typically a SOAP body element or header element but could be an entire REST XML service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QNameHandler

public QNameHandler()

QNameHandler

public QNameHandler(HandlerRegistry handlerRegistry)
Method Detail

getHandlerRegistry

public HandlerRegistry getHandlerRegistry()

invoke

public void invoke(MessageExchange exchange)
            throws Exception
Description copied from interface: Handler
Handles the processing of an XML message which is typically a SOAP body element or header element but could be an entire REST XML service.

Specified by:
invoke in interface Handler
Parameters:
exchange - is the message exchange which can be used to accesss message-specific attributes to communicate between different handlers in a loose coupled way or to access service specific details such as the SOAP roles and encodings etc.
Throws:
Exception


Copyright © 2004-2007 LogicBlaze, Inc.. All Rights Reserved.