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, warningprivate 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 ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class DefaultHandlerSAXExceptionpublic ISymbolicLayout getRoot()