Package com.sun.xml.ws.spi.db
Class RepeatedElementBridge<T>
- java.lang.Object
-
- com.sun.xml.ws.spi.db.RepeatedElementBridge<T>
-
- All Implemented Interfaces:
XMLBridge<T>
public class RepeatedElementBridge<T> extends Object implements XMLBridge<T>
RepeatedElementBridge- Author:
- [email protected]
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RepeatedElementBridge.CollectionHandler
-
Constructor Summary
Constructors Constructor Description RepeatedElementBridge(TypeInfo typeInfo, XMLBridge xb)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RepeatedElementBridge.CollectionHandler
collectionHandler()
BindingContext
context()
Gets theBindingContext
to which this object belongs.static RepeatedElementBridge.CollectionHandler
create(TypeInfo ti)
TypeInfo
getTypeInfo()
Gets theTypeInfo
from which this bridge was created.void
marshal(T object, OutputStream output, NamespaceContext nsContext, jakarta.xml.bind.attachment.AttachmentMarshaller am)
void
marshal(T object, XMLStreamWriter output, jakarta.xml.bind.attachment.AttachmentMarshaller am)
void
marshal(T object, Result result)
void
marshal(T object, Node output)
void
marshal(T object, ContentHandler contentHandler, jakarta.xml.bind.attachment.AttachmentMarshaller am)
boolean
supportOutputStream()
This can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.T
unmarshal(InputStream in)
Unmarshals the specified type object.T
unmarshal(XMLStreamReader in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au)
T
unmarshal(Source in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au)
T
unmarshal(Node n, jakarta.xml.bind.attachment.AttachmentUnmarshaller au)
-
-
-
Method Detail
-
collectionHandler
public RepeatedElementBridge.CollectionHandler collectionHandler()
-
context
public BindingContext context()
Description copied from interface:XMLBridge
Gets theBindingContext
to which this object belongs.
-
marshal
public void marshal(T object, XMLStreamWriter output, jakarta.xml.bind.attachment.AttachmentMarshaller am) throws jakarta.xml.bind.JAXBException
-
marshal
public void marshal(T object, OutputStream output, NamespaceContext nsContext, jakarta.xml.bind.attachment.AttachmentMarshaller am) throws jakarta.xml.bind.JAXBException
-
marshal
public void marshal(T object, ContentHandler contentHandler, jakarta.xml.bind.attachment.AttachmentMarshaller am) throws jakarta.xml.bind.JAXBException
-
unmarshal
public T unmarshal(XMLStreamReader in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au) throws jakarta.xml.bind.JAXBException
-
unmarshal
public T unmarshal(Source in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au) throws jakarta.xml.bind.JAXBException
-
unmarshal
public T unmarshal(InputStream in) throws jakarta.xml.bind.JAXBException
Description copied from interface:XMLBridge
Unmarshals the specified type object.
-
unmarshal
public T unmarshal(Node n, jakarta.xml.bind.attachment.AttachmentUnmarshaller au) throws jakarta.xml.bind.JAXBException
-
getTypeInfo
public TypeInfo getTypeInfo()
Description copied from interface:XMLBridge
Gets theTypeInfo
from which this bridge was created.- Specified by:
getTypeInfo
in interfaceXMLBridge<T>
-
supportOutputStream
public boolean supportOutputStream()
Description copied from interface:XMLBridge
This can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.- Specified by:
supportOutputStream
in interfaceXMLBridge<T>
- Returns:
- true if marshall to OutputStream is supported in the implementation.
-
create
public static RepeatedElementBridge.CollectionHandler create(TypeInfo ti)
-
-