|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.manifoldcf.agents.common.XMLContext
org.apache.manifoldcf.agents.common.XMLWriterContext
public class XMLWriterContext
An instance of this class represents a parsing context within a node. Data is written to the supplied writer.
| Field Summary | |
|---|---|
protected java.io.Writer |
theWriter
The writer |
| Fields inherited from class org.apache.manifoldcf.agents.common.XMLContext |
|---|
localname, namespaceURI, previousContext, qname, theseAttributes, theStream |
| Constructor Summary | |
|---|---|
XMLWriterContext(XMLStream theStream,
java.lang.String namespaceURI,
java.lang.String localname,
java.lang.String qname,
org.xml.sax.Attributes theseAttributes,
java.io.Writer writer)
Full constructor. |
|
| Method Summary | |
|---|---|
protected XMLContext |
beginTag(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
Start a child tag. |
protected void |
endTag()
End a child tag. |
protected static java.lang.String |
escapeAttribute(java.lang.String value)
Convert a string to a value that's safe to include inside an attribute value |
void |
flush()
Flush the data to the underlying output stream |
protected void |
tagContents(char[] ch,
int start,
int length)
This method is meant to be extended by classes that extend this class |
| Methods inherited from class org.apache.manifoldcf.agents.common.XMLContext |
|---|
characters, cleanup, endDocument, endElement, getAttribute, getLocalname, getNamespaceURI, getQname, startDocument, startElement, tagCleanup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.io.Writer theWriter
| Constructor Detail |
|---|
public XMLWriterContext(XMLStream theStream,
java.lang.String namespaceURI,
java.lang.String localname,
java.lang.String qname,
org.xml.sax.Attributes theseAttributes,
java.io.Writer writer)
throws ManifoldCFException
ManifoldCFException| Method Detail |
|---|
public void flush()
throws ManifoldCFException
ManifoldCFException
protected void tagContents(char[] ch,
int start,
int length)
throws ManifoldCFException
tagContents in class XMLContextManifoldCFException
protected XMLContext beginTag(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes atts)
throws ManifoldCFException,
ServiceInterruption
beginTag in class XMLContextManifoldCFException
ServiceInterruption
protected void endTag()
throws ManifoldCFException,
ServiceInterruption
endTag in class XMLContextManifoldCFException
ServiceInterruptionprotected static java.lang.String escapeAttribute(java.lang.String value)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||