com.intel.gpe.clients.api.gridlet.elements
Class JAXBUtil

java.lang.Object
  extended by com.intel.gpe.clients.api.gridlet.elements.JAXBUtil

public class JAXBUtil
extends java.lang.Object

Author:
Alexander Lukichev

Constructor Summary
JAXBUtil()
           
 
Method Summary
static org.w3c.dom.Element marshal(GridletElement gridlet)
          Marshal the GridletElement to the DOM element
static void marshal(GridletElement gridlet, java.io.OutputStream out)
          Marshal the GridletElement to the output stream
static org.w3c.dom.Element marshalVariable(VariableElement ve)
           
static void marshalVariable(VariableElement ve, java.io.OutputStream out)
           
static GridletElement unmarshal(org.w3c.dom.Element elem)
          Unmarshal the GridletElement from the supplied DOM element
static GridletElement unmarshal(java.io.InputStream in)
          Unmarshal the GridletElement from the supplied input stream
static VariableElement unmarshalVariable(org.w3c.dom.Element elem)
           
static VariableElement unmarshalVariable(java.io.Reader r)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBUtil

public JAXBUtil()
Method Detail

unmarshal

public static GridletElement unmarshal(org.w3c.dom.Element elem)
                                throws javax.xml.bind.JAXBException
Unmarshal the GridletElement from the supplied DOM element

Throws:
javax.xml.bind.JAXBException

marshal

public static void marshal(GridletElement gridlet,
                           java.io.OutputStream out)
                    throws javax.xml.bind.JAXBException
Marshal the GridletElement to the output stream

Throws:
javax.xml.bind.JAXBException

unmarshal

public static GridletElement unmarshal(java.io.InputStream in)
                                throws javax.xml.bind.JAXBException
Unmarshal the GridletElement from the supplied input stream

Throws:
javax.xml.bind.JAXBException

marshal

public static org.w3c.dom.Element marshal(GridletElement gridlet)
                                   throws javax.xml.bind.JAXBException,
                                          javax.xml.parsers.ParserConfigurationException
Marshal the GridletElement to the DOM element

Throws:
javax.xml.bind.JAXBException
javax.xml.parsers.ParserConfigurationException

unmarshalVariable

public static VariableElement unmarshalVariable(org.w3c.dom.Element elem)
                                         throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

unmarshalVariable

public static VariableElement unmarshalVariable(java.io.Reader r)
                                         throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

marshalVariable

public static void marshalVariable(VariableElement ve,
                                   java.io.OutputStream out)
                            throws javax.xml.bind.JAXBException
Throws:
javax.xml.bind.JAXBException

marshalVariable

public static org.w3c.dom.Element marshalVariable(VariableElement ve)
                                           throws javax.xml.bind.JAXBException,
                                                  javax.xml.parsers.ParserConfigurationException
Throws:
javax.xml.bind.JAXBException
javax.xml.parsers.ParserConfigurationException


Copyright © 2008. All Rights Reserved.