javax.xml.bind
Class Binder<XmlNode>

java.lang.Object
  extended by javax.xml.bind.Binder<XmlNode>

public abstract class Binder<XmlNode>
extends Object


Constructor Summary
Binder()
           
 
Method Summary
abstract  ValidationEventHandler getEventHandler()
           
abstract  Object getJAXBNode(XmlNode xmlNode)
           
abstract  Object getProperty(String name)
           
abstract  Schema getSchema()
           
abstract  XmlNode getXMLNode(Object jaxbObject)
           
abstract  void marshal(Object jaxbObject, XmlNode xmlNode)
           
abstract  void setEventHandler(ValidationEventHandler handler)
           
abstract  void setProperty(String name, Object value)
           
abstract  void setSchema(Schema schema)
           
abstract  Object unmarshal(XmlNode xmlNode)
           
abstract
<T> JAXBElement<T>
unmarshal(XmlNode xmlNode, Class<T> declaredType)
           
abstract  Object updateJAXB(XmlNode xmlNode)
           
abstract  XmlNode updateXML(Object jaxbObject)
           
abstract  XmlNode updateXML(Object jaxbObject, XmlNode xmlNode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Binder

public Binder()
Method Detail

getEventHandler

public abstract ValidationEventHandler getEventHandler()
                                                throws JAXBException
Throws:
JAXBException

getJAXBNode

public abstract Object getJAXBNode(XmlNode xmlNode)

getProperty

public abstract Object getProperty(String name)
                            throws PropertyException
Throws:
PropertyException

getSchema

public abstract Schema getSchema()

getXMLNode

public abstract XmlNode getXMLNode(Object jaxbObject)

marshal

public abstract void marshal(Object jaxbObject,
                             XmlNode xmlNode)
                      throws JAXBException
Throws:
JAXBException

setEventHandler

public abstract void setEventHandler(ValidationEventHandler handler)
                              throws JAXBException
Throws:
JAXBException

setProperty

public abstract void setProperty(String name,
                                 Object value)
                          throws PropertyException
Throws:
PropertyException

setSchema

public abstract void setSchema(Schema schema)

unmarshal

public abstract Object unmarshal(XmlNode xmlNode)
                          throws JAXBException
Throws:
JAXBException

unmarshal

public abstract <T> JAXBElement<T> unmarshal(XmlNode xmlNode,
                                             Class<T> declaredType)
                                  throws JAXBException
Throws:
JAXBException

updateJAXB

public abstract Object updateJAXB(XmlNode xmlNode)
                           throws JAXBException
Throws:
JAXBException

updateXML

public abstract XmlNode updateXML(Object jaxbObject)
                           throws JAXBException
Throws:
JAXBException

updateXML

public abstract XmlNode updateXML(Object jaxbObject,
                                  XmlNode xmlNode)
                           throws JAXBException
Throws:
JAXBException


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