org.nuiton.eugene.plugin.writer
Class XmiChainedFileWriter.XmiVersionHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by 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.


Field Summary
protected  String version
           
 
Constructor Summary
XmiChainedFileWriter.XmiVersionHandler()
           
 
Method Summary
 String getVersion()
           
 void startElement(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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

version

protected String version
Constructor Detail

XmiChainedFileWriter.XmiVersionHandler

public XmiChainedFileWriter.XmiVersionHandler()
Method Detail

getVersion

public String getVersion()

startElement

public void startElement(String uri,
                         String localName,
                         String qName,
                         Attributes attributes)
                  throws SAXException
Specified by:
startElement in interface ContentHandler
Overrides:
startElement in class DefaultHandler
Throws:
SAXException


Copyright © 2006-2011 CodeLutin. All Rights Reserved.