| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
RepeatedElementBridge.ArrayHandler |
(package private) static class |
RepeatedElementBridge.BaseCollectionHandler |
static interface |
RepeatedElementBridge.CollectionHandler |
| Modifier and Type | Field and Description |
|---|---|
(package private) RepeatedElementBridge.CollectionHandler |
collectionHandler |
(package private) XMLBridge<T> |
delegate |
(package private) static RepeatedElementBridge.CollectionHandler |
HashSetHandler |
(package private) static RepeatedElementBridge.CollectionHandler |
ListHandler |
| Constructor and Description |
|---|
RepeatedElementBridge(TypeInfo typeInfo,
XMLBridge xb) |
RepeatedElementBridge.CollectionHandler collectionHandler
static final RepeatedElementBridge.CollectionHandler ListHandler
static final RepeatedElementBridge.CollectionHandler HashSetHandler
public RepeatedElementBridge.CollectionHandler collectionHandler()
public BindingContext context()
XMLBridgeBindingContext to which this object belongs.public void marshal(T object, javax.xml.stream.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>JAXBExceptionpublic void marshal(T object, Node output) throws JAXBException
marshal in interface XMLBridge<T>JAXBExceptionpublic void marshal(T object, ContentHandler contentHandler, AttachmentMarshaller am) throws JAXBException
marshal in interface XMLBridge<T>JAXBExceptionpublic void marshal(T object, Result result) throws JAXBException
marshal in interface XMLBridge<T>JAXBExceptionpublic T unmarshal(javax.xml.stream.XMLStreamReader in, AttachmentUnmarshaller au) throws JAXBException
unmarshal in interface XMLBridge<T>JAXBExceptionpublic T unmarshal(Source in, AttachmentUnmarshaller au) throws JAXBException
unmarshal in interface XMLBridge<T>JAXBExceptionpublic T unmarshal(InputStream in) throws JAXBException
XMLBridgeunmarshal 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>JAXBExceptionpublic TypeInfo getTypeInfo()
XMLBridgeTypeInfo from which this bridge was created.getTypeInfo in interface XMLBridge<T>public boolean supportOutputStream()
XMLBridgesupportOutputStream in interface XMLBridge<T>public static RepeatedElementBridge.CollectionHandler create(TypeInfo ti)
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.