Modifier and Type | Method and Description |
---|---|
static CoordinationContextType |
CoordinationContextHelper.deserialise(Element headerElement)
Deserialise a coordination context from a DOM SOAP Header Element.
|
JAXBContext |
CoordinationContextAction.run() |
static void |
CoordinationContextHelper.serialise(CoordinationContextType coordinationContextType,
Element headerElement)
Deserialise a coordination context from a DOM SOAP Header Element.
|
Modifier and Type | Method and Description |
---|---|
JAXBContext |
NativeEndpointReferenceContextAction.run() |
Modifier and Type | Method and Description |
---|---|
static JAXBContext |
JAXBContextFactory.createContext(Class[] classes,
Map properties)
The JAXB API will invoke this method via reflection
|
static JAXBContext |
JAXBContextFactory.createContext(String contextPath,
ClassLoader classLoader,
Map properties)
The JAXB API will invoke this method via reflection
|
Modifier and Type | Method and Description |
---|---|
Accessor |
AccessorFactory.createFieldAccessor(Class bean,
Field f,
boolean readOnly)
Access a field of the class.
|
Accessor |
InternalAccessorFactory.createFieldAccessor(Class bean,
Field f,
boolean readOnly,
boolean supressWarnings)
Access a field of the class.
|
Accessor |
AccessorFactory.createPropertyAccessor(Class bean,
Method getter,
Method setter)
Access a property of the class.
|
Modifier and Type | Method and Description |
---|---|
abstract QName |
JAXBRIContext.getElementName(Class o)
Allows to retrieve the element name based on Class.
|
abstract QName |
JAXBRIContext.getElementName(Object o)
If the given object is bound to an element in XML by JAXB,
returns the element name.
|
abstract <B,V> RawAccessor<B,V> |
JAXBRIContext.getElementPropertyAccessor(Class<B> wrapperBean,
String nsUri,
String localName)
Gets a
RawAccessor for the specified element property of the specified wrapper bean class. |
void |
Bridge.marshal(BridgeContext context,
T object,
ContentHandler contentHandler) |
void |
Bridge.marshal(BridgeContext context,
T object,
Node output) |
void |
Bridge.marshal(BridgeContext context,
T object,
OutputStream output,
NamespaceContext nsContext) |
void |
Bridge.marshal(BridgeContext context,
T object,
Result result) |
void |
Bridge.marshal(BridgeContext context,
T object,
XMLStreamWriter output) |
abstract void |
Bridge.marshal(Marshaller m,
T object,
ContentHandler contentHandler) |
abstract void |
Bridge.marshal(Marshaller m,
T object,
Node output) |
abstract void |
Bridge.marshal(Marshaller m,
T object,
OutputStream output,
NamespaceContext nsContext) |
abstract void |
Bridge.marshal(Marshaller m,
T object,
Result result) |
abstract void |
Bridge.marshal(Marshaller m,
T object,
XMLStreamWriter output) |
void |
Bridge.marshal(T object,
ContentHandler contentHandler) |
void |
Bridge.marshal(T object,
ContentHandler contentHandler,
AttachmentMarshaller am) |
void |
Bridge.marshal(T object,
Node output) |
void |
Bridge.marshal(T object,
OutputStream output,
NamespaceContext nsContext)
Marshals the specified type object with the implicit element name
associated with this instance of
Bridge . |
void |
Bridge.marshal(T object,
OutputStream output,
NamespaceContext nsContext,
AttachmentMarshaller am) |
void |
Bridge.marshal(T object,
Result result) |
void |
Bridge.marshal(T object,
XMLStreamWriter output) |
void |
Bridge.marshal(T object,
XMLStreamWriter output,
AttachmentMarshaller am) |
static JAXBRIContext |
JAXBRIContext.newInstance(Class[] classes,
Collection<TypeReference> typeRefs,
Map<Class,Class> subclassReplacements,
String defaultNamespaceRemap,
boolean c14nSupport,
RuntimeAnnotationReader ar)
Creates a new
JAXBRIContext . |
static JAXBRIContext |
JAXBRIContext.newInstance(Class[] classes,
Collection<TypeReference> typeRefs,
Map<Class,Class> subclassReplacements,
String defaultNamespaceRemap,
boolean c14nSupport,
RuntimeAnnotationReader ar,
boolean xmlAccessorFactorySupport,
boolean allNillable,
boolean retainPropertyInfo,
boolean supressAccessorWarnings)
Creates a new
JAXBRIContext . |
static JAXBRIContext |
JAXBRIContext.newInstance(Class[] classes,
Collection<TypeReference> typeRefs,
String defaultNamespaceRemap,
boolean c14nSupport)
Deprecated.
Compatibility with older versions.
|
T |
Bridge.unmarshal(BridgeContext context,
InputStream in) |
T |
Bridge.unmarshal(BridgeContext context,
Node n) |
T |
Bridge.unmarshal(BridgeContext context,
Source in) |
T |
Bridge.unmarshal(BridgeContext context,
XMLStreamReader in) |
T |
Bridge.unmarshal(InputStream in)
Unmarshals the specified type object.
|
T |
Bridge.unmarshal(Node n)
Unmarshals the specified type object.
|
T |
Bridge.unmarshal(Node n,
AttachmentUnmarshaller au) |
T |
Bridge.unmarshal(Source in)
Unmarshals the specified type object.
|
T |
Bridge.unmarshal(Source in,
AttachmentUnmarshaller au) |
abstract T |
Bridge.unmarshal(Unmarshaller u,
InputStream in) |
abstract T |
Bridge.unmarshal(Unmarshaller context,
Node n) |
abstract T |
Bridge.unmarshal(Unmarshaller u,
Source in) |
abstract T |
Bridge.unmarshal(Unmarshaller u,
XMLStreamReader in) |
T |
Bridge.unmarshal(XMLStreamReader in)
Unmarshals the specified type object.
|
T |
Bridge.unmarshal(XMLStreamReader in,
AttachmentUnmarshaller au) |
Modifier and Type | Method and Description |
---|---|
static JAXBRIContext |
ContextFactory.createContext(Class[] classes,
Collection<TypeReference> typeRefs,
Map<Class,Class> subclassReplacements,
String defaultNsUri,
boolean c14nSupport,
RuntimeAnnotationReader ar,
boolean xmlAccessorFactorySupport,
boolean allNillable,
boolean retainPropertyInfo)
Deprecated.
use
createContext(Class[] classes, Map<String,Object> properties) method instead |
static JAXBRIContext |
ContextFactory.createContext(Class[] classes,
Collection<TypeReference> typeRefs,
Map<Class,Class> subclassReplacements,
String defaultNsUri,
boolean c14nSupport,
RuntimeAnnotationReader ar,
boolean xmlAccessorFactorySupport,
boolean allNillable,
boolean retainPropertyInfo,
boolean improvedXsiTypeHandling)
Deprecated.
use
createContext( Class[] classes, Map<String,Object> properties) method instead |
static JAXBContext |
ContextFactory.createContext(Class[] classes,
Map<String,Object> properties)
The API will invoke this method via reflection
|
static JAXBContext |
ContextFactory.createContext(String contextPath,
ClassLoader classLoader,
Map<String,Object> properties)
The API will invoke this method via reflection.
|
Modifier and Type | Method and Description |
---|---|
void |
TypeInfoSet.dump(Result out)
Dumps this model into XML.
|
Modifier and Type | Class and Description |
---|---|
class |
IllegalAnnotationException
Signals an incorrect use of JAXB annotations.
|
class |
IllegalAnnotationsException
A list of
IllegalAnnotationException wrapped in one exception. |
Modifier and Type | Method and Description |
---|---|
JAXBContextImpl |
JAXBContextImpl.JAXBContextBuilder.build() |
void |
XMLSerializer.childAsRoot(Object obj) |
JAXBContextImpl |
JAXBContextImpl.createAugmented(Class<?> clazz)
Creates a
JAXBContextImpl that includes the specified additional classes. |
XmlOutput |
MarshallerImpl.createWriter(OutputStream os) |
XmlOutput |
MarshallerImpl.createWriter(OutputStream os,
String encoding) |
<T> JaxBeanInfo<T> |
JAXBContextImpl.getBeanInfo(Class<T> clazz,
boolean fatal)
Gets the
JaxBeanInfo object that can handle
the given JAXB-bound class. |
JaxBeanInfo |
JAXBContextImpl.getBeanInfo(Object o,
boolean fatal)
Gets the
JaxBeanInfo object that can handle
the given JAXB-bound object. |
QName |
JAXBContextImpl.getElementName(Class o) |
QName |
JAXBContextImpl.getElementName(Object o) |
RawAccessor |
JAXBContextImpl.getElementPropertyAccessor(Class wrapperBean,
String nsUri,
String localName) |
void |
MarshallerImpl.marshal(Object obj,
OutputStream out,
NamespaceContext inscopeNamespace)
Marshals to
OutputStream with the given in-scope namespaces
taken into account. |
void |
MarshallerImpl.marshal(Object target,
Result result) |
void |
MarshallerImpl.marshal(Object obj,
XMLEventWriter writer) |
void |
BinderImpl.marshal(Object jaxbObject,
XmlNode xmlNode) |
void |
MarshallerImpl.marshal(Object obj,
XmlOutput output) |
void |
MarshallerImpl.marshal(Object obj,
XMLStreamWriter writer) |
void |
BinderImpl.setEventHandler(ValidationEventHandler handler) |
Object |
BinderImpl.unmarshal(XmlNode xmlNode) |
<T> JAXBElement<T> |
BinderImpl.unmarshal(XmlNode xmlNode,
Class<T> expectedType) |
Object |
BinderImpl.updateJAXB(XmlNode xmlNode) |
XmlNode |
BinderImpl.updateXML(Object jaxbObject) |
XmlNode |
BinderImpl.updateXML(Object jaxbObject,
XmlNode xmlNode) |
protected <T> void |
MarshallerImpl.write(Name rootTagName,
JaxBeanInfo<T> bi,
T obj,
XmlOutput out,
Runnable postInitAction)
Used by
BridgeImpl to write an arbitrary object as a fragment. |
Modifier and Type | Method and Description |
---|---|
String |
Lister.IDREFSIterator.next() |
E |
ListIterator.next()
Works like
Iterator.next() . |
Modifier and Type | Method and Description |
---|---|
<T> JaxBeanInfo<T> |
UnmarshallerImpl.getBeanInfo(Class<T> clazz) |
Object |
SAXConnector.getResult() |
protected XMLReader |
UnmarshallerImpl.getXMLReader()
Obtains a configured XMLReader.
|
Object |
UnmarshallerImpl.unmarshal(Node node) |
<T> JAXBElement<T> |
UnmarshallerImpl.unmarshal(Node node,
Class<T> expectedType) |
Object |
UnmarshallerImpl.unmarshal(SAXSource source)
Deprecated.
|
<T> JAXBElement<T> |
UnmarshallerImpl.unmarshal(Source source,
Class<T> expectedType) |
Object |
UnmarshallerImpl.unmarshal(XMLEventReader reader) |
<T> JAXBElement<T> |
UnmarshallerImpl.unmarshal(XMLEventReader reader,
Class<T> expectedType) |
protected Object |
UnmarshallerImpl.unmarshal(XMLReader reader,
InputSource source) |
protected <T> JAXBElement<T> |
UnmarshallerImpl.unmarshal(XMLReader reader,
InputSource source,
Class<T> expectedType) |
Object |
UnmarshallerImpl.unmarshal(XMLStreamReader reader) |
<T> JAXBElement<T> |
UnmarshallerImpl.unmarshal(XMLStreamReader reader,
Class<T> expectedType) |
Object |
UnmarshallerImpl.unmarshal0(InputStream input,
JaxBeanInfo expectedType) |
Object |
UnmarshallerImpl.unmarshal0(Node node,
JaxBeanInfo expectedType) |
Object |
UnmarshallerImpl.unmarshal0(Source source,
JaxBeanInfo expectedType) |
Object |
UnmarshallerImpl.unmarshal0(XMLStreamReader reader,
JaxBeanInfo expectedType) |
Modifier and Type | Class and Description |
---|---|
class |
MarshalException
This exception indicates that an error has occurred while performing
a marshal operation that the provider is unable to recover from.
|
class |
PropertyException
This exception indicates that an error was encountered while getting or
setting a property.
|
class |
UnmarshalException
This exception indicates that an error has occurred while performing
an unmarshal operation that prevents the JAXB Provider from completing
the operation.
|
class |
ValidationException
This exception indicates that an error has occurred while performing
a validate operation.
|
Modifier and Type | Method and Description |
---|---|
JAXBContext |
JAXBContextFactory.createContext(Class<?>[] classesToBeBound,
Map<String,?> properties)
Create a new instance of a
JAXBContext class. |
JAXBContext |
JAXBContextFactory.createContext(String contextPath,
ClassLoader classLoader,
Map<String,?> properties)
Create a new instance of a
JAXBContext class. |
abstract Marshaller |
JAXBContext.createMarshaller()
Create a
Marshaller object that can be used to convert a
java content tree into XML data. |
abstract Unmarshaller |
JAXBContext.createUnmarshaller()
Create an
Unmarshaller object that can be used to convert XML
data into a java content tree. |
abstract Validator |
JAXBContext.createValidator()
Deprecated.
since JAXB2.0
|
ValidationEventHandler |
Validator.getEventHandler()
Deprecated.
since JAXB2.0
|
ValidationEventHandler |
Unmarshaller.getEventHandler()
Return the current event handler or the default event handler if one
hasn't been set.
|
ValidationEventHandler |
Marshaller.getEventHandler()
Return the current event handler or the default event handler if one
hasn't been set.
|
abstract ValidationEventHandler |
Binder.getEventHandler()
Return the current event handler or the default event handler if one
hasn't been set.
|
Node |
Marshaller.getNode(Object contentTree)
Get a DOM tree view of the content tree(Optional).
|
Object |
UnmarshallerHandler.getResult()
Obtains the unmarshalled result.
|
boolean |
Unmarshaller.isValidating()
Deprecated.
since JAXB2.0, please see
Unmarshaller.getSchema() |
void |
Marshaller.marshal(Object jaxbElement,
ContentHandler handler)
Marshal the content tree rooted at
jaxbElement into SAX2 events. |
void |
Marshaller.marshal(Object jaxbElement,
File output)
Marshal the content tree rooted at
jaxbElement into a file. |
void |
Marshaller.marshal(Object jaxbElement,
Node node)
Marshal the content tree rooted at
jaxbElement into a DOM tree. |
void |
Marshaller.marshal(Object jaxbElement,
OutputStream os)
Marshal the content tree rooted at
jaxbElement into an output stream. |
void |
Marshaller.marshal(Object jaxbElement,
Result result)
Marshal the content tree rooted at
jaxbElement into the specified
javax.xml.transform.Result . |
void |
Marshaller.marshal(Object jaxbElement,
Writer writer)
Marshal the content tree rooted at
jaxbElement into a Writer. |
void |
Marshaller.marshal(Object jaxbElement,
XMLEventWriter writer)
Marshal the content tree rooted at
jaxbElement into a
XMLEventWriter . |
abstract void |
Binder.marshal(Object jaxbObject,
XmlNode xmlNode)
Marshal a JAXB object tree to a new XML document.
|
void |
Marshaller.marshal(Object jaxbElement,
XMLStreamWriter writer)
Marshal the content tree rooted at
jaxbElement into a
XMLStreamWriter . |
static JAXBContext |
JAXBContext.newInstance(Class<?>... classesToBeBound)
Create a new instance of a
JAXBContext class. |
static JAXBContext |
JAXBContext.newInstance(Class<?>[] classesToBeBound,
Map<String,?> properties)
Create a new instance of a
JAXBContext class. |
static JAXBContext |
JAXBContext.newInstance(String contextPath)
Create a new instance of a
JAXBContext class. |
static JAXBContext |
JAXBContext.newInstance(String contextPath,
ClassLoader classLoader)
Create a new instance of a
JAXBContext class. |
static JAXBContext |
JAXBContext.newInstance(String contextPath,
ClassLoader classLoader,
Map<String,?> properties)
Create a new instance of a
JAXBContext class. |
void |
Validator.setEventHandler(ValidationEventHandler handler)
Deprecated.
since JAXB2.0
|
void |
Unmarshaller.setEventHandler(ValidationEventHandler handler)
Allow an application to register a
ValidationEventHandler . |
void |
Marshaller.setEventHandler(ValidationEventHandler handler)
Allow an application to register a validation event handler.
|
abstract void |
Binder.setEventHandler(ValidationEventHandler handler)
Allow an application to register a
ValidationEventHandler . |
void |
Unmarshaller.setValidating(boolean validating)
Deprecated.
since JAXB2.0, please see
Unmarshaller.setSchema(javax.xml.validation.Schema) |
Object |
Unmarshaller.unmarshal(File f)
Unmarshal XML data from the specified file and return the resulting
content tree.
|
Object |
Unmarshaller.unmarshal(InputSource source)
Unmarshal XML data from the specified SAX InputSource and return the
resulting content tree.
|
Object |
Unmarshaller.unmarshal(InputStream is)
Unmarshal XML data from the specified InputStream and return the
resulting content tree.
|
Object |
Unmarshaller.unmarshal(Node node)
Unmarshal global XML data from the specified DOM tree and return the resulting
content tree.
|
<T> JAXBElement<T> |
Unmarshaller.unmarshal(Node node,
Class<T> declaredType)
Unmarshal XML data by JAXB mapped
declaredType
and return the resulting content tree. |
Object |
Unmarshaller.unmarshal(Reader reader)
Unmarshal XML data from the specified Reader and return the
resulting content tree.
|
Object |
Unmarshaller.unmarshal(Source source)
Unmarshal XML data from the specified XML Source and return the
resulting content tree.
|
<T> JAXBElement<T> |
Unmarshaller.unmarshal(Source source,
Class<T> declaredType)
Unmarshal XML data from the specified XML Source by
declaredType and return the
resulting content tree. |
Object |
Unmarshaller.unmarshal(URL url)
Unmarshal XML data from the specified URL and return the resulting
content tree.
|
Object |
Unmarshaller.unmarshal(XMLEventReader reader)
Unmarshal XML data from the specified pull parser and return the
resulting content tree.
|
<T> JAXBElement<T> |
Unmarshaller.unmarshal(XMLEventReader reader,
Class<T> declaredType)
Unmarshal root element to JAXB mapped
declaredType
and return the resulting content tree. |
abstract Object |
Binder.unmarshal(XmlNode xmlNode)
Unmarshal XML infoset view to a JAXB object tree.
|
abstract <T> JAXBElement<T> |
Binder.unmarshal(XmlNode xmlNode,
Class<T> declaredType)
Unmarshal XML root element by provided
declaredType
to a JAXB object tree. |
Object |
Unmarshaller.unmarshal(XMLStreamReader reader)
Unmarshal XML data from the specified pull parser and return the
resulting content tree.
|
<T> JAXBElement<T> |
Unmarshaller.unmarshal(XMLStreamReader reader,
Class<T> declaredType)
Unmarshal root element to JAXB mapped
declaredType
and return the resulting content tree. |
abstract Object |
Binder.updateJAXB(XmlNode xmlNode)
Takes an XML node and updates its associated JAXB object and its descendants.
|
abstract XmlNode |
Binder.updateXML(Object jaxbObject)
Takes an JAXB object and updates
its associated XML node and its descendants.
|
abstract XmlNode |
Binder.updateXML(Object jaxbObject,
XmlNode xmlNode)
Changes in JAXB object tree are updated in its associated XML parse tree.
|
boolean |
Validator.validate(Object subrootObj)
Deprecated.
since JAXB2.0
|
boolean |
Validator.validateRoot(Object rootObj)
Deprecated.
since JAXB2.0
|
Modifier and Type | Method and Description |
---|---|
ValidationEventHandler |
AbstractUnmarshallerImpl.getEventHandler()
Return the current event handler or the default event handler if one
hasn't been set.
|
ValidationEventHandler |
AbstractMarshallerImpl.getEventHandler() |
Node |
AbstractMarshallerImpl.getNode(Object obj)
By default, the getNode method is unsupported and throw
an
UnsupportedOperationException . |
protected XMLReader |
AbstractUnmarshallerImpl.getXMLReader()
Obtains a configured XMLReader.
|
boolean |
AbstractUnmarshallerImpl.isValidating()
Indicates whether or not the Unmarshaller is configured to validate
during unmarshal operations.
|
void |
AbstractMarshallerImpl.marshal(Object obj,
ContentHandler handler) |
void |
AbstractMarshallerImpl.marshal(Object jaxbElement,
File output) |
void |
AbstractMarshallerImpl.marshal(Object obj,
Node node) |
void |
AbstractMarshallerImpl.marshal(Object obj,
OutputStream os) |
void |
AbstractMarshallerImpl.marshal(Object obj,
Writer w) |
void |
AbstractMarshallerImpl.marshal(Object obj,
XMLEventWriter writer) |
void |
AbstractMarshallerImpl.marshal(Object obj,
XMLStreamWriter writer) |
void |
AbstractUnmarshallerImpl.setEventHandler(ValidationEventHandler handler)
Allow an application to register a validation event handler.
|
void |
AbstractMarshallerImpl.setEventHandler(ValidationEventHandler handler) |
void |
AbstractUnmarshallerImpl.setValidating(boolean validating)
Specifies whether or not the Unmarshaller should validate during
unmarshal operations.
|
Object |
AbstractUnmarshallerImpl.unmarshal(File f) |
Object |
AbstractUnmarshallerImpl.unmarshal(InputSource source) |
Object |
AbstractUnmarshallerImpl.unmarshal(InputStream is) |
<T> JAXBElement<T> |
AbstractUnmarshallerImpl.unmarshal(Node node,
Class<T> expectedType) |
Object |
AbstractUnmarshallerImpl.unmarshal(Reader reader) |
Object |
AbstractUnmarshallerImpl.unmarshal(Source source) |
<T> JAXBElement<T> |
AbstractUnmarshallerImpl.unmarshal(Source source,
Class<T> expectedType) |
Object |
AbstractUnmarshallerImpl.unmarshal(URL url) |
Object |
AbstractUnmarshallerImpl.unmarshal(XMLEventReader reader) |
<T> JAXBElement<T> |
AbstractUnmarshallerImpl.unmarshal(XMLEventReader reader,
Class<T> expectedType) |
protected abstract Object |
AbstractUnmarshallerImpl.unmarshal(XMLReader reader,
InputSource source)
Unmarshals an object by using the specified XMLReader and the InputSource.
|
Object |
AbstractUnmarshallerImpl.unmarshal(XMLStreamReader reader) |
<T> JAXBElement<T> |
AbstractUnmarshallerImpl.unmarshal(XMLStreamReader reader,
Class<T> expectedType) |
Modifier and Type | Method and Description |
---|---|
Object |
JAXBResult.getResult()
Gets the unmarshalled object created by the transformation.
|
Constructor and Description |
---|
JAXBResult(JAXBContext context)
Creates a new instance that uses the specified
JAXBContext to unmarshal.
|
JAXBResult(Unmarshaller _unmarshaller)
Creates a new instance that uses the specified
Unmarshaller to unmarshal an object.
|
JAXBSource(JAXBContext context,
Object contentObject)
Creates a new
Source for the given content object. |
JAXBSource(Marshaller marshaller,
Object contentObject)
Creates a new
Source for the given content object. |
Modifier and Type | Method and Description |
---|---|
static JAXBContext |
VersionTransformer.getExposedJAXBContext(String exposedURI) |
static JAXBContext |
VersionTransformer.Names200408.getJAXBContext()
Retrieve a JAXBContext for marshalling and unmarshalling JAXB generated
types for the 2004/08 version.
|
static JAXBContext |
VersionTransformer.Names200403.getJAXBContext()
Retrieve a JAXBContext for marshalling and unmarshalling JAXB generated types for the 2004/08
version.
|
static JAXBContext |
ContextUtils.getJAXBContext()
Retrieve a JAXBContext for marshalling and unmarshalling JAXB generated
types.
|
static EndpointReferenceType |
VersionTransformer.parseEndpointReference(Element ref)
Parse an EndpointReferenceType from a DOM element.
|
static void |
VersionTransformer.Names200408.setJAXBContext(JAXBContext ctx)
Set the encapsulated JAXBContext (used by unit tests).
|
static void |
VersionTransformer.Names200403.setJAXBContext(JAXBContext ctx)
Set the encapsulated JAXBContext (used by unit tests).
|
static void |
ContextUtils.setJAXBContext(JAXBContext ctx)
Set the encapsulated JAXBContext (used by unit tests).
|
Modifier and Type | Method and Description |
---|---|
<T> T |
Entry.getAnyOtherJAXBObject(Class<T> clazz,
Class... otherPossibleClasses)
Extract the content as the provided JAXB annotated type.
|
<T> T |
Text.getJAXBObject(Class<T> clazz,
Class... otherPossibleClasses)
Extract the content as the provided JAXB annotated type.
|
<T> T |
Content.getJAXBObject(Class<T> clazz,
Class... otherPossibleClasses)
Extract the content as the provided JAXB annotated type.
|
Modifier and Type | Method and Description |
---|---|
JAXBContext |
JAXBContextFinder.createContext(Annotation[] parameterAnnotations,
Class... classes) |
JAXBContext |
AbstractJAXBContextFinder.createContext(Annotation[] parameterAnnotations,
Class... classes) |
protected JAXBContext |
XmlJAXBContextFinder.createContextObject(Annotation[] parameterAnnotations,
Class... classes) |
protected abstract JAXBContext |
AbstractJAXBContextFinder.createContextObject(Annotation[] parameterAnnotations,
Class... classes) |
protected JAXBContext |
XmlJAXBContextFinder.createContextObject(Annotation[] parameterAnnotations,
String contextPath) |
protected abstract JAXBContext |
AbstractJAXBContextFinder.createContextObject(Annotation[] parameterAnnotations,
String contextPath) |
Marshaller |
JAXBContextWrapper.createMarshaller() |
Unmarshaller |
JAXBContextWrapper.createUnmarshaller() |
Validator |
JAXBContextWrapper.createValidator()
Deprecated.
See javax.xml.bind.JAXBContext#createValidator().
|
JAXBContext |
AbstractJAXBContextFinder.createXmlTypeContext(Annotation[] parameterAnnotations,
Class... classes) |
static Marshaller |
AbstractJAXBProvider.decorateMarshaller(Class type,
Annotation[] annotations,
MediaType mediaType,
Marshaller marshaller) |
static Unmarshaller |
AbstractJAXBProvider.decorateUnmarshaller(Class type,
Annotation[] annotations,
MediaType mediaType,
Unmarshaller marshaller) |
JAXBContext |
XmlJAXBContextFinder.findCacheContext(MediaType mediaType,
Annotation[] paraAnnotations,
Class... classes) |
JAXBContext |
JAXBContextFinder.findCacheContext(MediaType mediaType,
Annotation[] paraAnnotations,
Class... classes)
This method creates a JAXBContext from a collection of classes.
|
JAXBContext |
XmlJAXBContextFinder.findCachedContext(Class type,
MediaType mediaType,
Annotation[] parameterAnnotations) |
JAXBContext |
JAXBContextFinder.findCachedContext(Class type,
MediaType mediaType,
Annotation[] parameterAnnotations)
This method with find a JAXBContext for one type.
|
JAXBContext |
XmlJAXBContextFinder.findCacheXmlTypeContext(MediaType mediaType,
Annotation[] paraAnnotations,
Class... classes) |
JAXBContext |
JAXBContextFinder.findCacheXmlTypeContext(MediaType mediaType,
Annotation[] paraAnnotations,
Class... classes)
This method will find a JAXBContext from a set of XmlTypes that use an ObjectFactory for creation (i.e.
|
JAXBContext |
JAXBXmlSeeAlsoProvider.findJAXBContext(Class<?> type,
Annotation[] annotations,
MediaType mediaType,
boolean reader) |
JAXBContext |
AbstractJAXBProvider.findJAXBContext(Class<?> type,
Annotation[] annotations,
MediaType mediaType,
boolean reader) |
JAXBContext |
AbstractJAXBContextFinder.findProvidedJAXBContext(Class<?> type,
MediaType mediaType) |
ValidationEventHandler |
SecureUnmarshaller.getEventHandler() |
Object |
MapProvider.getJAXBObject(JAXBContextFinder finder,
MediaType mediaType,
Class<?> clazz,
Element element) |
Object |
CollectionProvider.getJAXBObject(JAXBContextFinder finder,
MediaType mediaType,
Class<?> clazz,
Element element) |
boolean |
SecureUnmarshaller.isValidating()
Deprecated.
This method is deprecated as of JAXB 2.0 - please use the new
SecureUnmarshaller.getSchema() API. |
void |
BaseMarshaller.marshal(Object o,
OutputStream outputStream) |
protected T |
AbstractJAXBProvider.processWithSecureProcessing(Unmarshaller unmarshaller,
InputStream entityStream,
String charset) |
void |
SecureUnmarshaller.setEventHandler(ValidationEventHandler handler) |
void |
SecureUnmarshaller.setValidating(boolean validating)
Deprecated.
since JAXB2.0, please see
SecureUnmarshaller.getSchema() |
Object |
SecureUnmarshaller.unmarshal(File f) |
Object |
SecureUnmarshaller.unmarshal(InputSource source)
Turns off expansion of external entities.
|
Object |
SecureUnmarshaller.unmarshal(InputStream is)
Turns off expansion of external entities.
|
Object |
SecureUnmarshaller.unmarshal(Node node) |
<T> JAXBElement<T> |
SecureUnmarshaller.unmarshal(Node node,
Class<T> declaredType) |
Object |
SecureUnmarshaller.unmarshal(Reader reader) |
Object |
SecureUnmarshaller.unmarshal(Source source) |
<T> JAXBElement<T> |
SecureUnmarshaller.unmarshal(Source source,
Class<T> declaredType) |
Object |
SecureUnmarshaller.unmarshal(URL url) |
Object |
SecureUnmarshaller.unmarshal(XMLEventReader reader) |
<T> JAXBElement<T> |
SecureUnmarshaller.unmarshal(XMLEventReader reader,
Class<T> declaredType) |
Object |
SecureUnmarshaller.unmarshal(XMLStreamReader reader) |
<T> JAXBElement<T> |
SecureUnmarshaller.unmarshal(XMLStreamReader reader,
Class<T> declaredType) |
Constructor and Description |
---|
JAXBContextWrapper(Class<?>[] classes,
Map<String,Object> properties,
JAXBConfig config)
Create a new JAXBContextWrapper.
|
JAXBContextWrapper(JAXBConfig config,
Class<?>... classes)
Create a new JAXBContextWrapper.
|
JAXBContextWrapper(JAXBContext wrappedContext,
JAXBConfig config) |
JAXBContextWrapper(String contextPath,
JAXBConfig config)
Create a new JAXBContextWrapper.
|
Modifier and Type | Method and Description |
---|---|
protected JAXBContext |
JsonJAXBContextFinder.createContextObject(Annotation[] annotations,
Class... classes) |
protected JAXBContext |
JsonJAXBContextFinder.createContextObject(Annotation[] annotations,
String contextPath) |
Marshaller |
JettisonMappedContext.createMarshaller() |
Marshaller |
BadgerContext.createMarshaller() |
Unmarshaller |
JettisonMappedContext.createUnmarshaller() |
Unmarshaller |
BadgerContext.createUnmarshaller() |
Validator |
JettisonMappedContext.createValidator() |
Validator |
BadgerContext.createValidator() |
protected JAXBContext |
JsonJAXBContextFinder.find(Class<?> type,
MediaType mediaType,
ConcurrentHashMap<Class<?>,JAXBContext> cache,
Mapped mapped,
BadgerFish badger) |
JAXBContext |
JsonJAXBContextFinder.findCacheContext(MediaType mediaType,
Annotation[] annotations,
Class... classes) |
JAXBContext |
JsonJAXBContextFinder.findCachedContext(Class type,
MediaType mediaType,
Annotation[] annotations) |
JAXBContext |
JsonJAXBContextFinder.findCacheXmlTypeContext(MediaType mediaType,
Annotation[] annotations,
Class... classes) |
protected org.codehaus.jettison.badgerfish.BadgerFishXMLStreamReader |
BadgerUnmarshaller.getBadgerFishReader(Reader reader) |
ValidationEventHandler |
JettisonMappedUnmarshaller.getEventHandler() |
ValidationEventHandler |
JettisonMappedMarshaller.getEventHandler() |
ValidationEventHandler |
BadgerUnmarshaller.getEventHandler() |
ValidationEventHandler |
BadgerMarshaller.getEventHandler() |
Node |
JettisonMappedMarshaller.getNode(Object o) |
Node |
BadgerMarshaller.getNode(Object o) |
protected org.codehaus.jettison.mapped.MappedXMLStreamReader |
JettisonMappedUnmarshaller.getXmlStreamReader(Reader reader) |
boolean |
JettisonMappedUnmarshaller.isValidating() |
boolean |
BadgerUnmarshaller.isValidating() |
void |
JettisonMappedMarshaller.marshal(Object o,
ContentHandler contentHandler) |
void |
BadgerMarshaller.marshal(Object o,
ContentHandler contentHandler) |
void |
JettisonMappedMarshaller.marshal(Object o,
File file) |
void |
BadgerMarshaller.marshal(Object o,
File file) |
void |
JettisonMappedMarshaller.marshal(Object o,
Node node) |
void |
BadgerMarshaller.marshal(Object o,
Node node) |
void |
JettisonMappedMarshaller.marshal(Object o,
Result result) |
void |
BadgerMarshaller.marshal(Object o,
Result result) |
void |
JettisonMappedMarshaller.marshal(Object o,
Writer writer) |
void |
BadgerMarshaller.marshal(Object o,
Writer writer) |
void |
JettisonMappedMarshaller.marshal(Object o,
XMLEventWriter xmlEventWriter) |
void |
BadgerMarshaller.marshal(Object o,
XMLEventWriter xmlEventWriter) |
void |
JettisonMappedMarshaller.marshal(Object o,
XMLStreamWriter xmlStreamWriter) |
void |
BadgerMarshaller.marshal(Object o,
XMLStreamWriter xmlStreamWriter) |
void |
JettisonMappedUnmarshaller.setEventHandler(ValidationEventHandler validationEventHandler) |
void |
JettisonMappedMarshaller.setEventHandler(ValidationEventHandler validationEventHandler) |
void |
BadgerUnmarshaller.setEventHandler(ValidationEventHandler validationEventHandler) |
void |
BadgerMarshaller.setEventHandler(ValidationEventHandler validationEventHandler) |
void |
JettisonMappedUnmarshaller.setValidating(boolean b) |
void |
BadgerUnmarshaller.setValidating(boolean b) |
Object |
JettisonMappedUnmarshaller.unmarshal(File file) |
Object |
BadgerUnmarshaller.unmarshal(File file) |
Object |
JettisonMappedUnmarshaller.unmarshal(InputSource inputSource) |
Object |
BadgerUnmarshaller.unmarshal(InputSource inputSource) |
Object |
JettisonMappedUnmarshaller.unmarshal(InputStream inputStream) |
Object |
BadgerUnmarshaller.unmarshal(InputStream inputStream) |
Object |
JettisonMappedUnmarshaller.unmarshal(Node node) |
Object |
BadgerUnmarshaller.unmarshal(Node node) |
<T> JAXBElement<T> |
JettisonMappedUnmarshaller.unmarshal(Node node,
Class<T> tClass) |
<T> JAXBElement<T> |
BadgerUnmarshaller.unmarshal(Node node,
Class<T> tClass) |
Object |
JettisonMappedUnmarshaller.unmarshal(Reader reader) |
Object |
BadgerUnmarshaller.unmarshal(Reader reader) |
Object |
JettisonMappedUnmarshaller.unmarshal(Source source) |
Object |
BadgerUnmarshaller.unmarshal(Source source) |
<T> JAXBElement<T> |
JettisonMappedUnmarshaller.unmarshal(Source source,
Class<T> tClass) |
<T> JAXBElement<T> |
BadgerUnmarshaller.unmarshal(Source source,
Class<T> tClass) |
Object |
JettisonMappedUnmarshaller.unmarshal(URL url) |
Object |
BadgerUnmarshaller.unmarshal(URL url) |
Object |
JettisonMappedUnmarshaller.unmarshal(XMLEventReader xmlEventReader) |
Object |
BadgerUnmarshaller.unmarshal(XMLEventReader xmlEventReader) |
<T> JAXBElement<T> |
JettisonMappedUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
Class<T> tClass) |
<T> JAXBElement<T> |
BadgerUnmarshaller.unmarshal(XMLEventReader xmlEventReader,
Class<T> tClass) |
Object |
JettisonMappedUnmarshaller.unmarshal(XMLStreamReader xmlStreamReader) |
Object |
BadgerUnmarshaller.unmarshal(XMLStreamReader xmlStreamReader) |
<T> JAXBElement<T> |
JettisonMappedUnmarshaller.unmarshal(XMLStreamReader xmlStreamReader,
Class<T> tClass) |
<T> JAXBElement<T> |
BadgerUnmarshaller.unmarshal(XMLStreamReader xmlStreamReader,
Class<T> tClass) |
Constructor and Description |
---|
BadgerMarshaller(JAXBContext context) |
BadgerUnmarshaller(JAXBContext context) |
JettisonMappedMarshaller(JAXBContext context,
Map<String,String> xmlToJSON,
List<String> attributeMapping,
List<String> ignoredElements) |
JettisonMappedMarshaller(JAXBContext context,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention) |
JettisonMappedUnmarshaller(JAXBContext context,
Map<String,String> xmlToJSON,
List<String> attributeMapping,
List<String> ignoredElements) |
JettisonMappedUnmarshaller(JAXBContext context,
org.codehaus.jettison.mapped.MappedNamespaceConvention convention) |
Modifier and Type | Method and Description |
---|---|
RegistryData |
RegistryStatsResource.get() |
Modifier and Type | Method and Description |
---|---|
static JAXBContext |
SAMLXACMLUtil.getJAXBContext() |
static void |
SignatureUtil.marshall(SignatureType signature,
OutputStream os)
Marshall a SignatureType to output stream
|
Modifier and Type | Method and Description |
---|---|
static JAXBContext |
JAXBUtil.getJAXBContext(Class<?> clazz) |
static JAXBContext |
JAXBUtil.getJAXBContext(String... paths) |
static JAXBContext |
JAXBUtil.getJAXBContext(String path) |
static Marshaller |
JAXBUtil.getMarshaller(String pkgName)
Get the JAXB Marshaller
|
static Unmarshaller |
JAXBUtil.getUnmarshaller(String... pkgNames)
Get the JAXB Unmarshaller for a selected set of package names
|
static Unmarshaller |
JAXBUtil.getUnmarshaller(String pkgName)
Get the JAXB Unmarshaller
|
static Marshaller |
JAXBUtil.getValidatingMarshaller(String pkgName,
String schemaLocation)
Get the JAXB Marshaller
|
static Unmarshaller |
JAXBUtil.getValidatingUnmarshaller(String[] pkgNames,
String[] schemaLocations) |
static Unmarshaller |
JAXBUtil.getValidatingUnmarshaller(String pkgName,
String schemaLocation)
Get the JAXB Unmarshaller
|
static void |
XMLSignatureUtil.marshall(SignatureType signature,
OutputStream os)
Marshall a SignatureType to output stream
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.