Class DocumentBuilder
Class DomDestination
Class DynamicContext
Class DynamicError
Class EmptyEnumerator
Class ExtensionFunctionCall
Class InvalidityHandlerWrapper
Class NamespaceConstant
Class NullDestination
Class Processor
Class QName
Class SchemaManager
Class SchemaValidator
Class Serializer
Class StandardLogger
Class StaticContext
Class StaticError
Class TextWriterDestination
Class XPathCompiler
Class XPathExecutable
Class XPathSelector
Class XQueryCompiler
Class XQueryEvaluator
Class XQueryExecutable
Class XdmAnyFunctionType
Class XdmAnyItemType
Class XdmAnyNodeType
Class XdmAtomicType
Class XdmAtomicValue
Class XdmDestination
- Class TreeProtector
Class XdmEmptySequence
Class XdmFunctionItem
Class XdmItem
Class XdmItemType
Class XdmNode
Class XdmNodeKind
Class XdmSequenceType
Class XdmValue
Class XmlDestination
Class Xslt30Transformer
Class XsltCompiler
Class XsltExecutable
- Class ParameterDetails
Class XsltPackage
Class XsltTransformer
Enum RecoveryPolicy
Enum SchemaValidationMode
Enum TreeModel
Enum WhitespacePolicy
Enum XdmAxis
Interface IInvalidityHandler
Interface IMessageListener
Interface IQueryResolver
Interface IResultDocumentHandler
Interface IXdmEnumerator
Interface IXmlLocation
Interface SchemaResolver
public class InvalidityHandlerWrapper
This class InvalidityHandlerWrapper extends the standard error handler for errors found during validation of an instance document against a schema, used if user specifies -report option on validate. Its effect is to output the validation errors found into the filename specified in an XML format. This is a wrapper class to wrap a .NET InvalidatityHandler class for interfacing within Java.
Constructor Summary | |
---|---|
InvalidityHandlerWrapper(IInvalidityHandler inHandler) reate a Standard Invalidity Handler |
Method Summary | |
---|---|
Sequence |
endReporting() Get the value to be associated with a validation exception. May return null. In the case of the InvalidityGenerator, this returns the XML document containing the validation report |
void |
reportInvalidity(net.sf.saxon.lib.Invalidity i) Receive notification of a validity error. |
void |
startReporting(string systemId) At the start of a validation episode, initialize the handler |
Constructor Detail |
---|
public InvalidityHandlerWrapper(IInvalidityHandler inHandler)
reate a Standard Invalidity Handler
Parameters:inHandler
-
Method Detail |
---|
Receive notification of a validity error.
Parameters:i
-
At the start of a validation episode, initialize the handler
Parameters:systemId
-
Get the value to be associated with a validation exception. May return null. In the case of the InvalidityGenerator, this returns the XML document containing the validation report