public interface Unmarshaller extends FeatureAware
| Modifier and Type | Field and Description |
|---|---|
static String |
DYNAMIC_VALIDATION |
static String |
NAMESPACE_PREFIXES |
static String |
NAMESPACES |
static String |
SCHEMA_FULL_CHECKING |
static String |
SCHEMA_VALIDATION |
static String |
VALIDATION |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isWarnOnParserErrors()
This property controls whether the (underlying) parser errors should be
logged as warnings or should they terminate parsing with errors.
|
void |
mapFactoryToNamespace(ObjectModelFactory factory,
String namespaceUri) |
void |
setEntityResolver(EntityResolver entityResolver) |
void |
setErrorHandler(ErrorHandler errorHandler)
Deprecated.
|
void |
setNamespaceAware(boolean namespaces) |
void |
setSchemaValidation(boolean validation) |
void |
setValidation(boolean validation) |
void |
setWarnOnParserErrors(boolean value)
This property controls whether the (underlying) parser errors should be
logged as warnings or should they terminate parsing with errors.
|
Object |
unmarshal(InputSource source,
ObjectModelFactory factory,
Object root) |
Object |
unmarshal(InputSource source,
SchemaBinding schemaBinding) |
Object |
unmarshal(InputSource source,
SchemaBindingResolver schemaResolver) |
Object |
unmarshal(InputStream is,
ObjectModelFactory factory,
Object root) |
Object |
unmarshal(InputStream xmlStream,
SchemaBinding schemaBinding) |
Object |
unmarshal(InputStream xmlStream,
SchemaBindingResolver schemaResolver) |
Object |
unmarshal(Reader reader,
ObjectModelFactory factory,
DocumentBinding binding) |
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 xmlFile,
JBossXBParser.ContentHandler handler) |
Object |
unmarshal(String systemId,
ObjectModelFactory factory,
DocumentBinding binding) |
Object |
unmarshal(String systemId,
ObjectModelFactory factory,
Object root) |
Object |
unmarshal(String xml,
SchemaBinding schemaBinding) |
Object |
unmarshal(String xml,
SchemaBindingResolver schemaResolver) |
setFeaturestatic final String VALIDATION
static final String NAMESPACES
static final String NAMESPACE_PREFIXES
static final String DYNAMIC_VALIDATION
static final String SCHEMA_VALIDATION
static final String SCHEMA_FULL_CHECKING
void setValidation(boolean validation)
throws JBossXBException
JBossXBExceptionvoid setNamespaceAware(boolean namespaces)
throws JBossXBException
JBossXBExceptionvoid setSchemaValidation(boolean validation)
throws JBossXBException
JBossXBExceptionvoid setWarnOnParserErrors(boolean value)
boolean isWarnOnParserErrors()
void setEntityResolver(EntityResolver entityResolver) throws JBossXBException
JBossXBExceptionvoid setErrorHandler(ErrorHandler errorHandler)
void mapFactoryToNamespace(ObjectModelFactory factory, String namespaceUri)
Object unmarshal(String xmlFile, JBossXBParser.ContentHandler handler) throws JBossXBException
JBossXBExceptionObject unmarshal(String xmlFile) throws JBossXBException
JBossXBExceptionObject unmarshal(String xml, SchemaBinding schemaBinding) throws JBossXBException
JBossXBExceptionObject unmarshal(Reader xmlReader, SchemaBinding schemaBinding) throws JBossXBException
JBossXBExceptionObject unmarshal(InputStream xmlStream, SchemaBinding schemaBinding) throws JBossXBException
JBossXBExceptionObject unmarshal(InputSource source, SchemaBinding schemaBinding) throws JBossXBException
JBossXBExceptionObject unmarshal(String xml, SchemaBindingResolver schemaResolver) throws JBossXBException
JBossXBExceptionObject unmarshal(Reader xmlReader, SchemaBindingResolver schemaResolver) throws JBossXBException
JBossXBExceptionObject unmarshal(InputStream xmlStream, SchemaBindingResolver schemaResolver) throws JBossXBException
JBossXBExceptionObject unmarshal(InputSource source, SchemaBindingResolver schemaResolver) throws JBossXBException
JBossXBExceptionObject unmarshal(Reader reader, ObjectModelFactory factory, Object root) throws JBossXBException
JBossXBExceptionObject unmarshal(InputStream is, ObjectModelFactory factory, Object root) throws JBossXBException
JBossXBExceptionObject unmarshal(InputSource source, ObjectModelFactory factory, Object root) throws JBossXBException
JBossXBExceptionObject unmarshal(String systemId, ObjectModelFactory factory, Object root) throws JBossXBException
JBossXBExceptionObject unmarshal(String systemId, ObjectModelFactory factory, DocumentBinding binding) throws JBossXBException
JBossXBExceptionObject unmarshal(Reader reader, ObjectModelFactory factory, DocumentBinding binding) throws JBossXBException
JBossXBExceptionCopyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.