public class FileSourceGEXF extends FileSourceXML
Modifier and Type | Class and Description |
---|---|
private class |
FileSourceGEXF.Attribute |
static interface |
FileSourceGEXF.GEXFConstants |
private class |
FileSourceGEXF.GEXFParser |
FileSourceXML.Parser
SourceBase.ElementType
Modifier and Type | Field and Description |
---|---|
protected FileSourceGEXF.GEXFParser |
parser
The GEXF parser.
|
reader
attrSinks, eltsSinks, eventProcessing, eventQueue, sourceId, sourceTime
Constructor and Description |
---|
FileSourceGEXF() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterStartDocument()
Called after the event
javax.xml.stream.events.XMLEvent.START_DOCUMENT has been
received. |
protected void |
beforeEndDocument()
Called before trying to receive the events
javax.xml.stream.event.END_DOCUMENT . |
boolean |
nextEvents()
Try to process one graph event, or as few as possible, if more must be
read at once.
|
begin, begin, begin, begin, checkValid, closeStream, end, getNextEvent, isEvent, newParseError, nextStep, openStream, pushback, readAll, readAll, readAll, readAll, toConstantName, toConstantName
addAttributeSink, addElementSink, addSink, attributeSinks, clearAttributeSinks, clearElementSinks, clearSinks, elementSinks, manageEvents, removeAttributeSink, removeElementSink, removeSink, sendAttributeChangedEvent, sendAttributeChangedEvent, sendEdgeAdded, sendEdgeAdded, sendEdgeAttributeAdded, sendEdgeAttributeAdded, sendEdgeAttributeChanged, sendEdgeAttributeChanged, sendEdgeAttributeRemoved, sendEdgeAttributeRemoved, sendEdgeRemoved, sendEdgeRemoved, sendGraphAttributeAdded, sendGraphAttributeAdded, sendGraphAttributeChanged, sendGraphAttributeChanged, sendGraphAttributeRemoved, sendGraphAttributeRemoved, sendGraphCleared, sendGraphCleared, sendNodeAdded, sendNodeAdded, sendNodeAttributeAdded, sendNodeAttributeAdded, sendNodeAttributeChanged, sendNodeAttributeChanged, sendNodeAttributeRemoved, sendNodeAttributeRemoved, sendNodeRemoved, sendNodeRemoved, sendStepBegins, sendStepBegins
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSink
protected FileSourceGEXF.GEXFParser parser
protected void afterStartDocument() throws java.io.IOException, javax.xml.stream.XMLStreamException
FileSourceXML
javax.xml.stream.events.XMLEvent.START_DOCUMENT
has been
received.afterStartDocument
in class FileSourceXML
java.io.IOException
javax.xml.stream.XMLStreamException
public boolean nextEvents() throws java.io.IOException
FileSource
FileSource.begin(InputStream)
or FileSource.begin(String)
before. This method
return true while there are still events to read.nextEvents
in interface FileSource
nextEvents
in class FileSourceXML
java.io.IOException
- If an I/O error occurs while reading.protected void beforeEndDocument()
FileSourceXML
javax.xml.stream.event.END_DOCUMENT
.beforeEndDocument
in class FileSourceXML