Class DefaultNamespaceDefinition
- java.lang.Object
-
- org.pentaho.reporting.libraries.css.namespace.DefaultNamespaceDefinition
-
- All Implemented Interfaces:
NamespaceDefinition
public class DefaultNamespaceDefinition extends Object implements 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
Constructors Constructor Description DefaultNamespaceDefinition(String uri, org.pentaho.reporting.libraries.resourceloader.ResourceKey defaultStyleSheet, String classAttribute, String styleAttribute, String preferredPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]
getClassAttribute(String element)
org.pentaho.reporting.libraries.resourceloader.ResourceKey
getDefaultStyleSheetLocation()
String
getPreferredPrefix()
String[]
getStyleAttribute(String element)
String
getURI()
-
-
-
Method Detail
-
getURI
public String getURI()
- Specified by:
getURI
in interfaceNamespaceDefinition
-
getClassAttribute
public String[] getClassAttribute(String element)
- Specified by:
getClassAttribute
in interfaceNamespaceDefinition
-
getStyleAttribute
public String[] getStyleAttribute(String element)
- Specified by:
getStyleAttribute
in interfaceNamespaceDefinition
-
getDefaultStyleSheetLocation
public org.pentaho.reporting.libraries.resourceloader.ResourceKey getDefaultStyleSheetLocation()
- Specified by:
getDefaultStyleSheetLocation
in interfaceNamespaceDefinition
-
getPreferredPrefix
public String getPreferredPrefix()
- Specified by:
getPreferredPrefix
in interfaceNamespaceDefinition
-
-