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>
RepeatedElementBridge
- Author:
- shih-chang.chen@oracle.com
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontext()Gets theBindingContextto which this object belongs.Gets theTypeInfofrom which this bridge was created.voidmarshal(T object, OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am) voidmarshal(T object, XMLStreamWriter output, AttachmentMarshaller am) voidvoidvoidmarshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) booleanThis can be used to determine whether XMLStreamWriter or OutputStream is prefered by the implementation.unmarshal(InputStream in) Unmarshals the specified type object.unmarshal(Source in, AttachmentUnmarshaller au) unmarshal(Node n, AttachmentUnmarshaller au)
-
Constructor Details
-
RepeatedElementBridge
-
-
Method Details
-
collectionHandler
-
context
Description copied from interface:XMLBridgeGets theBindingContextto which this object belongs. -
marshal
- Specified by:
marshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
marshal
public void marshal(T object, OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am) throws JAXBException - Specified by:
marshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
marshal
- Specified by:
marshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
marshal
public void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) throws JAXBException - Specified by:
marshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
marshal
- Specified by:
marshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
unmarshal
- Specified by:
unmarshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
unmarshal
- Specified by:
unmarshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
unmarshal
Description copied from interface:XMLBridgeUnmarshals the specified type object.- Specified by:
unmarshalin interfaceXMLBridge<T>- Parameters:
in- the parser must be pointing at a start tag that encloses the XML type that thisXMLBridgeis instanciated for.- Returns:
- never null.
- Throws:
JAXBException- if there was an error while unmarshalling.
-
unmarshal
- Specified by:
unmarshalin interfaceXMLBridge<T>- Throws:
JAXBException
-
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
-