Class DOCXEngine.NumberingUpdateProcess
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.nomagic.magicreport.engine.velocity.DOCXEngine.NumberingUpdateProcess
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Enclosing class:
DOCXEngine
Handle numbering for child document
This abstractNumId and numId in this file should be updated
- Since:
- Sep 22, 2017
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) voidendElement(String uri, String localName, String qName) intReturn abstractNumId.Get content of numberingintgetNumId()Return numId.voidstartElement(String namespaceURI, String localName, String qName, Attributes attributes) protected voidwriteAttributes(String qName, Attributes attributes) Methods inherited from class org.xml.sax.helpers.DefaultHandler
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
-
NumberingUpdateProcess
-
-
Method Details
-
startElement
public void startElement(String namespaceURI, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
writeAttributes
- Throws:
SAXException
-
characters
- Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
getNumId
public int getNumId()Return numId.- Returns:
- int num id
-
getAbstractNumId
public int getAbstractNumId()Return abstractNumId.- Returns:
- int abstractNum id
-
getContent
Get content of numbering- Returns:
- content of numbering
-