com.thoughtworks.xstream.io.xml.StaxReader Java Examples
The following examples show how to use
com.thoughtworks.xstream.io.xml.StaxReader.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JettisonMappedXmlDriver.java From lams with GNU General Public License v2.0 | 5 votes |
public HierarchicalStreamReader createReader(final Reader reader) { try { return new StaxReader(new QNameMap(), mif.createXMLStreamReader(reader), getNameCoder()); } catch (final XMLStreamException e) { throw new StreamException(e); } }
Example #2
Source File: JettisonMappedXmlDriver.java From lams with GNU General Public License v2.0 | 5 votes |
public HierarchicalStreamReader createReader(final InputStream input) { try { return new StaxReader(new QNameMap(), mif.createXMLStreamReader(input), getNameCoder()); } catch (final XMLStreamException e) { throw new StreamException(e); } }
Example #3
Source File: XStreamMarshaller.java From spring-analysis-note with MIT License | 4 votes |
@Override protected Object unmarshalXmlStreamReader(XMLStreamReader streamReader) throws XmlMappingException { return doUnmarshal(new StaxReader(new QNameMap(), streamReader, this.nameCoder), null); }
Example #4
Source File: XStreamMarshaller.java From java-technology-stack with MIT License | 4 votes |
@Override protected Object unmarshalXmlStreamReader(XMLStreamReader streamReader) throws XmlMappingException { return doUnmarshal(new StaxReader(new QNameMap(), streamReader, this.nameCoder), null); }
Example #5
Source File: XStreamMarshaller.java From spring4-understanding with Apache License 2.0 | 4 votes |
@Override protected Object unmarshalXmlStreamReader(XMLStreamReader streamReader) throws XmlMappingException { return doUnmarshal(new StaxReader(new QNameMap(), streamReader, this.nameCoder), null); }