Class XmlAtlasThemeBuilder

    • 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.IRenderTheme read​(org.oscim.theme.ThemeFile theme)  
      static org.oscim.theme.IRenderTheme read​(org.oscim.theme.ThemeFile theme, org.oscim.theme.ThemeCallback themeCallback)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.