public <T> JAXBElement<T> unmarshal(Node node, Class<T> declaredType) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("Node, Class<T>")); }
public <T> JAXBElement<T> unmarshal(XMLStreamReader reader, Class<T> declaredType) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("XMLStreamReader, Class<T>")); }
public Object unmarshal(Reader reader) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("Reader")); }
public Object unmarshal(URL url) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("URL")); }
public Object unmarshal(XMLEventReader reader) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("XMLEventReader")); }
public Object unmarshal(File f) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("File")); }
public Object unmarshal(XMLStreamReader reader) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("XMLStreamReader")); }
public <T> JAXBElement<T> unmarshal(XMLEventReader reader, Class<T> declaredType) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("XMLEventReader, Class<T>")); }
public <T> JAXBElement<T> unmarshal(Source source, Class<T> declaredType) throws JAXBException { if(source instanceof SAXSource) { try { SAXParser sp = SAXParserProvider.getInstance().getParser(disableExternalEntities, enableSecureProcessingFeature, disableDTDs); XMLReader xmlReader = sp.getXMLReader(); ((SAXSource) source).setXMLReader(xmlReader); return delegate.unmarshal(source, declaredType); } catch (SAXException e) { throw new JAXBException(e); } catch (ParserConfigurationException e) { throw new JAXBException(e); } } throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("Source, Class<T>")); }
public Object unmarshal(Source source) throws JAXBException { if(source instanceof SAXSource) { try { SAXParser sp = SAXParserProvider.getInstance().getParser(disableExternalEntities, enableSecureProcessingFeature, disableDTDs); XMLReader xmlReader = sp.getXMLReader(); ((SAXSource) source).setXMLReader(xmlReader); return delegate.unmarshal(source); } catch (SAXException e) { throw new JAXBException(e); } catch (ParserConfigurationException e) { throw new JAXBException(e); } } throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("Source, Class<T>")); }