Class StyleGroupRefReadHandler

  • All Implemented Interfaces:
    org.pentaho.reporting.libraries.xmlns.parser.XmlReadHandler

    public class StyleGroupRefReadHandler
    extends org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
    • Constructor Detail

      • StyleGroupRefReadHandler

        public StyleGroupRefReadHandler​(Map<StyleKey,​StyleMetaData> styles,
                                        GlobalMetaDefinition styleGroups,
                                        String bundle)
        Parameters:
        styles - the style-keys for which metadata is created.
        styleGroups - the global collection of style-groups.
        bundle - the default resource-bundle that is used if the group defines no own bundle.
    • Method Detail

      • startParsing

        protected void startParsing​(Attributes attrs)
                             throws SAXException
        Starts parsing.
        Overrides:
        startParsing in class org.pentaho.reporting.libraries.xmlns.parser.AbstractXmlReadHandler
        Parameters:
        attrs - the attributes.
        Throws:
        SAXException - if there is a parsing error.
      • getObject

        public Object getObject()
                         throws SAXException
        Returns the object for this element or null, if this element does not create an object.
        Returns:
        the object.
        Throws:
        SAXException - if an parser error occured.