public interface ConversionManager
Modifier and Type | Method and Description |
---|---|
String |
buildBase64StringFromBytes(byte[] bytes) |
QName |
buildQNameFromString(String stringValue,
AbstractUnmarshalRecord record) |
String |
collapseStringValue(String value)
Removes all leading and trailing whitespaces, and replaces any sequences of whitespaces
that occur in the string with a single ' ' character.
|
Object |
convertHexBinaryListToByteArrayList(Object sourceObject,
CoreContainerPolicy containerPolicy,
CoreAbstractSession session) |
Object |
convertObject(Object sourceObject,
Class javaClass,
QName schemaTypeQName)
Convert the given object to the appropriate type by invoking the appropriate
ConversionManager method.
|
Object |
convertSchemaBase64ListToByteArrayList(Object sourceObject,
CoreContainerPolicy containerPolicy,
CoreAbstractSession session) |
byte[] |
convertSchemaBase64ToByteArray(Object sourceObject)
INTERNAL:
Converts a String which is in Base64 format to a Byte[]
|
Class<?> |
javaType(QName schemaType) |
String |
normalizeStringValue(String value)
Replaces any CR, Tab or LF characters in the string with a single ' ' character.
|
QName |
schemaType(Class<?> javaType) |
String buildBase64StringFromBytes(byte[] bytes)
QName buildQNameFromString(String stringValue, AbstractUnmarshalRecord record)
String collapseStringValue(String value)
Object convertObject(Object sourceObject, Class javaClass, QName schemaTypeQName)
sourceObject
- - will always be a string if read from XMLjavaClass
- - the class that the object must be converted toschemaTypeQName
- - the XML schema that the object is being converted fromObject convertSchemaBase64ListToByteArrayList(Object sourceObject, CoreContainerPolicy containerPolicy, CoreAbstractSession session)
Object convertHexBinaryListToByteArrayList(Object sourceObject, CoreContainerPolicy containerPolicy, CoreAbstractSession session)
byte[] convertSchemaBase64ToByteArray(Object sourceObject)
Class<?> javaType(QName schemaType)
schemaType
- The type you want to find a corresponding Java class for.String normalizeStringValue(String value)
EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference