public class XMLFileContext extends XMLOutputStreamContext
| Modifier and Type | Field and Description |
|---|---|
protected File |
outputFile
The output file
|
outputStreamtheWriterlocalname, namespaceURI, previousContext, qname, theseAttributes, theStream| Constructor and Description |
|---|
XMLFileContext(XMLStream theStream,
String namespaceURI,
String localname,
String qname,
Attributes theseAttributes,
File f)
Full constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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, startElementprotected File outputFile
public XMLFileContext(XMLStream theStream, String namespaceURI, String localname, String qname, Attributes theseAttributes, File f) throws FileNotFoundException
FileNotFoundExceptionpublic File getCompletedFile() throws ManifoldCFException
ManifoldCFExceptionpublic void tagCleanup()
throws ManifoldCFException
tagCleanup in class XMLContextManifoldCFException