Class XMLStringParsingContext
- java.lang.Object
-
- org.apache.manifoldcf.connectorcommon.fuzzyml.XMLParsingContext
-
- org.apache.manifoldcf.connectorcommon.fuzzyml.XMLStringParsingContext
-
public class XMLStringParsingContext extends XMLParsingContext
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 StringBuilder object, which will be accessible to any class that extends this one.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringBuilder
value
The string buffer-
Fields inherited from class org.apache.manifoldcf.connectorcommon.fuzzyml.XMLParsingContext
localname, namespace, previousContext, qname, theseAttributes, theStream
-
-
Constructor Summary
Constructors Constructor Description XMLStringParsingContext(XMLFuzzyHierarchicalParseState theStream, java.lang.String namespace, java.lang.String localname, java.lang.String qname, java.util.Map<java.lang.String,java.lang.String> theseAttributes)
Full constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getValue()
Get the string valueprotected void
tagContents(java.lang.String value)
This method is meant to be extended by classes that extend this class-
Methods inherited from class org.apache.manifoldcf.connectorcommon.fuzzyml.XMLParsingContext
beginTag, characters, cleanup, endElement, endTag, getAttribute, getLocalname, getNamespace, getQname, startElement, tagCleanup
-
-
-
-
Constructor Detail
-
XMLStringParsingContext
public XMLStringParsingContext(XMLFuzzyHierarchicalParseState theStream, java.lang.String namespace, java.lang.String localname, java.lang.String qname, java.util.Map<java.lang.String,java.lang.String> theseAttributes)
Full constructor. Used for individual tags.
-
-
Method Detail
-
getValue
public java.lang.String getValue()
Get the string value
-
tagContents
protected void tagContents(java.lang.String value) throws ManifoldCFException
This method is meant to be extended by classes that extend this class- Overrides:
tagContents
in classXMLParsingContext
- Throws:
ManifoldCFException
-
-