Package com.sun.xml.ws.spi.db
Class RepeatedElementBridge<T>
- java.lang.Object
-
- com.sun.xml.ws.spi.db.RepeatedElementBridge<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRepeatedElementBridge.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.CollectionHandlercollectionHandler()BindingContextcontext()Gets theBindingContextto which this object belongs.static RepeatedElementBridge.CollectionHandlercreate(TypeInfo ti)TypeInfogetTypeInfo()Gets theTypeInfofrom which this bridge was created.voidmarshal(T object, OutputStream output, NamespaceContext nsContext, jakarta.xml.bind.attachment.AttachmentMarshaller am)voidmarshal(T object, XMLStreamWriter output, jakarta.xml.bind.attachment.AttachmentMarshaller am)voidmarshal(T object, Result result)voidmarshal(T object, Node output)voidmarshal(T object, ContentHandler contentHandler, jakarta.xml.bind.attachment.AttachmentMarshaller am)booleansupportOutputStream()This can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.Tunmarshal(InputStream in)Unmarshals the specified type object.Tunmarshal(XMLStreamReader in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au)Tunmarshal(Source in, jakarta.xml.bind.attachment.AttachmentUnmarshaller au)Tunmarshal(Node n, jakarta.xml.bind.attachment.AttachmentUnmarshaller au)
-
-
-
Method Detail
-
collectionHandler
public RepeatedElementBridge.CollectionHandler collectionHandler()
-
context
public BindingContext context()
Description copied from interface:XMLBridgeGets theBindingContextto 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:XMLBridgeUnmarshals 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:XMLBridgeGets theTypeInfofrom which this bridge was created.- Specified by:
getTypeInfoin interfaceXMLBridge<T>
-
supportOutputStream
public boolean supportOutputStream()
Description copied from interface:XMLBridgeThis can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.- Specified by:
supportOutputStreamin interfaceXMLBridge<T>- Returns:
- true if marshall to OutputStream is supported in the implementation.
-
create
public static RepeatedElementBridge.CollectionHandler create(TypeInfo ti)
-
-