org.codehaus.xfire.service.binding
Class AbstractBinding
java.lang.Object
org.codehaus.xfire.service.binding.AbstractBinding
- All Implemented Interfaces:
- MessageSerializer
- Direct Known Subclasses:
- DocumentBinding, MessageBinding, WrappedBinding
- public abstract class AbstractBinding
- extends java.lang.Object
- implements MessageSerializer
Method Summary |
protected MessagePartInfo |
findMessagePart(MessageContext context,
java.util.Collection operations,
javax.xml.namespace.QName name,
int index)
|
protected OperationInfo |
findOperation(java.util.Collection operations,
java.util.List parameters)
|
protected java.lang.String |
getBoundNamespace(MessageContext context,
MessagePartInfo p)
Get the namespace for a particular part. |
protected java.lang.Object |
getClientParam(java.lang.Object[] values,
MessagePartInfo outParam,
MessageContext context)
|
static MessageInfo |
getIncomingMessageInfo(MessageContext context)
|
static MessageInfo |
getOutgoingMessageInfo(MessageContext context)
|
protected java.lang.Object |
getParam(java.lang.Object[] values,
MessagePartInfo outParam,
MessageContext context)
|
static boolean |
isClientModeOn(MessageContext context)
|
protected void |
nextEvent(javax.xml.stream.XMLStreamReader dr)
|
protected void |
read(InMessage inMessage,
MessageContext context,
java.util.Collection operations)
|
void |
setOperation(OperationInfo operation,
MessageContext context)
|
static void |
writeParameter(javax.xml.stream.XMLStreamWriter writer,
MessageContext context,
java.lang.Object value,
MessagePartInfo p,
java.lang.String ns)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBinding
public AbstractBinding()
setOperation
public void setOperation(OperationInfo operation,
MessageContext context)
nextEvent
protected void nextEvent(javax.xml.stream.XMLStreamReader dr)
findOperation
protected OperationInfo findOperation(java.util.Collection operations,
java.util.List parameters)
findMessagePart
protected MessagePartInfo findMessagePart(MessageContext context,
java.util.Collection operations,
javax.xml.namespace.QName name,
int index)
read
protected void read(InMessage inMessage,
MessageContext context,
java.util.Collection operations)
throws XFireFault
- Throws:
XFireFault
writeParameter
public static void writeParameter(javax.xml.stream.XMLStreamWriter writer,
MessageContext context,
java.lang.Object value,
MessagePartInfo p,
java.lang.String ns)
throws XFireFault,
javax.xml.stream.XMLStreamException
- Throws:
XFireFault
javax.xml.stream.XMLStreamException
getParam
protected java.lang.Object getParam(java.lang.Object[] values,
MessagePartInfo outParam,
MessageContext context)
getClientParam
protected java.lang.Object getClientParam(java.lang.Object[] values,
MessagePartInfo outParam,
MessageContext context)
getBoundNamespace
protected java.lang.String getBoundNamespace(MessageContext context,
MessagePartInfo p)
- Get the namespace for a particular part. This will change depending on if
we're doc/lit or rpc/lit or if the MessagePartInfo is a concrete type.
- Parameters:
context
- p
-
- Returns:
isClientModeOn
public static boolean isClientModeOn(MessageContext context)
getIncomingMessageInfo
public static MessageInfo getIncomingMessageInfo(MessageContext context)
getOutgoingMessageInfo
public static MessageInfo getOutgoingMessageInfo(MessageContext context)
Copyright © 2004-2006 null. All Rights Reserved.