|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.myfaces.trinidadinternal.style.xml.parse.StyleSheetDocument
public class StyleSheetDocument
Private implementation of StyleSheetDocument.
Field Summary | |
---|---|
static long |
UNKNOWN_TIMESTAMP
Value used to indicate that the document timestamp is not know. |
Constructor Summary | |
---|---|
StyleSheetDocument(StyleSheetNode[] styleSheets,
ColorSchemeNode[] colorSchemes)
Deprecated. colorScheme elements are no longer supported |
|
StyleSheetDocument(StyleSheetNode[] styleSheets,
ColorSchemeNode[] colorSchemes,
java.lang.String documentVersion)
Deprecated. colorScheme elements are no longer supported |
|
StyleSheetDocument(StyleSheetNode[] styleSheets,
java.lang.String documentVersion,
long documentTimestamp)
Creates a StyleSheetDocument |
Method Summary | |
---|---|
java.util.Iterator<ColorSchemeNode> |
getColorSchemes()
Implementation of StyleSheetDocument.getColorSchemes(); |
long |
getDocumentTimestamp()
Returns a timestamp which indicates when the underlying source files which were used to create this StyleSheetDocument were last modified. |
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.Iterator<StyleNode> |
getStyles(StyleContext context)
Returns an Iterator of StyleNode objects for the specified context. |
java.util.Iterator<StyleSheetNode> |
getStyleSheets()
Implementation of StyleSheetDocument.getStyleSheets(); |
java.util.Iterator<StyleSheetNode> |
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 |
Field Detail |
---|
public static final long UNKNOWN_TIMESTAMP
Constructor Detail |
---|
@Deprecated public StyleSheetDocument(StyleSheetNode[] styleSheets, ColorSchemeNode[] colorSchemes)
@Deprecated public StyleSheetDocument(StyleSheetNode[] styleSheets, ColorSchemeNode[] colorSchemes, java.lang.String documentVersion)
public StyleSheetDocument(StyleSheetNode[] styleSheets, java.lang.String documentVersion, long documentTimestamp)
styleSheets
- The StyleSheetNodes which define the contents
of this StyleSheetDocument.documentVersion
- The version identifier for this StyleSheetDocument.timestamp
- The timestamp for this StyleSheetDocument.Method Detail |
---|
public java.lang.String getDocumentVersion()
public long getDocumentTimestamp()
public java.util.Iterator<StyleSheetNode> getStyleSheets()
public java.util.Iterator<ColorSchemeNode> getColorSchemes()
public java.util.Iterator<StyleSheetNode> getStyleSheets(StyleContext context)
public java.util.Iterator<StyleNode> getStyles(StyleContext context)
public StyleNode getStyleBySelector(StyleContext context, java.lang.String selector)
public StyleNode getStyleByName(StyleContext context, java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |