Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.style.xml.parse
Class StyleSheetDocument

java.lang.Object
  |
  +--oracle.cabo.style.xml.parse.StyleSheetDocument

public class StyleSheetDocument
extends java.lang.Object

Private implementation of StyleSheetDocument.


Constructor Summary
StyleSheetDocument(StyleSheetNode[] styleSheets, ColorSchemeNode[] colorSchemes)
           
StyleSheetDocument(StyleSheetNode[] styleSheets, ColorSchemeNode[] colorSchemes, java.lang.String documentVersion)
           
 
Method Summary
 java.util.Enumeration getColorSchemes()
          Implementation of StyleSheetDocument.getColorSchemes();
 java.lang.String getDocumentVersion()
          Returns the version identifier for this style sheet document.
 StyleNode getStyleByName(StyleContext context, java.lang.String name)
          Returns the fully-resolved StyleNode for the style with the specified name.
 StyleNode getStyleBySelector(StyleContext context, java.lang.String selector)
          Returns the fully-resolved StyleNode for the style with the specified selector.
 java.util.Enumeration getStyles(StyleContext context)
          Returns an Enumeration of StyleNode objects for the specified context.
 java.util.Enumeration getStyleSheets()
          Implementation of StyleSheetDocument.getStyleSheets();
 java.util.Enumeration getStyleSheets(StyleContext context)
          Returns all StyleSheetNodes which can be applied to the specified context, sorted from lowest to highest precedence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StyleSheetDocument

public StyleSheetDocument(StyleSheetNode[] styleSheets,
                          ColorSchemeNode[] colorSchemes)

StyleSheetDocument

public StyleSheetDocument(StyleSheetNode[] styleSheets,
                          ColorSchemeNode[] colorSchemes,
                          java.lang.String documentVersion)
Method Detail

getDocumentVersion

public java.lang.String getDocumentVersion()
Returns the version identifier for this style sheet document.

getStyleSheets

public java.util.Enumeration getStyleSheets()
Implementation of StyleSheetDocument.getStyleSheets();

getColorSchemes

public java.util.Enumeration getColorSchemes()
Implementation of StyleSheetDocument.getColorSchemes();

getStyleSheets

public java.util.Enumeration getStyleSheets(StyleContext context)
Returns all StyleSheetNodes which can be applied to the specified context, sorted from lowest to highest precedence.

getStyles

public java.util.Enumeration getStyles(StyleContext context)
Returns an Enumeration of StyleNode objects for the specified context.

getStyleBySelector

public StyleNode getStyleBySelector(StyleContext context,
                                    java.lang.String selector)
Returns the fully-resolved StyleNode for the style with the specified selector.

getStyleByName

public StyleNode getStyleByName(StyleContext context,
                                java.lang.String name)
Returns the fully-resolved StyleNode for the style with the specified name.

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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