org.apache.servicemix.soap.handlers.addressing
Class AddressingHandler

java.lang.Object
  extended by org.apache.servicemix.soap.handlers.AbstractHandler
      extended by org.apache.servicemix.soap.handlers.addressing.AddressingHandler
All Implemented Interfaces:
Handler

public class AddressingHandler
extends AbstractHandler

Since:
3.0
Version:
$Revision: 1.5 $
Author:
Guillaume Nodet

Field Summary
protected  IdGenerator idGenerator
           
protected  SourceTransformer sourceTransformer
           
 
Constructor Summary
AddressingHandler()
           
 
Method Summary
protected  DocumentFragment createHeader(QName name, String value)
           
protected  String getHeaderText(Object header)
           
protected  String getPrefix(QName qname, String defaultPrefix)
          Gets the QName prefix.
protected  String getQualifiedName(QName qname)
           
protected  boolean isWSANamespace(String ns)
           
 void onReceive(Context context)
           
 void onReply(Context context)
           
 
Methods inherited from class org.apache.servicemix.soap.handlers.AbstractHandler
isRequired, onAnswer, onFault, onSend, requireDOM, setRequired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sourceTransformer

protected final SourceTransformer sourceTransformer

idGenerator

protected final IdGenerator idGenerator
Constructor Detail

AddressingHandler

public AddressingHandler()
Method Detail

onReceive

public void onReceive(Context context)
               throws Exception
Specified by:
onReceive in interface Handler
Overrides:
onReceive in class AbstractHandler
Throws:
Exception

onReply

public void onReply(Context context)
             throws Exception
Specified by:
onReply in interface Handler
Overrides:
onReply in class AbstractHandler
Throws:
Exception

isWSANamespace

protected boolean isWSANamespace(String ns)

getHeaderText

protected String getHeaderText(Object header)

createHeader

protected DocumentFragment createHeader(QName name,
                                        String value)
                                 throws Exception
Throws:
Exception

getPrefix

protected String getPrefix(QName qname,
                           String defaultPrefix)
Gets the QName prefix. If the QName has no set prefix, the specified default prefix will be used.


getQualifiedName

protected String getQualifiedName(QName qname)


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.