当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 common API Documentation 英文版文档
Unmarshaller (JBoss/Common API) - JBoss 4.0.1 sp1 common API Documentation 英文版文档
org.jboss.xml.binding
Class Unmarshaller
java.lang.Object
org.jboss.xml.binding.Unmarshaller
- public class Unmarshaller
- extends Object
Unmarshaller implementation.
WARNING: this implementation is not thread-safe.
- Version:
- $Revision: 1.13.2.1 $
- Author:
- Alexey Loubyansky
Constructor Summary |
Unmarshaller()
The constructor for DTD and XSD client awareness. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VALIDATION
public static final String VALIDATION
- See Also:
- Constant Field Values
NAMESPACES
public static final String NAMESPACES
- See Also:
- Constant Field Values
NAMESPACE_PREFIXES
public static final String NAMESPACE_PREFIXES
- See Also:
- Constant Field Values
DYNAMIC_VALIDATION
public static final String DYNAMIC_VALIDATION
- See Also:
- Constant Field Values
SCHEMA_VALIDATION
public static final String SCHEMA_VALIDATION
- See Also:
- Constant Field Values
SCHEMA_FULL_CHECKING
public static final String SCHEMA_FULL_CHECKING
- See Also:
- Constant Field Values
Unmarshaller
public Unmarshaller()
throws JBossXBException
- The constructor for DTD and XSD client awareness.
setValidation
public void setValidation(boolean validation)
throws JBossXBException
- Throws:
JBossXBException
setNamespaceAware
public void setNamespaceAware(boolean namespaces)
throws JBossXBException
- Throws:
JBossXBException
setEntityResolver
public void setEntityResolver(EntityResolver entityResolver)
throws JBossXBException
- Throws:
JBossXBException
setErrorHandler
public void setErrorHandler(ErrorHandler errorHandler)
mapFactoryToNamespace
public void mapFactoryToNamespace(ObjectModelFactory factory,
String namespaceUri)
unmarshal
public Object unmarshal(Reader reader,
ObjectModelFactory factory,
Object root)
throws JBossXBException
- Throws:
JBossXBException
unmarshal
public Object unmarshal(InputStream is,
ObjectModelFactory factory,
Object root)
throws JBossXBException
- Throws:
JBossXBException
unmarshal
public Object unmarshal(String systemId,
ObjectModelFactory factory,
Object root)
throws JBossXBException
- Throws:
JBossXBException
unmarshal
public Object unmarshal(InputSource is,
ObjectModelFactory factory,
Object root)
throws JBossXBException
- Throws:
JBossXBException
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.