Class DOCXEngine.StyleProcess

java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.nomagic.magicreport.engine.velocity.DOCXEngine.StyleProcess
All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
Enclosing class:
DOCXEngine

public static class DOCXEngine.StyleProcess extends DefaultHandler
Handle style File
Since:
Oct 26, 2018
  • Constructor Details

    • StyleProcess

      public StyleProcess()
  • Method Details

    • startElement

      public void startElement(String namespaceURI, String localName, String qName, Attributes attributes) throws SAXException
      Receive notification of the start of an element.
      Specified by:
      startElement in interface ContentHandler
      Overrides:
      startElement in class DefaultHandler
      Parameters:
      namespaceURI - The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed.
      localName - The local name (without prefix), or the empty string if Namespace processing is not being performed.
      qName - The qualified name (with prefix), or the empty string if qualified names are not available.
      attributes - The attributes attached to the element. If there are no attributes, it shall be an empty Attributes object.
      Throws:
      SAXException - Any SAX exception, possibly wrapping another exception.
    • endElement

      public void endElement(String uri, String localName, String qName) throws SAXException
      Specified by:
      endElement in interface ContentHandler
      Overrides:
      endElement in class DefaultHandler
      Throws:
      SAXException
    • getStyleNameMap

      public Map<String,String> getStyleNameMap()
    • getStyleIds

      public Set<String> getStyleIds()
    • getStyleLatents

      public Set<String> getStyleLatents()