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) |
setFeature
static 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
JBossXBException
void setNamespaceAware(boolean namespaces) throws JBossXBException
JBossXBException
void setSchemaValidation(boolean validation) throws JBossXBException
JBossXBException
void setWarnOnParserErrors(boolean value)
boolean isWarnOnParserErrors()
void setEntityResolver(EntityResolver entityResolver) throws JBossXBException
JBossXBException
void setErrorHandler(ErrorHandler errorHandler)
void mapFactoryToNamespace(ObjectModelFactory factory, String namespaceUri)
Object unmarshal(String xmlFile, JBossXBParser.ContentHandler handler) throws JBossXBException
JBossXBException
Object unmarshal(String xmlFile) throws JBossXBException
JBossXBException
Object unmarshal(String xml, SchemaBinding schemaBinding) throws JBossXBException
JBossXBException
Object unmarshal(Reader xmlReader, SchemaBinding schemaBinding) throws JBossXBException
JBossXBException
Object unmarshal(InputStream xmlStream, SchemaBinding schemaBinding) throws JBossXBException
JBossXBException
Object unmarshal(InputSource source, SchemaBinding schemaBinding) throws JBossXBException
JBossXBException
Object unmarshal(String xml, SchemaBindingResolver schemaResolver) throws JBossXBException
JBossXBException
Object unmarshal(Reader xmlReader, SchemaBindingResolver schemaResolver) throws JBossXBException
JBossXBException
Object unmarshal(InputStream xmlStream, SchemaBindingResolver schemaResolver) throws JBossXBException
JBossXBException
Object unmarshal(InputSource source, SchemaBindingResolver schemaResolver) throws JBossXBException
JBossXBException
Object unmarshal(Reader reader, ObjectModelFactory factory, Object root) throws JBossXBException
JBossXBException
Object unmarshal(InputStream is, ObjectModelFactory factory, Object root) throws JBossXBException
JBossXBException
Object unmarshal(InputSource source, ObjectModelFactory factory, Object root) throws JBossXBException
JBossXBException
Object unmarshal(String systemId, ObjectModelFactory factory, Object root) throws JBossXBException
JBossXBException
Object unmarshal(String systemId, ObjectModelFactory factory, DocumentBinding binding) throws JBossXBException
JBossXBException
Object unmarshal(Reader reader, ObjectModelFactory factory, DocumentBinding binding) throws JBossXBException
JBossXBException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.