| |
|
| java.lang.Object com.sun.perseus.model.ConditionalProcessing
ConditionalProcessing | final public class ConditionalProcessing (Code) | | ConditionalProcessing is a helper class which handles the
conditional processing decisions for Perseus classes.
version: $Id: ConditionalProcessing.java,v 1.3 2006/06/29 10:47:30 ln156897 Exp $ |
SUPPORTED_FEATURES | final public static String[] SUPPORTED_FEATURES(Code) | | Required Features for SVG Tiny
|
USER_LANGUAGE | final public static String USER_LANGUAGE(Code) | | The user language
IMPL NOTE : Make this configurable, at least at Perseus
load time.
|
checkExtensions | public static boolean checkExtensions(String[] requiredExtensions)(Code) | | There are currently no supported extensions in Perseus
Parameters: requiredExtensions - the array of required extensions to test false |
checkFeatures | public static boolean checkFeatures(String[] requiredFeatures)(Code) | | The list of supported features:
http://www.w3.org/TR/SVG11/feature#CoreAttribute
http://www.w3.org/TR/SVG11/feature#BasicStructure
http://www.w3.org/TR/SVG11/feature#BasicPaintAttribute
http://www.w3.org/TR/SVG11/feature#BasicGraphicsAttribute
http://www.w3.org/TR/SVG11/feature#XlinkAttribute
http://www.w3.org/TR/SVG11/feature#ConditionalProcessing
http://www.w3.org/TR/SVG11/feature#Shape
http://www.w3.org/TR/SVG11/feature#Image
http://www.w3.org/TR/SVG11/feature#BasicText
http://www.w3.org/TR/SVG11/feature#BasicFont
http://www.w3.org/TR/SVGMobile/Tiny/feature#base
The list of unsupported features:
http://www.w3.org/TR/SVG11/feature#Hyperlinking
http://www.w3.org/TR/SVG11/feature#Animation
http://www.w3.org/TR/SVG11/feature#Extensibility
http://www.w3.org/TR/SVGMobile/Tiny/feature#interactivity
http://www.w3.org/TR/SVGMobile/Tiny/feature#all
Parameters: requiredFeatures - the set of features to check true if all the features in the input array are supported. |
checkLanguage | public static boolean checkLanguage(String[] systemLanguage)(Code) | | The user language preference is controlled by this class
Parameters: systemLanguage - the set of languages to check true if the user language matches one of the systemLanguageitem.s |
isFeatureSupported | public static boolean isFeatureSupported(String requiredFeature)(Code) | | Parameters: requiredFeature - the feature to check true if the input feature is supported, i.e. if it is oneof the supported features See Also: ConditionalProcessing.SUPPORTED_FEATURES |
|
|
|