fr.opensagres.xdocreport.document.docx.preprocessor.sax.hyperlinks
Class HyperlinkContentHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
fr.opensagres.xdocreport.document.docx.preprocessor.sax.hyperlinks.HyperlinkContentHandler
- All Implemented Interfaces:
- ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class HyperlinkContentHandler
- extends DefaultHandler
SAX Handler which loads Relationship type of Hyperlink declared in the "word/_rels/document.xml.rels" in the initial
InitialHyperlinkMap.
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HyperlinkContentHandler
public HyperlinkContentHandler()
startElement
public void startElement(String uri,
String localName,
String name,
Attributes attributes)
throws SAXException
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class DefaultHandler
- Throws:
SAXException
getHyperlinks
public InitialHyperlinkMap getHyperlinks()
- Returns Map of initial Relationship type of Hyperlink declared in the "word/_rels/document.xml.rels" and null if
there is no Hyperlink declared.
- Returns:
Copyright © 2013. All Rights Reserved.