Marshalable<String>
, MediaTypeAccessor
, MediaTypeFactory
, Unmarshalable<String>
public class TextXmlFactory extends ApplicationXmlFactory implements MediaTypeFactory
MediaTypeFactory
for Media-Type "application/xml" (
MediaType.APPLICATION_XML
).
CAUTION: This implementation uses getter/setter property resolution instead
of field resolution as of the used marshaling API.MediaTypeAccessor.MediaTypeBuilder<B extends MediaTypeAccessor.MediaTypeBuilder<B>>, MediaTypeAccessor.MediaTypeMutator, MediaTypeAccessor.MediaTypeProperty
Constructor | Description |
---|---|
TextXmlFactory() |
Modifier and Type | Method | Description |
---|---|---|
MediaType |
getMediaType() |
Retrieves the Media-Type from the Media-Type property.
|
toElementName, toPlainJson, toUnboxed, toVariableDeclaration
toMarshaled, toUnmarshaled
toMarshaled, toMarshaled
fromMarshaled, fromMarshaled, fromMarshaled, fromMarshaled, fromUnmarshaled, fromUnmarshaled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toUnmarshaled, toUnmarshaled, toUnmarshaled, toUnmarshaled
public MediaType getMediaType()
getMediaType
in interface MediaTypeAccessor
getMediaType
in class ApplicationXmlFactory
Copyright © 2018. All rights reserved.