com.saxonica.validate
Class ValidatingFilter
java.lang.Object
net.sf.saxon.event.SequenceReceiver
net.sf.saxon.event.ProxyReceiver
com.saxonica.validate.ValidatingFilter
- All Implemented Interfaces:
- Result, Receiver
- Direct Known Subclasses:
- ContentValidator, ValidationStack, XSIAttributeHandler
public class ValidatingFilter
- extends ProxyReceiver
This class is used for a filter on the validation pipeline. It provides error reporting services to each
of the filters.
Method Summary |
void |
setErrorCode(String errorCode)
Set the error code to be used for error messages |
Methods inherited from class net.sf.saxon.event.ProxyReceiver |
append, attribute, characters, close, comment, endDocument, endElement, getConfiguration, getDocumentLocator, getNamePool, getUnderlyingReceiver, namespace, open, processingInstruction, setPipelineConfiguration, setSystemId, setUnderlyingReceiver, setUnparsedEntity, startContent, startDocument, startElement |
ValidatingFilter
public ValidatingFilter()
setErrorCode
public void setErrorCode(String errorCode)
- Set the error code to be used for error messages
- Parameters:
errorCode
- the error code
Copyright (C) Michael H. Kay. All rights reserved.