1 package org.robolectric.res; 2 3 import javax.xml.stream.XMLStreamException; 4 import javax.xml.stream.XMLStreamReader; 5 6 public abstract class StaxLoader extends NodeHandler { 7 8 protected final PackageResourceTable resourceTable; 9 protected final String attrType; 10 protected final ResType resType; 11 StaxLoader(PackageResourceTable resourceTable, String attrType, ResType resType)12 public StaxLoader(PackageResourceTable resourceTable, String attrType, ResType resType) { 13 this.resourceTable = resourceTable; 14 this.attrType = attrType; 15 this.resType = resType; 16 } 17 18 @Override onStart(XMLStreamReader xml, XmlContext xmlContext)19 public void onStart(XMLStreamReader xml, XmlContext xmlContext) throws XMLStreamException { 20 } 21 22 @Override onCharacters(XMLStreamReader xml, XmlContext xmlContext)23 public void onCharacters(XMLStreamReader xml, XmlContext xmlContext) throws XMLStreamException { 24 } 25 26 @Override onEnd(XMLStreamReader xml, XmlContext xmlContext)27 public void onEnd(XMLStreamReader xml, XmlContext xmlContext) throws XMLStreamException { 28 } 29 } 30