public class ValidatingCompositeInspector extends CompositeInspector
inspection-result-1.0.xsd
schema.
This is useful for debugging when developing your own Inspector
, but it is less
performant and not all environments (eg. Android) support schema validation. Android is
particularly bad because its Dalvik preprocessor balks at unsupported classes even if they're
wrapped in a ClassNotFoundException
.
Constructor and Description |
---|
ValidatingCompositeInspector(ValidatingCompositeInspectorConfig config) |
Modifier and Type | Method and Description |
---|---|
protected Document |
runInspector(Inspector inspector,
Object toInspect,
String type,
String... names) |
combineInspectionResult, inspect, inspect, inspectAsDom, inspectAsDom, runInspectors
public ValidatingCompositeInspector(ValidatingCompositeInspectorConfig config)
protected Document runInspector(Inspector inspector, Object toInspect, String type, String... names) throws Exception
runInspector
in class CompositeInspector
Exception
Copyright © 2015. All Rights Reserved.