|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.confluence.xml.HTMLParagraphStripper
public class HTMLParagraphStripper
Responsible for stripping paragraph tags.
| Constructor Summary | |
|---|---|
HTMLParagraphStripper(javax.xml.stream.XMLOutputFactory xmlOutputFactory,
XmlEventReaderFactory xmlEventReaderFactory)
|
|
| Method Summary | |
|---|---|
java.lang.String |
stripFirstParagraph(java.lang.String xml)
Removes the first encountered paragraph from a fragment of xhtml if it is the first tag. |
java.lang.String |
stripIfSoloParagraph(java.lang.String xml)
Removes the first encountered paragraph from a fragment of xhtml if it is the first tag. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLParagraphStripper(javax.xml.stream.XMLOutputFactory xmlOutputFactory,
XmlEventReaderFactory xmlEventReaderFactory)
| Method Detail |
|---|
public java.lang.String stripFirstParagraph(java.lang.String xml)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
public java.lang.String stripIfSoloParagraph(java.lang.String xml)
throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||