org.apache.wink.common.model.atom
Class AtomJAXBUtils
java.lang.Object
org.apache.wink.common.model.atom.AtomJAXBUtils
public class AtomJAXBUtils
- extends java.lang.Object
Method Summary |
static boolean |
isTypeXml(java.lang.String type)
|
static boolean |
isValueActuallyXml(java.lang.Object source)
|
static void |
marshal(javax.xml.bind.Marshaller marshaller,
java.lang.Object jaxbObject,
java.util.Map<java.lang.String,java.lang.String> processingInstructions,
JAXBNamespacePrefixMapper namespacePrefixMapper,
java.io.OutputStream os)
|
static void |
marshal(javax.xml.bind.Marshaller marshaller,
java.lang.Object jaxbObject,
java.util.Map<java.lang.String,java.lang.String> processingInstructions,
java.io.OutputStream os)
|
static void |
marshal(javax.xml.bind.Marshaller marshaller,
java.lang.Object jaxbObject,
java.io.OutputStream os)
|
static void |
saxParse(java.io.Reader reader,
org.xml.sax.ContentHandler handler,
java.lang.String errorMessage)
|
static javax.xml.datatype.XMLGregorianCalendar |
timeToXmlGregorianCalendar(long time)
|
static java.lang.Object |
unmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.io.Reader reader)
|
static long |
xmlGregorianCalendarToTime(javax.xml.datatype.XMLGregorianCalendar xmlGregCal)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AtomJAXBUtils
public AtomJAXBUtils()
isTypeXml
public static boolean isTypeXml(java.lang.String type)
isValueActuallyXml
public static boolean isValueActuallyXml(java.lang.Object source)
saxParse
public static void saxParse(java.io.Reader reader,
org.xml.sax.ContentHandler handler,
java.lang.String errorMessage)
unmarshal
public static java.lang.Object unmarshal(javax.xml.bind.Unmarshaller unmarshaller,
java.io.Reader reader)
throws java.io.IOException
- Throws:
java.io.IOException
marshal
public static void marshal(javax.xml.bind.Marshaller marshaller,
java.lang.Object jaxbObject,
java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
marshal
public static void marshal(javax.xml.bind.Marshaller marshaller,
java.lang.Object jaxbObject,
java.util.Map<java.lang.String,java.lang.String> processingInstructions,
java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
marshal
public static void marshal(javax.xml.bind.Marshaller marshaller,
java.lang.Object jaxbObject,
java.util.Map<java.lang.String,java.lang.String> processingInstructions,
JAXBNamespacePrefixMapper namespacePrefixMapper,
java.io.OutputStream os)
throws java.io.IOException
- Throws:
java.io.IOException
timeToXmlGregorianCalendar
public static javax.xml.datatype.XMLGregorianCalendar timeToXmlGregorianCalendar(long time)
xmlGregorianCalendarToTime
public static long xmlGregorianCalendarToTime(javax.xml.datatype.XMLGregorianCalendar xmlGregCal)
Copyright © 2009 The Apache Software Foundation. All Rights Reserved.