public class CxfPayloadTranslator extends DocumentReferenceTranslator implements XmlDocumentTranslator
JSONABLE_TYPE
EMPTY_STRING
Constructor and Description |
---|
CxfPayloadTranslator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
fromDomNode(org.w3c.dom.Node domNode) |
org.w3c.dom.Document |
toDomDocument(java.lang.Object obj) |
java.lang.Object |
toObject(java.lang.String str,
java.lang.String type)
toObject converts String to DocumentReference,
whereas this methods deserializes to actual object
|
java.lang.String |
toString(java.lang.Object obj,
java.lang.String variableType)
toString converts DocumentReference to string,
whereas this method serializes the actual object to string
|
toObject, toString
getPackage, setPackage
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fromJson, toJson
createJsonable, getPackage
isDocumentReferenceVariable
public java.lang.String toString(java.lang.Object obj, java.lang.String variableType) throws TranslationException
DocumentReferenceTranslator
toString
in class DocumentReferenceTranslator
obj
- document objectvariableType
- declared variable typeTranslationException
public java.lang.Object toObject(java.lang.String str, java.lang.String type) throws TranslationException
DocumentReferenceTranslator
toObject
in class DocumentReferenceTranslator
str
- string representationtype
- document runtime typeTranslationException
public org.w3c.dom.Document toDomDocument(java.lang.Object obj) throws TranslationException
toDomDocument
in interface XmlDocumentTranslator
TranslationException
public java.lang.Object fromDomNode(org.w3c.dom.Node domNode) throws TranslationException
fromDomNode
in interface XmlDocumentTranslator
TranslationException
Copyright © 2019 CenturyLink, Inc.