com.atlassian.confluence.content.render.xhtml.validation
Class StorageXhtmlValidator

java.lang.Object
  extended by com.atlassian.confluence.content.render.xhtml.validation.StorageXhtmlValidator
All Implemented Interfaces:
XmlValidator

public class StorageXhtmlValidator
extends Object
implements XmlValidator

Validates storage XHTML.


Constructor Summary
StorageXhtmlValidator()
           
 
Method Summary
 Reader getXhtmlDocument(String xmlFragment)
          Returns a Reader that contains the supplied xmlFragment together with the XML document preamble.
 void validate(String xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StorageXhtmlValidator

public StorageXhtmlValidator()
Method Detail

validate

public void validate(String xml)
              throws ValidationException
Specified by:
validate in interface XmlValidator
Throws:
ValidationException

getXhtmlDocument

public Reader getXhtmlDocument(String xmlFragment)
Returns a Reader that contains the supplied xmlFragment together with the XML document preamble.

Parameters:
xmlFragment - from page storage
Returns:
a Reader that contains an XML document content.


Copyright © 2003-2013 Atlassian. All Rights Reserved.