org.apache.manifoldcf.agents.common
Class XMLStringContext
java.lang.Object
org.apache.manifoldcf.agents.common.XMLContext
org.apache.manifoldcf.agents.common.XMLStringContext
public class XMLStringContext
- extends XMLContext
An instance of this class represents a parsing context within a node, where the data value is to be recorded as an in-memory string. The data string is
available as a local stringbuffer object, which will be accessible to any class that extends this one.
|
Field Summary |
protected java.lang.StringBuffer |
value
The string buffer |
|
Constructor Summary |
XMLStringContext(XMLStream theStream,
java.lang.String namespaceURI,
java.lang.String localname,
java.lang.String qname,
org.xml.sax.Attributes theseAttributes)
Full constructor. |
|
Method Summary |
java.lang.String |
getValue()
Get the string value |
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 |
beginTag, characters, cleanup, endDocument, endElement, endTag, 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 |
value
protected java.lang.StringBuffer value
- The string buffer
XMLStringContext
public XMLStringContext(XMLStream theStream,
java.lang.String namespaceURI,
java.lang.String localname,
java.lang.String qname,
org.xml.sax.Attributes theseAttributes)
- Full constructor. Used for individual tags.
getValue
public java.lang.String getValue()
- Get the string value
tagContents
protected void tagContents(char[] ch,
int start,
int length)
throws ManifoldCFException
- This method is meant to be extended by classes that extend this class
- Overrides:
tagContents in class XMLContext
- Throws:
ManifoldCFException