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.
Method Summary |
java.util.Enumeration |
getColorSchemes()
Implementation of StyleSheetDocument.getColorSchemes(); |
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 |
StyleSheetDocument
public StyleSheetDocument(StyleSheetNode[] styleSheets,
ColorSchemeNode[] colorSchemes)
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.