com.francetelecom.admindm.soap
Class Soap

java.lang.Object
  extended by com.francetelecom.admindm.soap.Soap

public final class Soap
extends java.lang.Object

The Class Soap.


Method Summary
static long convertDate2Long(java.lang.String value)
          Convert date2 long.
static java.lang.String convertDate2String(long value)
          Convert date2 string.
static java.lang.String getCWMPNameSpace()
          Gets the CWMP name space.
static java.lang.String getCWMPNameSpacePrefix()
           
static org.kxml2.kdom.Document getDocument(org.kxml2.kdom.Element eResponse, java.lang.String id)
          Gets the document.
static java.lang.String getSoapEncNameSpace()
          Gets the soap enc name space.
static java.lang.String getSoapEncNameSpacePrefix()
           
static java.lang.String getSoapEncodingNameSpace()
          Gets the soap encoding name space.
static java.lang.String getSoapEnvNameSpace()
          Gets the soap env name space.
static java.lang.String getSoapEnvNameSpacePrefix()
           
static java.lang.String getTypeAttribute(int attributeTypeValue)
          Returns an type Attribute object whose the value is computed based on the attributeValueClass argument.
static java.lang.String getXsdNameSpace()
          Gets the xsd name space.
static java.lang.String getXsiNameSpace()
          Gets the xsi name space.
protected static java.lang.String namespace(java.lang.String name, java.lang.String value)
           
static void setCWMPNameSpacePrefix(java.lang.String value)
           
static void setSoapEncNameSpacePrefix(java.lang.String value)
           
static void setSoapEnvNameSpacePrefix(java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

namespace

protected static java.lang.String namespace(java.lang.String name,
                                            java.lang.String value)

getCWMPNameSpace

public static java.lang.String getCWMPNameSpace()
Gets the CWMP name space.

Returns:
the CWMP name space

setCWMPNameSpacePrefix

public static void setCWMPNameSpacePrefix(java.lang.String value)

setSoapEnvNameSpacePrefix

public static void setSoapEnvNameSpacePrefix(java.lang.String value)

setSoapEncNameSpacePrefix

public static void setSoapEncNameSpacePrefix(java.lang.String value)

getCWMPNameSpacePrefix

public static java.lang.String getCWMPNameSpacePrefix()

getSoapEnvNameSpacePrefix

public static java.lang.String getSoapEnvNameSpacePrefix()

getSoapEncNameSpacePrefix

public static java.lang.String getSoapEncNameSpacePrefix()

getSoapEnvNameSpace

public static java.lang.String getSoapEnvNameSpace()
Gets the soap env name space.

Returns:
the soap env name space

getXsdNameSpace

public static java.lang.String getXsdNameSpace()
Gets the xsd name space.

Returns:
the xsd name space

getXsiNameSpace

public static java.lang.String getXsiNameSpace()
Gets the xsi name space.

Returns:
the xsi name space

getSoapEncNameSpace

public static java.lang.String getSoapEncNameSpace()
Gets the soap enc name space.

Returns:
the soap enc name space

getSoapEncodingNameSpace

public static java.lang.String getSoapEncodingNameSpace()
Gets the soap encoding name space.

Returns:
the soap encoding name space

getDocument

public static org.kxml2.kdom.Document getDocument(org.kxml2.kdom.Element eResponse,
                                                  java.lang.String id)
Gets the document.

Parameters:
eResponse - the e response
id - the id
Returns:
the document

convertDate2String

public static java.lang.String convertDate2String(long value)
Convert date2 string.

Parameters:
value - the value
Returns:
the string

convertDate2Long

public static long convertDate2Long(java.lang.String value)
                             throws Fault
Convert date2 long.

Parameters:
value - the value
Returns:
the long
Throws:
Fault - the fault

getTypeAttribute

public static java.lang.String getTypeAttribute(int attributeTypeValue)
Returns an type Attribute object whose the value is computed based on the attributeValueClass argument.

Parameters:
attributeTypeValue - attribute type
Returns:
Attribute (name=xsi:type; value=computed from the attributeValueClass parameter else "string")


Copyright © 2011 FranceTelecom. All Rights Reserved.