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 |
---|---|
private static Pattern |
IS_DOUBLE |
protected FileSourceGEXF.GEXFParser |
parser
The GEXF parser.
|
reader
attrSinks, eltsSinks, eventProcessing, eventQueue, sourceId, sourceTime
ATTRIBUTE, CDATA, CHARACTERS, COMMENT, DTD, END_DOCUMENT, END_ELEMENT, ENTITY_DECLARATION, ENTITY_REFERENCE, NAMESPACE, NOTATION_DECLARATION, PROCESSING_INSTRUCTION, SPACE, START_DOCUMENT, START_ELEMENT
Constructor and Description |
---|
FileSourceGEXF() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterStartDocument()
Called after the event
XMLEvent.START_DOCUMENT has been
received. |
protected void |
beforeEndDocument()
Called before trying to receive the events
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
public FileSourceGEXF()
protected void afterStartDocument() throws IOException, XMLStreamException
FileSourceXML
XMLEvent.START_DOCUMENT
has been
received.afterStartDocument
in class FileSourceXML
IOException
XMLStreamException
public boolean nextEvents() throws 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
IOException
- If an I/O error occurs while reading.protected void beforeEndDocument()
FileSourceXML
event.END_DOCUMENT
.beforeEndDocument
in class FileSourceXML
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses