public class XMLFileContext extends XMLOutputStreamContext
| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
outputFile
The output file
|
outputStreamtheWriterlocalname, 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, flushbeginTag, endTag, escapeAttribute, escapeCharData, tagContentscharacters, cleanup, endDocument, endElement, getAttribute, getLocalname, getNamespaceURI, getQname, startDocument, startElementpublic 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.FileNotFoundExceptionpublic java.io.File getCompletedFile()
throws ManifoldCFException
ManifoldCFExceptionpublic void tagCleanup()
throws ManifoldCFException
tagCleanup in class XMLContextManifoldCFException