Class XmiChainedFileWriter.XmiVersionHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.nuiton.eugene.plugin.writer.XmiChainedFileWriter.XmiVersionHandler
- All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
- Enclosing class:
XmiChainedFileWriter
Sax handler to find xmi version into xmi document.
- Since:
- 2.0.0
- Author:
- tchemit
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstartElement(String uri, String localName, String qName, Attributes attributes) Methods inherited from class DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContentHandler
declaration
-
Field Details
-
version
-
-
Constructor Details
-
XmiVersionHandler
public XmiVersionHandler()
-
-
Method Details
-
getVersion
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-