Package org.oscim.theme
Class XmlAtlasThemeBuilder
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.oscim.theme.XmlThemeBuilder
-
- org.oscim.theme.XmlAtlasThemeBuilder
-
public class XmlAtlasThemeBuilder extends XmlThemeBuilder
-
-
Constructor Summary
Constructors Constructor Description XmlAtlasThemeBuilder(org.oscim.theme.ThemeFile theme, java.util.Map<java.lang.Object,org.oscim.renderer.atlas.TextureRegion> regionMap, java.util.List<org.oscim.renderer.atlas.TextureAtlas> atlasList)XmlAtlasThemeBuilder(org.oscim.theme.ThemeFile theme, org.oscim.theme.ThemeCallback themeCallback, java.util.Map<java.lang.Object,org.oscim.renderer.atlas.TextureRegion> regionMap, java.util.List<org.oscim.renderer.atlas.TextureAtlas> atlasList)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.oscim.theme.IRenderThemeread(org.oscim.theme.ThemeFile theme)static org.oscim.theme.IRenderThemeread(org.oscim.theme.ThemeFile theme, org.oscim.theme.ThemeCallback themeCallback)-
Methods inherited from class org.oscim.theme.XmlThemeBuilder
endDocument, endElement, error, startElement, warning
-
-
-
-
Constructor Detail
-
XmlAtlasThemeBuilder
public XmlAtlasThemeBuilder(org.oscim.theme.ThemeFile theme, java.util.Map<java.lang.Object,org.oscim.renderer.atlas.TextureRegion> regionMap, java.util.List<org.oscim.renderer.atlas.TextureAtlas> atlasList)
-
XmlAtlasThemeBuilder
public XmlAtlasThemeBuilder(org.oscim.theme.ThemeFile theme, org.oscim.theme.ThemeCallback themeCallback, java.util.Map<java.lang.Object,org.oscim.renderer.atlas.TextureRegion> regionMap, java.util.List<org.oscim.renderer.atlas.TextureAtlas> atlasList)
-
-
Method Detail
-
read
public static org.oscim.theme.IRenderTheme read(org.oscim.theme.ThemeFile theme) throws org.oscim.theme.IRenderTheme.ThemeException- Parameters:
theme- an input theme containing valid render theme XML data.- Returns:
- a new RenderTheme which is created by parsing the XML data from the input theme.
- Throws:
org.oscim.theme.IRenderTheme.ThemeException- if an error occurs while parsing the render theme XML.
-
read
public static org.oscim.theme.IRenderTheme read(org.oscim.theme.ThemeFile theme, org.oscim.theme.ThemeCallback themeCallback) throws org.oscim.theme.IRenderTheme.ThemeException- Parameters:
theme- an input theme containing valid render theme XML data.themeCallback- the theme callback.- Returns:
- a new RenderTheme which is created by parsing the XML data from the input theme.
- Throws:
org.oscim.theme.IRenderTheme.ThemeException- if an error occurs while parsing the render theme XML.
-
-