public class MxGraphParser
extends org.xml.sax.helpers.DefaultHandler
Constructor and Description |
---|
MxGraphParser() |
Modifier and Type | Method and Description |
---|---|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName) |
Activity |
findActivity(java.lang.Long id) |
java.util.List<Activity> |
getActivities() |
java.util.List<TextNote> |
getTextNotes() |
java.util.List<Transition> |
getTransitions() |
MxGraphParser |
read(java.io.InputStream input) |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes) |
public java.util.List<Activity> getActivities()
public Activity findActivity(java.lang.Long id)
public java.util.List<Transition> getTransitions()
public java.util.List<TextNote> getTextNotes()
public MxGraphParser read(java.io.InputStream input) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException
java.io.IOException
org.xml.sax.SAXException
javax.xml.parsers.ParserConfigurationException
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
Copyright © 2019 CenturyLink, Inc.