Example #1
0
 public static XMLStreamReader getXMLStreamReader(InputStream in) throws XMLStreamException {
   return HoldMe.getXMLInputFactory().createXMLStreamReader(in);
 }
Example #2
0
 public static XMLStreamReader getXMLStreamReader(String text) throws XMLStreamException {
   return HoldMe.getXMLInputFactory()
       .createXMLStreamReader(new ByteArrayInputStream(text.getBytes()));
 }
Example #3
0
 public ThrowAwayStAXOMBuilder(XMLStreamReader parser) {
   super(HoldMe.getOMFactory(), parser);
 }