Class XmlBlock

java.lang.Object
org.robolectric.res.builder.XmlBlock

public class XmlBlock extends Object
An XML block is a parsed representation of a resource XML file. Similar in nature to Android's XmlBlock class.
  • Method Details

    • create

      @Nullable public static XmlBlock create(Path path, String packageName)
    • getDocument

      public Document getDocument()
    • getPath

      public Path getPath()
    • getPackageName

      public String getPackageName()