com.arsdigita.kernel
Class StyleAssociation
java.lang.Object
com.arsdigita.kernel.StyleAssociation
- public class StyleAssociation
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
versionId
public static final String versionId
- See Also:
- Constant Field Values
getStylesheets
public static Stylesheet[] getStylesheets(Object style,
Locale locale,
String outputType)
- Gets an array with all applicable stylesheets.
- Parameters:
style
- a DataAssociation that is the result from get("defaultStylesheet")locale
- the locale of the requestoutputType
- the desired type of output (HTML, WML, XML, and so on)
- Returns:
- an array with all applicable stylesheets.
getStylesheet
public static Stylesheet getStylesheet(Object style,
Locale locale,
String outputType)
- Gets the first stylesheet (best match) associated with this object.
- Parameters:
style
- a DataAssociation that is the result from get("defaultStylesheet")locale
- the locale of the requestoutputType
- the desired type of output (HTML, WML, XML, and so on)
- Returns:
- the first stylesheet associated with this object.
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC