Class DefaultNamespaceDefinition
java.lang.Object
org.pentaho.reporting.libraries.css.namespace.DefaultNamespaceDefinition
- All Implemented Interfaces:
NamespaceDefinition
A default implementation of the NamespaceDefinition interface. This implementation assumes that all elements use the
same style and class attributes.
- Author:
- Thomas Morgner
-
Constructor Summary
ConstructorDescriptionDefaultNamespaceDefinition
(String uri, org.pentaho.reporting.libraries.resourceloader.ResourceKey defaultStyleSheet, String classAttribute, String styleAttribute, String preferredPrefix) -
Method Summary
Modifier and TypeMethodDescriptionString[]
getClassAttribute
(String element) org.pentaho.reporting.libraries.resourceloader.ResourceKey
String[]
getStyleAttribute
(String element) getURI()
-
Constructor Details
-
DefaultNamespaceDefinition
-
-
Method Details
-
getURI
- Specified by:
getURI
in interfaceNamespaceDefinition
-
getClassAttribute
- Specified by:
getClassAttribute
in interfaceNamespaceDefinition
-
getStyleAttribute
- Specified by:
getStyleAttribute
in interfaceNamespaceDefinition
-
getDefaultStyleSheetLocation
public org.pentaho.reporting.libraries.resourceloader.ResourceKey getDefaultStyleSheetLocation()- Specified by:
getDefaultStyleSheetLocation
in interfaceNamespaceDefinition
-
getPreferredPrefix
- Specified by:
getPreferredPrefix
in interfaceNamespaceDefinition
-