Package com.logicaldoc.webservice.model
Class WSUtil
- java.lang.Object
-
- com.logicaldoc.webservice.model.WSUtil
-
public class WSUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description WSUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
convertDateToString(Date date)
static String
convertDateToStringWithMillis(Date date)
static Date
convertStringToDate(String date)
static AttributeSet
toAttributeSet(WSAttributeSet wsSet)
static Document
toDocument(WSDocument wsDoc)
static Template
toTemplate(WSTemplate wsTemplate)
static WSAttributeSet
toWSAttributeSet(AttributeSet attributeSet)
static WSDocument
toWSDocument(AbstractDocument document)
static WSTemplate
toWSTemplate(Template template)
-
-
-
Method Detail
-
toWSDocument
public static WSDocument toWSDocument(AbstractDocument document)
-
toDocument
public static Document toDocument(WSDocument wsDoc) throws Exception
- Throws:
Exception
-
toWSAttributeSet
public static WSAttributeSet toWSAttributeSet(AttributeSet attributeSet)
-
toAttributeSet
public static AttributeSet toAttributeSet(WSAttributeSet wsSet)
-
toTemplate
public static Template toTemplate(WSTemplate wsTemplate)
-
toWSTemplate
public static WSTemplate toWSTemplate(Template template)
-
-