Package org.xwiki.validator
Class RSSValidator
- java.lang.Object
-
- org.xwiki.validator.framework.AbstractXMLValidator
-
- org.xwiki.validator.RSSValidator
-
- All Implemented Interfaces:
Validator
public class RSSValidator extends AbstractXMLValidator
Validate provided input.- Version:
- $Id: fa802512ed0b607752c298d6d0a05f1b8a8c926f $
-
-
Field Summary
-
Fields inherited from class org.xwiki.validator.framework.AbstractXMLValidator
document, documentBuilder, errorHandler
-
-
Constructor Summary
Constructors Constructor Description RSSValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected XMLErrorHandler
createXMLErrorHandler()
String
getName()
protected void
validate(Document document)
-
Methods inherited from class org.xwiki.validator.framework.AbstractXMLValidator
addError, clear, getDocument, getErrorHandler, getErrors, setDocument, setValidateXML, validate
-
-
-
-
Method Detail
-
createXMLErrorHandler
protected XMLErrorHandler createXMLErrorHandler()
- Overrides:
createXMLErrorHandler
in classAbstractXMLValidator
- Returns:
- the error handler to use when parsing the xml content
-
validate
protected void validate(Document document)
- Overrides:
validate
in classAbstractXMLValidator
- Parameters:
document
- the XML document
-
getName
public String getName()
- Returns:
- the name of the validator
-
-