return super.unmarshal(source);
}
public final Object unmarshal0( Node node, JaxBeanInfo expectedType ) throws JAXBException {
try {
final DOMScanner scanner = new DOMScanner();
InterningXmlVisitor handler = new InterningXmlVisitor(createUnmarshallerHandler(null,false,expectedType));
scanner.setContentHandler(new SAXConnector(handler,scanner));
if(node instanceof Element)
scanner.scan((Element)node);
else
if(node instanceof Document)
scanner.scan((Document)node);
else
// no other type of input is supported
throw new IllegalArgumentException("Unexpected node type: "+node);
return handler.getContext().getResult();