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 StringconvertDateToString(Date date)static StringconvertDateToStringWithMillis(Date date)static DateconvertStringToDate(String date)static AttributeSettoAttributeSet(WSAttributeSet wsSet)static DocumenttoDocument(WSDocument wsDoc)static TemplatetoTemplate(WSTemplate wsTemplate)static WSAttributeSettoWSAttributeSet(AttributeSet attributeSet)static WSDocumenttoWSDocument(AbstractDocument document)static WSTemplatetoWSTemplate(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)
-
-