Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.style.xml.parse
Class StyleSheetNode

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

public class StyleSheetNode
extends java.lang.Object

Private implementation of StyleSheetNode.


Constructor Summary
StyleSheetNode(StyleNode[] styles, java.util.Locale[] locales, int direction, int[] browsers, int[] versions, int[] platforms)
          Creates a StyleSheetNode with the specified attributes.
 
Method Summary
 int compareVariants(java.util.Locale locale, int direction, Agent agent)
          Tests whether this StyleSheet matches the specified variants.
 java.util.Enumeration getBrowsers()
          Implementation of StyleSheetNode.getBrowsers().
 java.util.Enumeration getLocales()
          Implementation of StyleSheetNode.getLocales().
 java.util.Enumeration getPlatforms()
          Implementation of StyleSheetNode.getPlatforms().
 int getReadingDirection()
          Implementation of StyleSheetNode.getReadingDirection();
 java.util.Enumeration getStyles()
          Implementation of StyleSheetNode.getStyles().
 java.util.Enumeration getVersions()
          Implementation of StyleSheetNode.getVersions().
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StyleSheetNode

public StyleSheetNode(StyleNode[] styles,
                      java.util.Locale[] locales,
                      int direction,
                      int[] browsers,
                      int[] versions,
                      int[] platforms)
Creates a StyleSheetNode with the specified attributes.
Method Detail

getStyles

public java.util.Enumeration getStyles()
Implementation of StyleSheetNode.getStyles().

getReadingDirection

public int getReadingDirection()
Implementation of StyleSheetNode.getReadingDirection();

getLocales

public java.util.Enumeration getLocales()
Implementation of StyleSheetNode.getLocales().

getBrowsers

public java.util.Enumeration getBrowsers()
Implementation of StyleSheetNode.getBrowsers().

getVersions

public java.util.Enumeration getVersions()
Implementation of StyleSheetNode.getVersions().

getPlatforms

public java.util.Enumeration getPlatforms()
Implementation of StyleSheetNode.getPlatforms().

compareVariants

public int compareVariants(java.util.Locale locale,
                           int direction,
                           Agent agent)
Tests whether this StyleSheet matches the specified variants. Returns a number indicating the specificity of the match. Zero means there is no match. Larger numbers indicate better matches. The value returned by compareVariants is used to sort style sheets according to precedence.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

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