|
NextApp Echo2 v2.1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nextapp.echo2.app.componentxml.StyleSheetLoader
public class StyleSheetLoader
Loads XML style sheets.
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 ComponentXmlException
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 occurpublic static StyleSheet load(java.io.InputStream in, java.lang.ClassLoader classLoader) throws ComponentXmlException
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
|
NextApp Echo2 v2.1.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |