All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
protected boolean |
canBeReadAsJaxbElement(Class<?> type) |
protected static Object |
checkAdapter(Object obj,
Class<?> cls,
Annotation[] anns,
boolean marshal) |
void |
clearContexts() |
protected XMLStreamReader |
configureReaderRestrictions(XMLStreamReader reader) |
protected Object |
convertToJaxbElementIfNeeded(Object obj,
Class<?> cls,
Type genericType) |
protected XMLStreamReader |
createDepthReaderIfNeeded(XMLStreamReader reader,
InputStream is) |
protected Marshaller |
createMarshaller(Object obj,
Class<?> cls,
Type genericType,
String enc) |
protected XMLStreamReader |
createTransformReaderIfNeeded(XMLStreamReader reader,
InputStream is) |
protected XMLStreamWriter |
createTransformWriterIfNeeded(XMLStreamWriter writer,
OutputStream os,
boolean dropAtXmlLevel) |
protected Unmarshaller |
createUnmarshaller(Class<?> cls,
Type genericType) |
protected Unmarshaller |
createUnmarshaller(Class<?> cls,
Type genericType,
boolean isCollection) |
protected Class<?> |
getActualType(Class<?> type,
Type genericType,
Annotation[] anns) |
JAXBContext |
getClassContext(Class<?> type) |
protected JAXBContext |
getClassContext(Class<?> type,
Type genericType) |
protected JAXBContext |
getCollectionContext(Class<?> type) |
protected QName |
getCollectionWrapperQName(Class<?> cls,
Type type,
Object object,
boolean pluralName) |
protected MessageContext |
getContext() |
protected DocumentDepthProperties |
getDepthProperties() |
JAXBContext |
getJAXBContext(Class<?> type,
Type genericType) |
protected Class<?> |
getJaxbElementClass(Class<?> cls) |
protected QName |
getJaxbQName(Class<?> cls,
Type type,
Object object,
boolean pluralName) |
JAXBContext |
getPackageContext(Class<?> type) |
protected JAXBContext |
getPackageContext(Class<?> type,
Type genericType) |
protected Schema |
getSchema() |
protected Schema |
getSchema(Class<?> cls) |
long |
getSize(T o,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mt) |
protected <X> X |
getStreamHandlerFromCurrentMessage(Class<X> staxCls) |
protected static void |
handleExceptionEnd(Throwable t,
String message,
boolean read) |
protected static StringBuilder |
handleExceptionStart(Exception e) |
protected void |
handleJAXBException(JAXBException e,
boolean read) |
protected void |
handleXMLStreamException(XMLStreamException e,
boolean read) |
void |
init(List<ClassResourceInfo> cris)
Gives providers a chance to introspect the JAX-RS model classes.
|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] anns,
javax.ws.rs.core.MediaType mt) |
boolean |
isSkipJaxbChecks() |
protected boolean |
isSupported(Class<?> type,
Type genericType,
Annotation[] anns) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] anns,
javax.ws.rs.core.MediaType mt) |
protected boolean |
isXmlRoot(Class<?> cls) |
protected boolean |
isXmlType(Class<?> cls) |
protected boolean |
objectFactoryOrIndexAvailable(Class<?> type) |
void |
setAttributesToElements(boolean value) |
void |
setCatalogLocation(String name) |
void |
setCollectionWrapperMap(Map<String,String> map) |
void |
setCollectionWrapperName(String wName) |
protected void |
setContext(MessageContext context) |
void |
setContextProperties(Map<String,Object> contextProperties) |
void |
setDepthProperties(DocumentDepthProperties depthProperties) |
void |
setExtraClass(Class<?>[] userExtraClass) |
void |
setInAppendElements(Map<String,String> inElements) |
void |
setInDropElements(List<String> dropElementsSet) |
void |
setInTransformElements(Map<String,String> inElements) |
void |
setJaxbElementClassMap(Map<String,String> map) |
void |
setJaxbElementClassNames(List<String> names) |
void |
setMarshallAsJaxbElement(boolean value) |
void |
setMarshallerListener(Marshaller.Listener marshallerListener) |
protected static void |
setMarshallerProp(Marshaller ms,
Object value,
String name1,
String name2) |
protected void |
setNamespaceMapper(Marshaller ms,
Map<String,String> map) |
void |
setNamespaceMapperPropertyName(String namespaceMapperProperty) |
void |
setOutAppendElements(Map<String,String> map) |
void |
setOutDropElements(List<String> dropElementsSet) |
void |
setOutTransformElements(Map<String,String> outElements) |
protected void |
setSchema(Schema s) |
void |
setSchemaHandler(SchemaHandler handler) |
void |
setSchemaHandlers(Map<String,SchemaHandler> handlers) |
void |
setSchemaLocations(List<String> locations) |
void |
setSingleJaxbContext(boolean useSingleContext) |
void |
setSkipJaxbChecks(boolean skipJaxbChecks) |
void |
setUnmarshallAsJaxbElement(boolean value) |
void |
setUnmarshallerListener(Unmarshaller.Listener unmarshallerListener) |
void |
setUnmarshallerProperties(Map<String,Object> unmarshalProperties) |
void |
setUseSingleContextForPackages(boolean use) |
void |
setValidateBeforeWrite(boolean validateBeforeWrite) |
void |
setValidateInput(boolean validateInput) |
void |
setValidateOutput(boolean validateOutput) |
void |
setValidationHandler(ValidationEventHandler handler) |
void |
setXmlRootAsJaxbElement(boolean xmlRootAsJaxbElement) |
void |
setXmlTypeAsJaxbElementOnly(boolean value) |
protected void |
validateObjectIfNeeded(Marshaller marshaller,
Class<?> cls,
Object obj) |
void |
writeTo(T t,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |