org.codehaus.xfire.service.binding
Interface BindingProvider
- All Known Implementing Classes:
- AbstractBindingProvider
- public interface BindingProvider
A BindingProvider provides the ability to map XML and java objects. This can
come in the form of simple POJOs or a DOM tree. To use one must just implement
the interface and provide it to the ObjectServiceFactory
.
- Author:
- Dan Diephouse
initialize
public void initialize(Service newParam)
getSuggestedName
public javax.xml.namespace.QName getSuggestedName(Service service,
OperationInfo op,
int param)
- Gives a binding the chance to suggest a name for a particular parameter.
- Parameters:
param
- The index of the parameter. -1 specifies the return parameter.
- Returns:
- The suggestion. null if there isn't a suggestion.
readParameter
public java.lang.Object readParameter(MessagePartInfo p,
javax.xml.stream.XMLStreamReader reader,
MessageContext context)
throws XFireFault
- Throws:
XFireFault
writeParameter
public void writeParameter(MessagePartInfo p,
javax.xml.stream.XMLStreamWriter writer,
MessageContext context,
java.lang.Object value)
throws XFireFault
- Throws:
XFireFault
getSchemaType
public SchemaType getSchemaType(javax.xml.namespace.QName name,
Service service)
Copyright © 2004-2006 null. All Rights Reserved.