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
ConstructorsConstructorDescriptionDefaultNamespaceDefinition(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.ResourceKeyString[]getStyleAttribute(String element) getURI()
-
Constructor Details
-
DefaultNamespaceDefinition
-
-
Method Details
-
getURI
- Specified by:
getURIin interfaceNamespaceDefinition
-
getClassAttribute
- Specified by:
getClassAttributein interfaceNamespaceDefinition
-
getStyleAttribute
- Specified by:
getStyleAttributein interfaceNamespaceDefinition
-
getDefaultStyleSheetLocation
public org.pentaho.reporting.libraries.resourceloader.ResourceKey getDefaultStyleSheetLocation()- Specified by:
getDefaultStyleSheetLocationin interfaceNamespaceDefinition
-
getPreferredPrefix
- Specified by:
getPreferredPrefixin interfaceNamespaceDefinition
-