org.plasma.xml.wsdl.v11
Class WSDLDataBinding

java.lang.Object
  extended by org.plasma.xml.wsdl.v11.WSDLDataBinding
All Implemented Interfaces:
DataBinding

public class WSDLDataBinding
extends Object
implements DataBinding


Field Summary
static Class<?>[] FACTORIES
           
static String FILENAME_SCHEMA_CHAIN_ROOT
           
static Class<?> RESOURCE_CLASS
           
 
Constructor Summary
WSDLDataBinding(BindingValidationEventHandler validationEventHandler)
           
 
Method Summary
 Class<?>[] getObjectFactories()
           
 BindingValidationEventHandler getValidationEventHandler()
           
 String marshal(Object root)
           
 void marshal(Object root, OutputStream stream)
           
 Object unmarshal(InputStream stream)
           
 Object unmarshal(Reader reader)
           
 Object unmarshal(Source source)
           
 Object unmarshal(String xml)
           
 Object validate(InputStream xml)
           
 Object validate(String xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILENAME_SCHEMA_CHAIN_ROOT

public static String FILENAME_SCHEMA_CHAIN_ROOT

RESOURCE_CLASS

public static Class<?> RESOURCE_CLASS

FACTORIES

public static Class<?>[] FACTORIES
Constructor Detail

WSDLDataBinding

public WSDLDataBinding(BindingValidationEventHandler validationEventHandler)
                throws JAXBException,
                       SAXException
Throws:
JAXBException
SAXException
Method Detail

getObjectFactories

public Class<?>[] getObjectFactories()

marshal

public String marshal(Object root)
               throws JAXBException
Specified by:
marshal in interface DataBinding
Throws:
JAXBException

marshal

public void marshal(Object root,
                    OutputStream stream)
             throws JAXBException
Throws:
JAXBException

unmarshal

public Object unmarshal(String xml)
                 throws JAXBException
Specified by:
unmarshal in interface DataBinding
Throws:
JAXBException

unmarshal

public Object unmarshal(Reader reader)
                 throws JAXBException
Throws:
JAXBException

unmarshal

public Object unmarshal(Source source)
                 throws JAXBException
Throws:
JAXBException

unmarshal

public Object unmarshal(InputStream stream)
                 throws JAXBException
Specified by:
unmarshal in interface DataBinding
Throws:
JAXBException

validate

public Object validate(String xml)
                throws JAXBException
Specified by:
validate in interface DataBinding
Throws:
JAXBException

validate

public Object validate(InputStream xml)
                throws JAXBException,
                       UnmarshalException
Specified by:
validate in interface DataBinding
Throws:
JAXBException
UnmarshalException

getValidationEventHandler

public BindingValidationEventHandler getValidationEventHandler()
                                                        throws JAXBException
Specified by:
getValidationEventHandler in interface DataBinding
Throws:
JAXBException


Copyright © 2013. All rights reserved.