Class StaxDocumentLoader

java.lang.Object
org.robolectric.res.DocumentLoader
org.robolectric.res.StaxDocumentLoader

public class StaxDocumentLoader extends DocumentLoader
  • Constructor Details

    • StaxDocumentLoader

      public StaxDocumentLoader(String packageName, Path resourceBase, org.robolectric.res.NodeHandler topLevelNodeHandler)
  • Method Details

    • loadResourceXmlFile

      protected void loadResourceXmlFile(XmlContext xmlContext)
      Specified by:
      loadResourceXmlFile in class DocumentLoader
    • doParse

      protected void doParse(javax.xml.stream.XMLStreamReader reader, XmlContext xmlContext) throws javax.xml.stream.XMLStreamException
      Throws:
      javax.xml.stream.XMLStreamException