private class SymbolicLayoutReader.SEDSAXHandler extends DefaultHandler
DefaultHandler
implementation used in ExecutionNodeReader.read(InputStream)
.Modifier and Type | Field and Description |
---|---|
private Map<SymbolicLayoutReader.KeYlessAssociation,String> |
associationTargetMapping
Maps a
SymbolicLayoutReader.KeYlessAssociation to its target object ID. |
private Map<String,ISymbolicObject> |
objectIdMapping
Maps each unique object ID to the instantiated
ISymbolicObject . |
private Deque<Object> |
parentStack
The hierarchy in building phase.
|
private ISymbolicLayout |
root
The root of the model.
|
Modifier | Constructor and Description |
---|---|
private |
SEDSAXHandler() |
Modifier and Type | Method and Description |
---|---|
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
ISymbolicLayout |
getRoot()
Returns the root of the model.
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
characters, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
private ISymbolicLayout root
private Map<String,ISymbolicObject> objectIdMapping
ISymbolicObject
.private Map<SymbolicLayoutReader.KeYlessAssociation,String> associationTargetMapping
SymbolicLayoutReader.KeYlessAssociation
to its target object ID.public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void endDocument() throws SAXException
endDocument
in interface ContentHandler
endDocument
in class DefaultHandler
SAXException
public ISymbolicLayout getRoot()