Package org.robolectric.res
Class StaxLoader
- java.lang.Object
-
- org.robolectric.res.StaxLoader
-
- Direct Known Subclasses:
StaxArrayLoader
,StaxAttrLoader
,StaxPluralsLoader
,StaxStyleLoader
,StaxValueLoader
public abstract class StaxLoader extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected String
attrType
protected PackageResourceTable
resourceTable
protected ResType
resType
-
Constructor Summary
Constructors Constructor Description StaxLoader(PackageResourceTable resourceTable, String attrType, ResType resType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.robolectric.res.NodeHandler
addHandler(String matchExpr, org.robolectric.res.NodeHandler subHandler)
void
onCharacters(XMLStreamReader xml, XmlContext xmlContext)
void
onEnd(XMLStreamReader xml, XmlContext xmlContext)
void
onStart(XMLStreamReader xml, XmlContext xmlContext)
-
-
-
Field Detail
-
resourceTable
protected final PackageResourceTable resourceTable
-
attrType
protected final String attrType
-
resType
protected final ResType resType
-
-
Constructor Detail
-
StaxLoader
public StaxLoader(PackageResourceTable resourceTable, String attrType, ResType resType)
-
-
Method Detail
-
onStart
public void onStart(XMLStreamReader xml, XmlContext xmlContext) throws XMLStreamException
- Throws:
XMLStreamException
-
onCharacters
public void onCharacters(XMLStreamReader xml, XmlContext xmlContext) throws XMLStreamException
- Throws:
XMLStreamException
-
onEnd
public void onEnd(XMLStreamReader xml, XmlContext xmlContext) throws XMLStreamException
- Throws:
XMLStreamException
-
addHandler
public org.robolectric.res.NodeHandler addHandler(String matchExpr, org.robolectric.res.NodeHandler subHandler)
-
-