org.apache.wink.webdav.model
Class WebDAVModelHelper
java.lang.Object
org.apache.wink.webdav.model.WebDAVModelHelper
public class WebDAVModelHelper
- extends Object
Method Summary |
static String |
convertDateToXMLDate(Date date)
|
static Date |
convertXMLDateToDate(String date)
|
static Element |
createElement(QName qname)
|
static Element |
createElement(QName qname,
Element content)
|
static Element |
createElement(QName qname,
String content)
|
static Element |
createElement(String namespaceURI,
String name)
|
static Element |
createElement(String namespaceURI,
String qualifiedName,
Element child)
|
static Element |
createElement(String namespaceURI,
String name,
String content)
|
static javax.xml.bind.Marshaller |
createMarshaller()
|
static javax.xml.bind.Unmarshaller |
createUnmarshaller()
|
static Set<QName> |
extractPropertyNames(Prop prop,
Set<QName> set)
|
static String |
getFullName(QName qname)
|
static void |
marshal(javax.xml.bind.Marshaller m,
Object element,
Writer writer,
String elementName)
|
static
|
unmarshal(javax.xml.bind.Unmarshaller u,
Reader reader,
Class<T> elementClass,
String elementName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebDAVModelHelper
public WebDAVModelHelper()
createMarshaller
public static javax.xml.bind.Marshaller createMarshaller()
createUnmarshaller
public static javax.xml.bind.Unmarshaller createUnmarshaller()
marshal
public static void marshal(javax.xml.bind.Marshaller m,
Object element,
Writer writer,
String elementName)
unmarshal
public static <T> T unmarshal(javax.xml.bind.Unmarshaller u,
Reader reader,
Class<T> elementClass,
String elementName)
extractPropertyNames
public static Set<QName> extractPropertyNames(Prop prop,
Set<QName> set)
createElement
public static Element createElement(QName qname)
createElement
public static Element createElement(QName qname,
String content)
createElement
public static Element createElement(QName qname,
Element content)
getFullName
public static String getFullName(QName qname)
createElement
public static Element createElement(String namespaceURI,
String name)
createElement
public static Element createElement(String namespaceURI,
String name,
String content)
createElement
public static Element createElement(String namespaceURI,
String qualifiedName,
Element child)
convertDateToXMLDate
public static String convertDateToXMLDate(Date date)
convertXMLDateToDate
public static Date convertXMLDateToDate(String date)
throws ParseException
- Throws:
ParseException
Copyright © 2009-2012 The Apache Software Foundation. All Rights Reserved.