java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jgrapht.nio.gexf.SimpleGEXFEventDrivenImporter.GEXFHandler
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Enclosing class:
SimpleGEXFEventDrivenImporter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private String
private static final String
private static final String
private static final String
private static final String
private String
private static final String
private static final String
private static final String
private static final String
private static final String
private static final String
private int
private int
private int
private int
private int
private int
private int
private static final String
private static final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
endElement
(String uri, String localName, String qName) void
void
findAttribute
(String localName, Attributes attributes) void
void
startElement
(String uri, String localName, String qName, Attributes attributes) void
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
GRAPH
- See Also:
-
NODE
- See Also:
-
NODE_ID
- See Also:
-
EDGE
- See Also:
-
EDGE_ID
- See Also:
-
EDGE_SOURCE
- See Also:
-
EDGE_TARGET
- See Also:
-
EDGE_WEIGHT
- See Also:
-
ATTRIBUTES
- See Also:
-
ATTRIBUTES_CLASS
- See Also:
-
ATTRIBUTE
- See Also:
-
ATTRIBUTE_ID
- See Also:
-
ATTRIBUTE_TITLE
- See Also:
-
ATTRIBUTE_TYPE
- See Also:
-
ATTVALUES
- See Also:
-
ATTVALUE
- See Also:
-
ATTVALUE_FOR
- See Also:
-
ATTVALUE_VALUE
- See Also:
-
insideGraph
private int insideGraph -
insideNode
private int insideNode -
currentNode
-
insideEdge
private int insideEdge -
currentEdge
-
insideAttributes
private int insideAttributes -
attributesClass
-
insideAttribute
private int insideAttribute -
insideAttValues
private int insideAttValues -
insideAttValue
private int insideAttValue -
nodeValidAttributes
-
edgeValidAttributes
-
-
Constructor Details
-
GEXFHandler
public GEXFHandler()
-
-
Method Details
-
startDocument
- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classDefaultHandler
- Throws:
SAXException
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
- Throws:
SAXException
-
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
- Throws:
SAXException
-
warning
- Specified by:
warning
in interfaceErrorHandler
- Overrides:
warning
in classDefaultHandler
- Throws:
SAXException
-
error
- Specified by:
error
in interfaceErrorHandler
- Overrides:
error
in classDefaultHandler
- Throws:
SAXException
-
fatalError
- Specified by:
fatalError
in interfaceErrorHandler
- Overrides:
fatalError
in classDefaultHandler
- Throws:
SAXException
-
findAttribute
-