public class XMLFileContext extends XMLOutputStreamContext
Modifier and Type | Field and Description |
---|---|
protected java.io.File |
outputFile
The output file
|
outputStream
theWriter
localname, namespaceURI, previousContext, qname, theseAttributes, theStream
Constructor and Description |
---|
XMLFileContext(XMLStream theStream,
java.lang.String namespaceURI,
java.lang.String localname,
java.lang.String qname,
org.xml.sax.Attributes theseAttributes,
java.io.File f)
Full constructor.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getCompletedFile()
Get file object, flushing it, closing it, and clearing it.
|
void |
tagCleanup()
Cleanup whatever is left over
|
close, flush
beginTag, endTag, escapeAttribute, escapeCharData, tagContents
characters, cleanup, endDocument, endElement, getAttribute, getLocalname, getNamespaceURI, getQname, startDocument, startElement
public XMLFileContext(XMLStream theStream, java.lang.String namespaceURI, java.lang.String localname, java.lang.String qname, org.xml.sax.Attributes theseAttributes, java.io.File f) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public java.io.File getCompletedFile() throws ManifoldCFException
ManifoldCFException
public void tagCleanup() throws ManifoldCFException
tagCleanup
in class XMLContext
ManifoldCFException