com.sapportals.portal.prt.service.soap.util
Class XMLValueEncoder
java.lang.Object
|
+--com.sapportals.portal.prt.service.soap.util.XMLValueEncoder
- public class XMLValueEncoder
- extends java.lang.Object
|
Method Summary |
static void |
AddNullAttribute(javax.xml.soap.SOAPEnvelope envelope,
javax.xml.soap.SOAPElement element,
ISOAPMessageContext context)
|
static javax.xml.soap.SOAPElement |
addSOAPElement(javax.xml.soap.SOAPEnvelope envelope,
javax.xml.soap.SOAPElement parent,
java.lang.String nameOfElement,
java.lang.String prefix,
java.lang.String attribute,
java.lang.String type,
java.lang.Object objectToSerialize,
ISOAPMessageContext context)
Return a SOAPElement created with the rigth parameters but without value, you have to add the textNode. |
static void |
addXMLNSDocumentForNode(java.lang.String nameElement,
java.lang.String tnsElement,
javax.xml.soap.SOAPElement parentBodyElement)
|
static java.lang.String |
cleanNameClass(java.lang.Class clazz,
boolean shortname)
|
static java.lang.String |
constructValueForArrayOfArray(java.lang.String encodedStyle,
java.lang.String type,
int size,
ISOAPMessageContext context)
|
static java.lang.String |
constructValueforType(java.lang.String namespace,
java.lang.String type,
ISOAPMessageContext context)
|
static java.lang.String |
contructValueForArray(java.lang.String encodedStyle,
java.lang.String type,
int sizeRaws,
int sizeColumns,
ISOAPMessageContext context)
|
static java.lang.String |
contructValueForArray(java.lang.String encodedStyle,
java.lang.String type,
int size,
ISOAPMessageContext context)
|
static java.io.ByteArrayOutputStream |
convertFromException(java.lang.Exception target)
|
static java.io.ByteArrayOutputStream |
convertFromException(java.lang.Throwable target)
|
static boolean |
isNullable(java.lang.Class type)
|
static boolean |
testNillableInDocument(java.lang.Object objectToSerialize,
ISOAPMessageContext context,
java.lang.Class elementType)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLValueEncoder
public XMLValueEncoder()
addSOAPElement
public static javax.xml.soap.SOAPElement addSOAPElement(javax.xml.soap.SOAPEnvelope envelope,
javax.xml.soap.SOAPElement parent,
java.lang.String nameOfElement,
java.lang.String prefix,
java.lang.String attribute,
java.lang.String type,
java.lang.Object objectToSerialize,
ISOAPMessageContext context)
throws SOAPServiceException
- Return a SOAPElement created with the rigth parameters but without value, you have to add the textNode.
AddNullAttribute
public static void AddNullAttribute(javax.xml.soap.SOAPEnvelope envelope,
javax.xml.soap.SOAPElement element,
ISOAPMessageContext context)
throws javax.xml.soap.SOAPException
constructValueForArrayOfArray
public static java.lang.String constructValueForArrayOfArray(java.lang.String encodedStyle,
java.lang.String type,
int size,
ISOAPMessageContext context)
contructValueForArray
public static java.lang.String contructValueForArray(java.lang.String encodedStyle,
java.lang.String type,
int size,
ISOAPMessageContext context)
contructValueForArray
public static java.lang.String contructValueForArray(java.lang.String encodedStyle,
java.lang.String type,
int sizeRaws,
int sizeColumns,
ISOAPMessageContext context)
constructValueforType
public static java.lang.String constructValueforType(java.lang.String namespace,
java.lang.String type,
ISOAPMessageContext context)
isNullable
public static boolean isNullable(java.lang.Class type)
convertFromException
public static java.io.ByteArrayOutputStream convertFromException(java.lang.Exception target)
convertFromException
public static java.io.ByteArrayOutputStream convertFromException(java.lang.Throwable target)
cleanNameClass
public static java.lang.String cleanNameClass(java.lang.Class clazz,
boolean shortname)
addXMLNSDocumentForNode
public static void addXMLNSDocumentForNode(java.lang.String nameElement,
java.lang.String tnsElement,
javax.xml.soap.SOAPElement parentBodyElement)
throws javax.xml.soap.SOAPException
testNillableInDocument
public static boolean testNillableInDocument(java.lang.Object objectToSerialize,
ISOAPMessageContext context,
java.lang.Class elementType)