Class PostRichTextHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.ametys.plugins.explorer.threads.jcr.PostRichTextHandler
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class PostRichTextHandler extends DefaultHandler
A rich text handler to convert post into string
-
-
Field Summary
Fields Modifier and Type Field Description private static String
__SEPARATOR
private StringBuilder
_internal
-
Constructor Summary
Constructors Constructor Description PostRichTextHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
String
getValue()
Gets the value of the parsed data-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Field Detail
-
__SEPARATOR
private static final String __SEPARATOR
- See Also:
- Constant Field Values
-
_internal
private StringBuilder _internal
-
-
Constructor Detail
-
PostRichTextHandler
public PostRichTextHandler()
-
-
Method Detail
-
characters
public void characters(char[] ch, int start, int length) throws SAXException
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
- Throws:
SAXException
-
-