JBoss XML Binding 2.0.3.GA

org.jboss.xb.binding
Class UnmarshallerFactory

java.lang.Object
  extended by org.jboss.xb.binding.UnmarshallerFactory

public abstract class UnmarshallerFactory
extends Object

Version:
$Revision: 4874 $
Author:
Alexey Loubyansky

Field Summary
protected  Map<String,Object> features
           
protected  Boolean namespaces
           
protected  Boolean validation
           
protected  Boolean warnOnParserErrors
           
 
Constructor Summary
UnmarshallerFactory()
           
 
Method Summary
 boolean isWarnOnParserErrors()
          This property controls whether the (underlying) parser errors should be logged as warnings or should they terminate parsing with errors.
static UnmarshallerFactory newInstance()
           
abstract  Unmarshaller newUnmarshaller()
           
 void setFeature(String name, Object value)
           
 void setWarnOnParserErrors(boolean value)
          This property controls whether the (underlying) parser errors should be logged as warnings or should they terminate parsing with errors.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

features

protected Map<String,Object> features

validation

protected Boolean validation

namespaces

protected Boolean namespaces

warnOnParserErrors

protected Boolean warnOnParserErrors
Constructor Detail

UnmarshallerFactory

public UnmarshallerFactory()
Method Detail

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

JBoss XML Binding 2.0.3.GA

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.