Methods exposed by the unmarshalling coordinator object
to the generated code.
This interface will be implemented by the coordinator, which
converts whatever events (e.g., SAX) into unmarshalling events.

Errors detected by the AbstractUnmarshallingEventHandlerImpl-derived classes should
be either thrown as UnrepotedException or reported through
the handleEvent method of this interface.

getLocator

handleEvent

Reports an error to the user, and asks if s/he wants
to recover. If the canRecover flag is false, regardless
of the client instruction, an exception will be thrown.
Only if the flag is true and the user wants to recover from an error,
the method returns normally.
The thrown exception will be catched by the unmarshaller.

Throws:

org.xml.sax.SAXException

resolveNamespacePrefix

java.lang.String resolveNamespacePrefix(java.lang.String prefix)

getBaseUri

java.lang.String getBaseUri()

isUnparsedEntity

boolean isUnparsedEntity(java.lang.String entityName)

isNotation

boolean isNotation(java.lang.String notationName)

getTracer

com.sun.xml.bind.unmarshaller.Tracer getTracer()

Gets a tracer object.
Tracer can be used to trace the unmarshalling behavior.
Note that to debug the unmarshalling process,
you have to configure XJC so that it will emit trace codes
in the unmarshaller.