public abstract class AbstractXmiReader extends AbstractReader
Reader
that processes the raw structure of XMI files.Modifier and Type | Field and Description |
---|---|
protected static String |
XMI_NS
The namespace prefix of XMI.
|
protected static String |
XSI_NS
The namespace prefix of XSI.
|
Constructor and Description |
---|
AbstractXmiReader() |
Modifier and Type | Method and Description |
---|---|
protected void |
processCharacters(String characters)
Processes characters.
|
protected void |
processEndElement(String uri,
String localName)
Processes the end of an element.
|
protected void |
processStartElement(String uri,
String localName,
Attributes attributes)
Processes a new element and send a notification to handlers.
|
format, processEndDocument, processNamespace, processStartDocument
addHandler, getHandlers, hasHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
defaultProcessor, read
addHandler, getHandlers, hasHandler, notifyAttribute, notifyCharacters, notifyEndDocument, notifyEndElement, notifyReference, notifyStartDocument, notifyStartElement
protected static final String XSI_NS
protected static final String XMI_NS
protected void processStartElement(String uri, String localName, Attributes attributes)
uri
- the URI of the elementlocalName
- the name of the elementattributes
- the attributes of the elementprotected void processCharacters(String characters)
characters
- a set of characters, as String
Copyright © 2013–2017 Atlanmod INRIA LINA Mines Nantes. All rights reserved.