Class XGMMLHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
de.ipk_gatersleben.ag_nw.graffiti.plugins.ios.importers.xgmml.XGMMLHandler
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Direct Known Subclasses:
XGMMLContentHandler
public abstract class XGMMLHandler extends DefaultHandler
Abstract Handler for parsing an XGMML input source using SAX2.
- Version:
- $Revision$
- Author:
- Burkhard Sell
-
Constructor Summary
Constructors Constructor Description XGMMLHandler()
-
Method Summary
Modifier and Type Method Description void
endElement(String uri, String localName, String qualifiedName)
Pops the last item of the internal stackabstract String
getEdgeElementName()
Graph
getGraph()
abstract String
getNodeElementName()
abstract void
instantiateEdge()
abstract void
instantiateGraph()
abstract void
instantiateNode()
void
startDocument()
void
startElement(String uri, String localName, String qualifiedName, Attributes attribs)
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
XGMMLHandler
public XGMMLHandler()
-
-
Method Details
-
startDocument
public void startDocument()- Specified by:
startDocument
in interfaceContentHandler
- Overrides:
startDocument
in classDefaultHandler
-
startElement
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
-
endElement
Pops the last item of the internal stack- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
-
getGraph
-
instantiateNode
- Throws:
Exception
-
instantiateEdge
- Throws:
Exception
-
instantiateGraph
- Throws:
Exception
-
getNodeElementName
-
getEdgeElementName
-