Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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.


Constructor Summary
StyleSheetDocumentUtils()
           
 
Method Summary
static StyleSheetDocument createStyleSheetDocument(StyleContext context, XMLProvider provider, org.xml.sax.InputSource source)
          Creates a StyleSheetDocument from the specified InputSource
static StyleSheetDocument createStyleSheetDocument(StyleContext context, XMLProvider xmlProvider, NameResolver resolver, java.lang.String sourceName)
          Creates a StyleSheetDocument from the specified InputSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleSheetDocumentUtils

public StyleSheetDocumentUtils()
Method Detail

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 StyleContext
xmlProvider - The XMLProvider to use to parse the source document
source - 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 StyleContext
xmlProvider - The XMLProvider to use to parse the source document
resolver - 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.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.