Lines Matching refs:node
285 public <T> JAXBElement<T> unmarshal(Node node, Class<T> expectedType) throws JAXBException {
288 return (JAXBElement)unmarshal0(node,getBeanInfo(expectedType));
291 public final Object unmarshal( Node node ) throws JAXBException {
292 return unmarshal0(node,null);
301 public final Object unmarshal0( Node node, JaxBeanInfo expectedType ) throws JAXBException {
308 if(node.getNodeType() == Node.ELEMENT_NODE)
309 scanner.scan((Element)node);
311 if(node.getNodeType() == Node.DOCUMENT_NODE)
312 scanner.scan((Document)node);
315 throw new IllegalArgumentException("Unexpected node type: "+node);