当前页面:
在线文档首页 >
JBoss 3.2.7 common API Documentation 英文版文档
Unmarshaller (JBoss/Common API) - JBoss 3.2.7 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.4.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 |
Unmarshaller
public Unmarshaller()
throws SAXException,
ParserConfigurationException
- The constructor for DTD and XSD client awareness.
setValidation
public void setValidation(boolean validation)
throws SAXNotSupportedException,
SAXNotRecognizedException
- Throws:
SAXNotSupportedException
SAXNotRecognizedException
setNamespaceAware
public void setNamespaceAware(boolean namespaces)
throws SAXNotSupportedException,
SAXNotRecognizedException
- Throws:
SAXNotSupportedException
SAXNotRecognizedException
setXmlReaderFeature
public void setXmlReaderFeature(String name,
boolean value)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
setXmlReaderProperty
public void setXmlReaderProperty(String name,
Object value)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
setDTDHandler
public void setDTDHandler(DTDHandler dtdHandler)
setEntityResolver
public void setEntityResolver(EntityResolver entityResolver)
setErrorHandler
public void setErrorHandler(ErrorHandler errorHandler)
mapFactoryToNamespace
public void mapFactoryToNamespace(ObjectModelFactory factory,
String namespaceUri)
unmarshal
public Object unmarshal(InputStream is,
ObjectModelFactory factory,
Object root)
throws Exception
- Throws:
Exception
unmarshal
public Object unmarshal(Reader reader,
ObjectModelFactory factory,
Object root)
throws Exception
- Throws:
Exception
unmarshal
public Object unmarshal(InputSource source,
ObjectModelFactory factory,
Object root)
throws Exception
- Throws:
Exception
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.