public class DocumentViewValidationHandler extends BaseDocumentViewHandler implements ModuleDependencyAware
pathes, session| Constructor and Description |
|---|
DocumentViewValidationHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
ValidationResults |
getResults()
Returns the overall validation results.
|
void |
initDependencies(String templateSetName,
List<String> modules)
Provides required dependency information to the validator.
|
void |
setValidators(List<ImportValidator> validators) |
void |
startElement(String namespaceURI,
String localName,
String qName,
Attributes atts) |
getPathes, setSession, startPrefixMappingcharacters, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, unparsedEntityDecl, warningpublic void endDocument()
throws SAXException
endDocument in interface ContentHandlerendDocument in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic ValidationResults getResults()
public void initDependencies(String templateSetName, List<String> modules)
ModuleDependencyAwareinitDependencies in interface ModuleDependencyAwaretemplateSetName - the name of target template setmodules - the list of modules that are used as a dependenciespublic void setValidators(List<ImportValidator> validators)
public void startElement(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.