Package org.robolectric.res
Class StaxValueLoader
- java.lang.Object
-
- org.robolectric.res.StaxLoader
-
- org.robolectric.res.StaxValueLoader
-
public class StaxValueLoader extends StaxLoader
-
-
Field Summary
Fields Modifier and Type Field Description protected String
name
-
Fields inherited from class org.robolectric.res.StaxLoader
attrType, resourceTable, resType
-
-
Constructor Summary
Constructors Constructor Description StaxValueLoader(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
-
name
protected String name
-
-
Constructor Detail
-
StaxValueLoader
public StaxValueLoader(PackageResourceTable resourceTable, String attrType, ResType resType)
-
-
Method Detail
-
onStart
public void onStart(XMLStreamReader xml, XmlContext xmlContext) throws XMLStreamException
- Overrides:
onStart
in classStaxLoader
- Throws:
XMLStreamException
-
onCharacters
public void onCharacters(XMLStreamReader xml, XmlContext xmlContext) throws XMLStreamException
- Overrides:
onCharacters
in classStaxLoader
- Throws:
XMLStreamException
-
onEnd
public void onEnd(XMLStreamReader xml, XmlContext xmlContext) throws XMLStreamException
- Overrides:
onEnd
in classStaxLoader
- Throws:
XMLStreamException
-
addHandler
public org.robolectric.res.NodeHandler addHandler(String matchExpr, org.robolectric.res.NodeHandler subHandler)
-
-