Class CanvasComponentTagHandler

    • Constructor Detail

      • CanvasComponentTagHandler

        public CanvasComponentTagHandler()
    • Method Detail

      • startElement

        public void startElement​(java.lang.String uri,
                                 java.lang.String localName,
                                 java.lang.String qName,
                                 org.xml.sax.Attributes atts)
                          throws DesignImportException
        Description copied from interface: TagHandler
        Callback to signal the encounter of a tag start.

        Once a tag handler begins handling, it receives the start tag events for all the nested tags within the purview of the tag this tag handler is registered against.

        Specified by:
        startElement in interface TagHandler
        Overrides:
        startElement in class AbstractTagHandler
        Throws:
        DesignImportException
      • endHandling

        public void endHandling​(java.lang.String uri,
                                java.lang.String localName,
                                java.lang.String qName)
                         throws DesignImportException
        Description copied from interface: TagHandler
        Callback to signal the end of handling giving the tag handler a chance for finalizing things.

        This is arguably the last callback a tag handler receives. After this, the current tag handler is popped out from the chain and the subsequent Tika events are directed to preceding tag handlers.

        Specified by:
        endHandling in interface TagHandler
        Overrides:
        endHandling in class AbstractTagHandler
        Throws:
        DesignImportException
      • getResourceType

        public java.lang.String getResourceType()
      • setResourceType

        public void setResourceType​(java.lang.String resourceType)