Package icyllis.modernui.resources
Class ResourceParser
java.lang.Object
icyllis.modernui.resources.ResourceParser
Parses an XML file for resources and adds them to a ResourceTable.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Attr
(XMLStreamReader reader, ResourceParser.ParsedResource out) boolean
Attr0
(XMLStreamReader reader, ResourceParser.ParsedResource out_resource, boolean weak) boolean
DeclareStyleable
(XMLStreamReader reader, ResourceParser.ParsedResource out_resource) static int
static int
FormatType
(String s) static int
static void
boolean
Parse
(XMLStreamReader reader) boolean
ParseResources
(XMLStreamReader reader)
-
Constructor Details
-
ResourceParser
public ResourceParser()
-
-
Method Details
-
FormatTypeNoEnumOrFlags
-
FormatType
-
FormatAttribute
-
Parse
-
main
- Throws:
XMLStreamException
-
ParseResources
-
Attr
-
Attr0
public boolean Attr0(XMLStreamReader reader, ResourceParser.ParsedResource out_resource, boolean weak) -
DeclareStyleable
-