Package com.atlassian.confluence.xml
Class HTMLParagraphStripper
java.lang.Object
com.atlassian.confluence.xml.HTMLParagraphStripper
Responsible for stripping paragraph tags.
- 
Constructor Summary
ConstructorsConstructorDescriptionHTMLParagraphStripper(XMLOutputFactory xmlOutputFactory, XmlEventReaderFactory xmlEventReaderFactory)  - 
Method Summary
Modifier and TypeMethodDescriptionRemoves the first encountered paragraph from a fragment of xhtml if it is the first tag.Removes the first encountered paragraph from a fragment of xhtml if it is the first tag. 
- 
Constructor Details
- 
HTMLParagraphStripper
public HTMLParagraphStripper(XMLOutputFactory xmlOutputFactory, XmlEventReaderFactory xmlEventReaderFactory)  
 - 
 - 
Method Details
- 
stripFirstParagraph
Removes the first encountered paragraph from a fragment of xhtml if it is the first tag.- Throws:
 XMLStreamException
 - 
stripIfSoloParagraph
Removes the first encountered paragraph from a fragment of xhtml if it is the first tag.- Throws:
 XMLStreamException
 
 -