javax.xml.bind
Class JAXB

java.lang.Object
  extended by javax.xml.bind.JAXB

public final class JAXB
extends Object


Method Summary
static void marshal(Object object, File file)
           
static void marshal(Object object, OutputStream os)
           
static void marshal(Object object, Result result)
           
static void marshal(Object object, String str)
           
static void marshal(Object object, URI uri)
           
static void marshal(Object object, URL url)
           
static void marshal(Object object, Writer writer)
           
static
<T> T
unmarshal(File file, Class<T> type)
           
static
<T> T
unmarshal(InputStream is, Class<T> type)
           
static
<T> T
unmarshal(Reader reader, Class<T> type)
           
static
<T> T
unmarshal(Source source, Class<T> type)
           
static
<T> T
unmarshal(String str, Class<T> type)
           
static
<T> T
unmarshal(URI uri, Class<T> type)
           
static
<T> T
unmarshal(URL url, Class<T> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

marshal

public static void marshal(Object object,
                           File file)

marshal

public static void marshal(Object object,
                           OutputStream os)

marshal

public static void marshal(Object object,
                           Writer writer)

marshal

public static void marshal(Object object,
                           String str)

marshal

public static void marshal(Object object,
                           URI uri)

marshal

public static void marshal(Object object,
                           URL url)

marshal

public static void marshal(Object object,
                           Result result)

unmarshal

public static <T> T unmarshal(File file,
                              Class<T> type)

unmarshal

public static <T> T unmarshal(URL url,
                              Class<T> type)

unmarshal

public static <T> T unmarshal(URI uri,
                              Class<T> type)

unmarshal

public static <T> T unmarshal(String str,
                              Class<T> type)

unmarshal

public static <T> T unmarshal(InputStream is,
                              Class<T> type)

unmarshal

public static <T> T unmarshal(Reader reader,
                              Class<T> type)

unmarshal

public static <T> T unmarshal(Source source,
                              Class<T> type)


Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.