org.apache.myfaces.trinidadinternal.style.xml.parse
Class StyleSheetNode

java.lang.Object
  extended by org.apache.myfaces.trinidadinternal.style.xml.parse.StyleSheetNode

public class StyleSheetNode
extends java.lang.Object

Private implementation of StyleSheetNode.

Version:
$Name: $ ($Revision: adfrt/faces/adf-faces-impl/src/main/java/oracle/adfinternal/view/faces/style/xml/parse/StyleSheetNode.java#0 $) $Date: 10-nov-2005.18:58:46 $
Author:
The Oracle ADF Faces Team

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

Constructor Detail

StyleSheetNode

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

Method Detail

getStyles

public java.util.Iterator<StyleNode> getStyles()
Implementation of StyleSheetNode.getStyles().


getReadingDirection

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


getMode

public int getMode()

getLocales

public java.util.Iterator<java.util.Locale> getLocales()
Implementation of StyleSheetNode.getLocales().


getBrowsers

public java.util.Iterator<java.lang.Integer> getBrowsers()
Implementation of StyleSheetNode.getBrowsers().


getVersions

public java.util.Iterator<java.lang.Integer> getVersions()
Implementation of StyleSheetNode.getVersions().


getPlatforms

public java.util.Iterator<java.lang.Integer> getPlatforms()
Implementation of StyleSheetNode.getPlatforms().


compareVariants

public int compareVariants(java.util.Locale locale,
                           int direction,
                           TrinidadAgent agent,
                           int mode)
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.

Parameters:
mode -

toString

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


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.