Package org.nuiton.eugene.plugin.writer
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
protected class XmiChainedFileWriter.XmiVersionHandler extends DefaultHandler
Sax handler to find xmi version into xmi document.
-
-
Constructor Summary
Constructors Constructor Description XmiVersionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetVersion()voidstartElement(String uri, String localName, String qName, 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, warning
-
-
-
-
Field Detail
-
version
protected String version
-
-
Method Detail
-
getVersion
public String getVersion()
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
- Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
-