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