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 suppliedxmlFragment
together with the XML document preamble.void
-
Constructor Details
-
StorageXhtmlValidator
public StorageXhtmlValidator()
-
-
Method Details
-
validate
- Specified by:
validate
in interfaceXmlValidator
- Throws:
ValidationException
-
getXhtmlDocument
Returns a Reader that contains the suppliedxmlFragment
together with the XML document preamble.- Parameters:
xmlFragment
- from page storage- Returns:
- a Reader that contains an XML document content.
-