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
Handle style File
- Since:
- Oct 26, 2018
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(String uri, String localName, String qName) voidstartElement(String namespaceURI, String localName, String qName, Attributes attributes) Receive notification of the start of an element.Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
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:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- 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
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
getStyleNameMap
-
getStyleIds
-
getStyleLatents
-