|
NextApp Echo3 v3.0.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnextapp.echo.app.serial.StyleSheetLoader
public class StyleSheetLoader
Loads style sheet data from XML format into a StyleSheet instance.
| Constructor Summary | |
|---|---|
StyleSheetLoader()
|
|
| Method Summary | |
|---|---|
static StyleSheet |
load(java.io.InputStream in,
java.lang.ClassLoader classLoader)
Parses an XML style sheet and returns a StyleSheet
instance. |
static StyleSheet |
load(java.lang.String resourceName,
java.lang.ClassLoader classLoader)
Parses an XML style sheet and returns a StyleSheet
instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StyleSheetLoader()
| Method Detail |
|---|
public static StyleSheet load(java.lang.String resourceName,
java.lang.ClassLoader classLoader)
throws SerialException
StyleSheet
instance.
Styles for components that cannot be loaded by the specified
ClassLoader will be ignored.
resourceName - the name of the resource on the
CLASSPATH containing the XML dataclassLoader - the ClassLoader with which to
instantiate property objects
StyleSheet or null if the resource
does not exist
ComponentXmlException - if parsing/instantiation errors occur
SerialException
public static StyleSheet load(java.io.InputStream in,
java.lang.ClassLoader classLoader)
throws SerialException
StyleSheet
instance.
Styles for components that cannot be loaded by the specified
ClassLoader will be ignored.
in - the InputStream containing the XML dataclassLoader - the ClassLoader with which to
instantiate property objects
StyleSheet
ComponentXmlException - if parsing/instantiation errors occur
SerialException
|
NextApp Echo3 v3.0.rc1 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||