@ParametersAreNonnullByDefault public abstract class AbstractXmiStreamReader extends AbstractStreamReader
AbstractStreamReader
that processes the raw structure of XMI files.Constructor and Description |
---|
AbstractXmiStreamReader() |
Modifier and Type | Method and Description |
---|---|
protected List<AbstractProcessor> |
createProcessors()
Creates all processors required for analyzing the read source.
|
protected boolean |
isSpecialAttribute(String prefix,
String name,
String value)
Defines if the attribute represented with the parameters is a special attribute as 'xsi:type', 'xmi:id' or
'xmi:idref'.
|
flushCurrentElement, getCurrentElement, getPreviousId, ignoreCurrentElement, parse, read, readAttribute, readEndDocument, readEndElement, readMetaClass, readNamespace, readSimpleElement, readStartDocument, readStartElement
addNext
addNext, notifyAttribute, notifyComplete, notifyEndElement, notifyInitialize, notifyReference, notifyStartElement, supportsMultiTargets
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
notifyAttribute, notifyComplete, notifyEndElement, notifyInitialize, notifyReference, notifyStartElement
@Nonnull protected List<AbstractProcessor> createProcessors()
AbstractReader
createProcessors
in class AbstractReader<InputStream>
protected final boolean isSpecialAttribute(@Nullable String prefix, String name, String value) throws IOException
AbstractStreamReader
isSpecialAttribute
in class AbstractStreamReader
prefix
- the namespace's prefix of the attributename
- the name of the attributevalue
- the value of the attributetrue
if the given feature is a special featureIOException
Copyright © 2013–2019 Atlanmod. All rights reserved.