org.jboss.xb.binding
Interface Unmarshaller

All Known Implementing Classes:
UnmarshallerImpl

public interface Unmarshaller

Version:
$Revision: 1.1.2.4 $
Author:
Alexey Loubyansky

Field Summary
static String DYNAMIC_VALIDATION
           
static String NAMESPACE_PREFIXES
           
static String NAMESPACES
           
static String SCHEMA_FULL_CHECKING
           
static String SCHEMA_VALIDATION
           
static String VALIDATION
           
 
Method Summary
 void mapFactoryToNamespace(ObjectModelFactory factory, String namespaceUri)
           
 void setEntityResolver(EntityResolver entityResolver)
           
 void setErrorHandler(ErrorHandler errorHandler)
           
 void setNamespaceAware(boolean namespaces)
           
 void setValidation(boolean validation)
           
 Object unmarshal(InputStream is, ObjectModelFactory factory, Object root)
           
 Object unmarshal(InputStream xmlStream, SchemaBinding schemaBinding)
           
 Object unmarshal(InputStream xmlStream, SchemaBindingResolver schemaResolver)
           
 Object unmarshal(Reader xmlFile, ObjectModelFactory factory, DocumentBinding metadata)
           
 Object unmarshal(Reader reader, ObjectModelFactory factory, Object root)
           
 Object unmarshal(Reader xmlReader, SchemaBinding schemaBinding)
           
 Object unmarshal(Reader xmlReader, SchemaBindingResolver schemaResolver)
           
 Object unmarshal(String xmlFile)
           
 Object unmarshal(String systemId, BindingCursor cursor, ObjectModelFactory factory)
           
 Object unmarshal(String xmlFile, JBossXBParser.ContentHandler handler)
           
 Object unmarshal(String xmlFile, ObjectModelFactory factory, DocumentBinding metadata)
           
 Object unmarshal(String systemId, ObjectModelFactory factory, Object root)
           
 Object unmarshal(String xml, SchemaBinding schemaBinding)
           
 Object unmarshal(String xml, SchemaBindingResolver schemaResolver)
           
 

Field Detail

VALIDATION

static final String VALIDATION
See Also:
Constant Field Values

NAMESPACES

static final String NAMESPACES
See Also:
Constant Field Values

NAMESPACE_PREFIXES

static final String NAMESPACE_PREFIXES
See Also:
Constant Field Values

DYNAMIC_VALIDATION

static final String DYNAMIC_VALIDATION
See Also:
Constant Field Values

SCHEMA_VALIDATION

static final String SCHEMA_VALIDATION
See Also:
Constant Field Values

SCHEMA_FULL_CHECKING

static final String SCHEMA_FULL_CHECKING
See Also:
Constant Field Values
Method Detail

setValidation

void setValidation(boolean validation)
                   throws JBossXBException
Throws:
JBossXBException

setNamespaceAware

void setNamespaceAware(boolean namespaces)
                       throws JBossXBException
Throws:
JBossXBException

setEntityResolver

void setEntityResolver(EntityResolver entityResolver)
                       throws JBossXBException
Throws:
JBossXBException

setErrorHandler

void setErrorHandler(ErrorHandler errorHandler)

mapFactoryToNamespace

void mapFactoryToNamespace(ObjectModelFactory factory,
                           String namespaceUri)

unmarshal

Object unmarshal(String xmlFile,
                 JBossXBParser.ContentHandler handler)
                 throws JBossXBException
Throws:
JBossXBException

unmarshal

Object unmarshal(String xmlFile)
                 throws JBossXBException
Throws:
JBossXBException

unmarshal

Object unmarshal(String xml,
                 SchemaBinding schemaBinding)
                 throws JBossXBException
Throws:
JBossXBException

unmarshal

Object unmarshal(Reader xmlReader,
                 SchemaBinding schemaBinding)
                 throws JBossXBException
Throws:
JBossXBException

unmarshal

Object unmarshal(InputStream xmlStream,
                 SchemaBinding schemaBinding)
                 throws JBossXBException
Throws:
JBossXBException

unmarshal

Object unmarshal(String xml,
                 SchemaBindingResolver schemaResolver)
                 throws JBossXBException
Throws:
JBossXBException

unmarshal

Object unmarshal(Reader xmlReader,
                 SchemaBindingResolver schemaResolver)
                 throws JBossXBException
Throws:
JBossXBException

unmarshal

Object unmarshal(InputStream xmlStream,
                 SchemaBindingResolver schemaResolver)
                 throws JBossXBException
Throws:
JBossXBException

unmarshal

Object unmarshal(String xmlFile,
                 ObjectModelFactory factory,
                 DocumentBinding metadata)
                 throws JBossXBException
Throws:
JBossXBException

unmarshal

Object unmarshal(Reader xmlFile,
                 ObjectModelFactory factory,
                 DocumentBinding metadata)
                 throws JBossXBException
Throws:
JBossXBException

unmarshal

Object unmarshal(Reader reader,
                 ObjectModelFactory factory,
                 Object root)
                 throws JBossXBException
Throws:
JBossXBException

unmarshal

Object unmarshal(InputStream is,
                 ObjectModelFactory factory,
                 Object root)
                 throws JBossXBException
Throws:
JBossXBException

unmarshal

Object unmarshal(String systemId,
                 ObjectModelFactory factory,
                 Object root)
                 throws JBossXBException
Throws:
JBossXBException

unmarshal

Object unmarshal(String systemId,
                 BindingCursor cursor,
                 ObjectModelFactory factory)
                 throws JBossXBException
Throws:
JBossXBException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.