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