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