org.jboss.xb.binding
Class UnmarshallerFactory
java.lang.Object
org.jboss.xb.binding.UnmarshallerFactory
public abstract class UnmarshallerFactory
- extends Object
- Version:
- $Revision: 4874 $
- Author:
- Alexey Loubyansky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
features
protected Map<String,Object> features
validation
protected Boolean validation
namespaces
protected Boolean namespaces
warnOnParserErrors
protected Boolean warnOnParserErrors
UnmarshallerFactory
public UnmarshallerFactory()
newInstance
public static UnmarshallerFactory newInstance()
newUnmarshaller
public abstract Unmarshaller newUnmarshaller()
setFeature
public void setFeature(String name,
Object value)
setWarnOnParserErrors
public void setWarnOnParserErrors(boolean value)
- This property controls whether the (underlying) parser errors should be
logged as warnings or should they terminate parsing with errors.
isWarnOnParserErrors
public boolean isWarnOnParserErrors()
- This property controls whether the (underlying) parser errors should be
logged as warnings or should they terminate parsing with errors.
The default is to terminate parsing by re-throwing parser errors.
- Returns:
- false if parser errors should be logged as warnings, otherwise - true
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.