oracle.cabo.style.xml
Class StyleSheetDocumentUtils
java.lang.Object
|
+--oracle.cabo.style.xml.StyleSheetDocumentUtils
- public class StyleSheetDocumentUtils
- extends java.lang.Object
Utility class for parsing an XSS document into a StyleSheetDocument.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StyleSheetDocumentUtils
public StyleSheetDocumentUtils()
createStyleSheetDocument
public static StyleSheetDocument createStyleSheetDocument(StyleContext context,
XMLProvider provider,
org.xml.sax.InputSource source)
throws java.io.IOException,
org.xml.sax.SAXException
- Creates a StyleSheetDocument from the specified InputSource
- Parameters:
context
- The StyleContextxmlProvider
- The XMLProvider to use to parse the source documentsource
- The InputSource for the source document. The system
id of the InputSource must be the file system path of the
source document.
createStyleSheetDocument
public static StyleSheetDocument createStyleSheetDocument(StyleContext context,
XMLProvider xmlProvider,
NameResolver resolver,
java.lang.String sourceName)
throws java.io.IOException,
org.xml.sax.SAXException
- Creates a StyleSheetDocument from the specified InputSource
- Parameters:
context
- The StyleContextxmlProvider
- The XMLProvider to use to parse the source documentresolver
- The NameResolver to use to locate the source document.
This must be a non-null instance.sourceName
- The name of the source XSS document. This value
must resolve to a valid document via the provided
NameResolver.
Copyright © 2002,2003, Oracle. All Rights Reserved.