public class GraphBuildingHandler
extends org.xml.sax.helpers.DefaultHandler
Constructor and Description |
---|
GraphBuildingHandler(GraphDB g) |
Modifier and Type | Method and Description |
---|---|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Receive notification of the end of an element.
|
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
Called at the beginning of an element.
|
public GraphBuildingHandler(GraphDB g)
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
uri
- The Namespace URI, or the empty string if the element has no Namespace URI or
if Namespace processing is not being performed.localName
- The local name (without prefix), or the empty string if Namespace
processing is not being performed.qName
- The qualified name (with prefix), or the empty string if qualified names are
not available. This tells us which element we're looking at.attributes
- The attributes attached to the element. If there are no attributes, it
shall be an empty Attributes object.org.xml.sax.SAXException
- Any SAX exception, possibly wrapping another exception.Attributes
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
uri
- The Namespace URI, or the empty string if the element has no Namespace URI or
if Namespace processing is not being performed.localName
- The local name (without prefix), or the empty string if Namespace
processing is not being performed.qName
- The qualified name (with prefix), or the empty string if qualified names are
not available.org.xml.sax.SAXException
- Any SAX exception, possibly wrapping another exception.