org.jboss.xml.binding
Class Unmarshaller
java.lang.Object
org.jboss.xml.binding.Unmarshaller
- public class Unmarshaller
- extends java.lang.Object
Unmarshaller implementation.
WARNING: this implementation is not thread-safe.
Constructor Summary |
Unmarshaller()
The constructor for DTD and XSD client awareness. |
Unmarshaller(boolean useXniParser)
Create a parser with a choice between the XniJBossXBParser and
SaxJBossXBParser. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VALIDATION
public static final java.lang.String VALIDATION
- See Also:
- Constant Field Values (src)
NAMESPACES
public static final java.lang.String NAMESPACES
- See Also:
- Constant Field Values (src)
NAMESPACE_PREFIXES
public static final java.lang.String NAMESPACE_PREFIXES
- See Also:
- Constant Field Values (src)
DYNAMIC_VALIDATION
public static final java.lang.String DYNAMIC_VALIDATION
- See Also:
- Constant Field Values (src)
SCHEMA_VALIDATION
public static final java.lang.String SCHEMA_VALIDATION
- See Also:
- Constant Field Values (src)
SCHEMA_FULL_CHECKING
public static final java.lang.String SCHEMA_FULL_CHECKING
- See Also:
- Constant Field Values (src)
Unmarshaller
public Unmarshaller()
throws JBossXBException (src)
- The constructor for DTD and XSD client awareness. Invokes this(false).
Unmarshaller
public Unmarshaller(boolean useXniParser)
throws JBossXBException (src)
- Create a parser with a choice between the XniJBossXBParser and
SaxJBossXBParser.
- Parameters:
useXniParser
- - true to use the XniJBossXBParser, false to use
the SaxJBossXBParser
- Throws:
JBossXBException (src)
setValidation
public void setValidation(boolean validation)
throws JBossXBException (src)
- Throws:
JBossXBException (src)
setNamespaceAware
public void setNamespaceAware(boolean namespaces)
throws JBossXBException (src)
- Throws:
JBossXBException (src)
setEntityResolver
public void setEntityResolver(org.xml.sax.EntityResolver entityResolver)
throws JBossXBException (src)
- Throws:
JBossXBException (src)
setErrorHandler
public void setErrorHandler(org.xml.sax.ErrorHandler errorHandler)
mapFactoryToNamespace
public void mapFactoryToNamespace(ObjectModelFactory (src) factory,
java.lang.String namespaceUri)
unmarshal
public java.lang.Object unmarshal(java.io.Reader reader,
ObjectModelFactory (src) factory,
java.lang.Object root)
throws JBossXBException (src)
- Throws:
JBossXBException (src)
unmarshal
public java.lang.Object unmarshal(java.io.InputStream is,
ObjectModelFactory (src) factory,
java.lang.Object root)
throws JBossXBException (src)
- Throws:
JBossXBException (src)
unmarshal
public java.lang.Object unmarshal(java.lang.String systemId,
ObjectModelFactory (src) factory,
java.lang.Object root)
throws JBossXBException (src)
- Throws:
JBossXBException (src)
unmarshal
public java.lang.Object unmarshal(org.xml.sax.InputSource is,
ObjectModelFactory (src) factory,
java.lang.Object root)
throws JBossXBException (src)
- Throws:
JBossXBException (src)