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 Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate intprivate intprivate intprivate intprivate intprivate intprivate intprivate static final Stringprivate static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(String uri, String localName, String qName) voidvoidfindAttribute(String localName, Attributes attributes) voidvoidstartElement(String uri, String localName, String qName, Attributes attributes) voidMethods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDeclMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
startDocumentin interfaceContentHandler- Overrides:
startDocumentin classDefaultHandler- Throws:
SAXException
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler- Throws:
SAXException
-
warning
- Specified by:
warningin interfaceErrorHandler- Overrides:
warningin classDefaultHandler- Throws:
SAXException
-
error
- Specified by:
errorin interfaceErrorHandler- Overrides:
errorin classDefaultHandler- Throws:
SAXException
-
fatalError
- Specified by:
fatalErrorin interfaceErrorHandler- Overrides:
fatalErrorin classDefaultHandler- Throws:
SAXException
-
findAttribute
-