| java.lang.Object com.sun.xml.ws.api.message.Headers
Headers | abstract public class Headers (Code) | | Factory methods for various
Header implementations.
This class provides various methods to create different
flavors of
Header classes that store data
in different formats.
This is a part of the JAX-WS RI internal API so that
Pipe implementations can reuse the implementations
done inside the JAX-WS without having a strong dependency
to the actual class.
If you find some of the useful convenience methods missing
from this class, please talk to us.
author: Kohsuke Kawaguchi |
Method Summary | |
public static Header | create(SOAPVersion soapVersion, Marshaller m, Object o) | public static Header | create(JAXBRIContext context, Object o) Creates a
Header backed a by a JAXB bean. | public static Header | create(SOAPVersion soapVersion, Marshaller m, QName tagName, Object o) Creates a
Header backed a by a JAXB bean, with the given tag name.
See
Headers.create(SOAPVersion,Marshaller,Object) for the meaning
of other parameters.
Parameters: tagName - The name of the newly created header. | public static Header | create(Bridge bridge, Object jaxbObject) Creates a
Header backed a by a JAXB bean. | public static Header | create(SOAPHeaderElement header) Creates a new
Header backed by a SAAJ object. | public static Header | create(Element node) Creates a new
Header backed by an
Element . | public static Header | create(SOAPVersion soapVersion, Element node) | public static Header | create(SOAPVersion soapVersion, XMLStreamReader reader) Creates a new
Header that reads from
XMLStreamReader . | public static Header | create(QName name, String value) |
create | public static Header create(QName name, String value)(Code) | | Creates a new
Header that that has a single text value in it
(IOW, of the form <foo>text</foo>.)
Parameters: name - QName of the header element Parameters: value - text value of the header |
|
|