oracle.cabo.style.tools
Class StyleSheetGenerator
java.lang.Object
|
+--oracle.cabo.style.tools.StyleSheetGenerator
- public class StyleSheetGenerator
- extends java.lang.Object
StyleSheetGenerator generates a single CSS style sheet from an XML Style Sheet (XSS) document.
StyleSheetGenerator has one required parameter - the name of the source XSS file. The XSS file name must be specified as the first argument on the command line. The StyleSheetGenerator also takes the following optional arguments:
- locale: the locale variant. This must be a valid Java-style locale name, eg: "-locale=en_US" or "-locale=ja".
- direction: the direction variant. Valid values include "ltr" and "rtl".
- browser: the browser to generate for. This must be one of the XSS browser variant values (currently "netscape", "ie", or "mozilla"). For example: "-browser=netscape"
- version: the browser version to generate for. This must an integer value, eg. "-version=4".
- os: the operating system to generate for. This must be one of the XSS os variant values (currently "windows", "macos", "linux", "solaris"). For example: "-os=linux".
- parser: the class name of the XML provider to use. The referenced class must be an implement the oracle.cabo.share.xml.XMLProvider interface. The default value is "oracle.cabo.share.xml.OracleXMLProvider" (=-=AEW Not currently supported)
These optional arguments can be specified in any order after the input XSS file name. If an optional argument is omitted, the corresponding variant is not considered when generating the style sheet. For example, if no locale is specified, only locale-independent CSS <styleSheet> elements will be processed.
Method Summary |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(java.lang.String[] args)