com.admc.jamama.dtd.impl.runtime
Class UnmarshallerImpl
java.lang.Object
AbstractUnmarshallerImpl
com.admc.jamama.dtd.impl.runtime.UnmarshallerImpl
- public class UnmarshallerImpl
- extends AbstractUnmarshallerImpl
Default Unmarshall implementation.
This class can be extended by the generated code to provide
type-safe unmarshall methods.
- Author:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnmarshallerImpl
public UnmarshallerImpl(DefaultJAXBContextImpl context,
GrammarInfo gi)
setValidating
public void setValidating(boolean validating)
throws JAXBException
- Throws:
JAXBException
getUnmarshallerHandler
public UnmarshallerHandler getUnmarshallerHandler()
createUnmarshallerHandler
public SAXUnmarshallerHandler createUnmarshallerHandler(Locator locator)
- Creates and configures a new unmarshalling pipe line.
Depending on the setting, we put a validator as a filter.
- Parameters:
locator - The object that is responsible to obtain the source
location information for ValidationEvents.
- Returns:
- A component that implements both UnmarshallerHandler
and ValidationEventHandler. All the parsing errors
should be reported to this error handler for the unmarshalling
process to work correctly.
unmarshal
protected java.lang.Object unmarshal(org.xml.sax.XMLReader reader,
org.xml.sax.InputSource source)
throws JAXBException
- Throws:
JAXBException
unmarshal
public final java.lang.Object unmarshal(org.w3c.dom.Node node)
throws JAXBException
- Throws:
JAXBException