public class JaxbContextWrapper extends JAXBContext
JAXBContext will be returned by the JaxbContextBuilder.JAXB_CONTEXT_FACTORY| Constructor and Description |
|---|
JaxbContextWrapper(JAXBContext jaxbContext)
Instantiates a new jaxb context wrapper.
|
JaxbContextWrapper(JAXBContext jaxbContext,
JaxbContextBuilderDetails details)
Instantiates a new jaxb context wrapper.
|
| Modifier and Type | Method and Description |
|---|---|
<T> Binder<T> |
createBinder(Class<T> domType) |
JAXBIntrospector |
createJAXBIntrospector() |
Marshaller |
createMarshaller() |
Unmarshaller |
createUnmarshaller() |
Validator |
createValidator() |
boolean |
equals(Object o) |
void |
generateSchema(SchemaOutputResolver outputResolver) |
AttachmentMarshaller |
getAttachmentMarshaller()
Gets attachment marshaller.
|
AttachmentUnmarshaller |
getAttachmentUnmarshaller()
Gets attachment unmarshaller.
|
JaxbContextBuilderDetails |
getDetails()
Gets details.
|
Schema |
getSchema()
Gets schema.
|
SchemaMode |
getSchemaMode()
Gets schema mode.
|
ValidationEventHandler |
getValidationEventHandler()
Gets validation event handler.
|
List<XmlAdapter<?,?>> |
getXmlAdapters()
Gets xml adapters.
|
int |
hashCode() |
boolean |
isFormattedOutput()
Return
true if the output is formatted, otherwise false. |
void |
setAttachmentMarshaller(AttachmentMarshaller attachmentMarshaller)
Sets attachment marshaller.
|
void |
setAttachmentUnmarshaller(AttachmentUnmarshaller attachmentUnmarshaller)
Sets attachment unmarshaller.
|
void |
setFormattedOutput(boolean formattedOutput)
Sets formatted output.
|
void |
setSchema(Schema schema)
Sets schema.
|
void |
setSchemaMode(SchemaMode schemaMode)
Sets schema mode.
|
void |
setValidationEventHandler(ValidationEventHandler validationEventHandler)
Sets validation event handler.
|
void |
setXmlAdapters(List<XmlAdapter<?,?>> xmlAdapters)
Sets xml adapters.
|
String |
toString() |
createBinder, newInstance, newInstance, newInstance, newInstance, newInstancepublic JaxbContextWrapper(JAXBContext jaxbContext)
jaxbContext - the jaxb contextpublic JaxbContextWrapper(JAXBContext jaxbContext, JaxbContextBuilderDetails details)
jaxbContext - the jaxb contextdetails - the detailspublic JaxbContextBuilderDetails getDetails()
public boolean isFormattedOutput()
true if the output is formatted, otherwise false.true if the output is formatted, otherwise falsepublic void setFormattedOutput(boolean formattedOutput)
formattedOutput - the formatted outputpublic List<XmlAdapter<?,?>> getXmlAdapters()
public void setXmlAdapters(List<XmlAdapter<?,?>> xmlAdapters)
xmlAdapters - the xml adapterspublic AttachmentMarshaller getAttachmentMarshaller()
public void setAttachmentMarshaller(AttachmentMarshaller attachmentMarshaller)
attachmentMarshaller - the attachment marshallerpublic AttachmentUnmarshaller getAttachmentUnmarshaller()
public void setAttachmentUnmarshaller(AttachmentUnmarshaller attachmentUnmarshaller)
attachmentUnmarshaller - the attachment unmarshallerpublic Schema getSchema()
public void setSchema(Schema schema)
schema - the schemapublic ValidationEventHandler getValidationEventHandler()
public void setValidationEventHandler(ValidationEventHandler validationEventHandler)
validationEventHandler - the validation event handlerpublic SchemaMode getSchemaMode()
public void setSchemaMode(SchemaMode schemaMode)
schemaMode - the schema modepublic Unmarshaller createUnmarshaller() throws JAXBException
createUnmarshaller in class JAXBContextJAXBExceptionpublic Marshaller createMarshaller() throws JAXBException
createMarshaller in class JAXBContextJAXBExceptionpublic Validator createValidator() throws JAXBException
createValidator in class JAXBContextJAXBExceptionpublic <T> Binder<T> createBinder(Class<T> domType)
createBinder in class JAXBContextpublic JAXBIntrospector createJAXBIntrospector()
createJAXBIntrospector in class JAXBContextpublic void generateSchema(SchemaOutputResolver outputResolver) throws IOException
generateSchema in class JAXBContextIOExceptionCopyright © 2020 bremersee.org. All rights reserved.