Class StorageXhtmlValidator
java.lang.Object
com.atlassian.confluence.content.render.xhtml.validation.StorageXhtmlValidator
- All Implemented Interfaces:
XmlValidator
Validates storage XHTML.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetXhtmlDocument(String xmlFragment) Returns a Reader that contains the suppliedxmlFragmenttogether with the XML document preamble.void
-
Constructor Details
-
StorageXhtmlValidator
public StorageXhtmlValidator()
-
-
Method Details
-
validate
- Specified by:
validatein interfaceXmlValidator- Throws:
ValidationException
-
getXhtmlDocument
Returns a Reader that contains the suppliedxmlFragmenttogether with the XML document preamble.- Parameters:
xmlFragment- from page storage- Returns:
- a Reader that contains an XML document content.
-