|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mkdoc.sax.AbstractContentHandler | +--com.mkdoc.sax.AbstractRdfContentHandler | +--com.mkdoc.sax.AbstractTripleWriter
Base class for content handlers that write N-Triples.
Field Summary | |
protected FileStoreManager |
manager
A manager reference. |
protected java.io.PrintWriter |
out
The output stream for the metadata. |
Fields inherited from class com.mkdoc.sax.AbstractRdfContentHandler |
DC_PREFIX, DCTERMS_URI, NODE_PREFIX, NODE_SUFFIX, NS_XHTML1, profile, RDF_TYPE, RDF_VALUE, subject, URI_SCHEMES |
Fields inherited from class com.mkdoc.sax.AbstractContentHandler |
locator |
Constructor Summary | |
AbstractTripleWriter()
|
Method Summary | |
void |
endDocument()
Flush the output and close. |
void |
startDocument()
Write an initial status message. |
Methods inherited from class com.mkdoc.sax.AbstractRdfContentHandler |
escape, expandPredicate, expandPredicates, expandScheme, getBNode, getBNodeId, getSubject, isUri, setApplicationProfile, setSubject |
Methods inherited from class com.mkdoc.sax.AbstractContentHandler |
characters, endElement, endPrefixMapping, getAttributeValue, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElement, startPrefixMapping |
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 |
characters, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startElement, startPrefixMapping |
Field Detail |
protected FileStoreManager manager
protected java.io.PrintWriter out
Constructor Detail |
public AbstractTripleWriter()
Method Detail |
public final void startDocument() throws org.xml.sax.SAXException
startDocument
in interface org.xml.sax.ContentHandler
startDocument
in class AbstractContentHandler
org.xml.sax.SAXException
- If there is a problem getting an output
for the parse.public final void endDocument() throws org.xml.sax.SAXException
endDocument
in interface org.xml.sax.ContentHandler
endDocument
in class AbstractContentHandler
org.xml.sax.SAXException
- Never thrown in this
implementation.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |