Class DOCXEngine.DocumentRelationshipProcess
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.nomagic.magicreport.engine.velocity.DOCXEngine.DocumentRelationshipProcess
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Enclosing class:
DOCXEngine
Handle document relationship
- Since:
- July 19, 2017
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstartElement(String namespaceURI, String localName, String qName, Attributes attributes) Receive notification of the start of an element.protected voidwriteAttributes(Attributes attributes) Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, 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
-
DocumentRelationshipProcess
-
-
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.
-
writeAttributes
-