Modifier and Type | Class and Description |
---|---|
static interface |
RepeatedElementBridge.CollectionHandler |
Constructor and Description |
---|
RepeatedElementBridge(TypeInfo typeInfo,
XMLBridge xb) |
public RepeatedElementBridge.CollectionHandler collectionHandler()
public BindingContext context()
XMLBridge
BindingContext
to which this object belongs.public void marshal(T object, XMLStreamWriter output, AttachmentMarshaller am) throws JAXBException
marshal
in interface XMLBridge<T>
JAXBException
- if there was an error while marshalling.public void marshal(T object, OutputStream output, NamespaceContext nsContext, AttachmentMarshaller am) throws JAXBException
marshal
in interface XMLBridge<T>
JAXBException
public void marshal(T object, Node output) throws JAXBException
marshal
in interface XMLBridge<T>
JAXBException
public void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) throws JAXBException
marshal
in interface XMLBridge<T>
JAXBException
public void marshal(T object, Result result) throws JAXBException
marshal
in interface XMLBridge<T>
JAXBException
public T unmarshal(XMLStreamReader in, AttachmentUnmarshaller au) throws JAXBException
unmarshal
in interface XMLBridge<T>
JAXBException
public T unmarshal(Source in, AttachmentUnmarshaller au) throws JAXBException
unmarshal
in interface XMLBridge<T>
JAXBException
public T unmarshal(InputStream in) throws JAXBException
XMLBridge
unmarshal
in interface XMLBridge<T>
in
- the parser must be pointing at a start tag
that encloses the XML type that this XMLBridge
is
instanciated for.JAXBException
- if there was an error while unmarshalling.public T unmarshal(Node n, AttachmentUnmarshaller au) throws JAXBException
unmarshal
in interface XMLBridge<T>
JAXBException
public TypeInfo getTypeInfo()
XMLBridge
TypeInfo
from which this bridge was created.getTypeInfo
in interface XMLBridge<T>
public boolean supportOutputStream()
XMLBridge
supportOutputStream
in interface XMLBridge<T>
public static RepeatedElementBridge.CollectionHandler create(TypeInfo ti)
Copyright © 2015 Oracle Corporation. All rights reserved.