Package net.sf.saxon.value
Class ValidationErrorValue
- java.lang.Object
-
- net.sf.saxon.value.Value
-
- net.sf.saxon.value.AtomicValue
-
- net.sf.saxon.value.ObjectValue
-
- net.sf.saxon.value.ValidationErrorValue
-
- All Implemented Interfaces:
java.io.Serializable
,Expression
,Item
,ValueRepresentation
public class ValidationErrorValue extends ObjectValue
A ValidationErrorValue is a pseudo-value representing the result of a validation failure. It is used by methods that can either return a value or an error. The class is also used delay reporting of errors in expressions that have been evaluated early.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.value.Value
EMPTY_CLASS_ARRAY
-
Fields inherited from interface net.sf.saxon.expr.Expression
EVALUATE_METHOD, ITERATE_METHOD, PROCESS_METHOD
-
Fields inherited from interface net.sf.saxon.om.ValueRepresentation
EMPTY_VALUE_ARRAY
-
-
Constructor Summary
Constructors Constructor Description ValidationErrorValue(ValidationException err)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValidationException
getException()
-
Methods inherited from class net.sf.saxon.value.ObjectValue
convertPrimitive, convertToJava, effectiveBooleanValue, equals, getItemType, getObject, getStringValue, hashCode, setValue
-
Methods inherited from class net.sf.saxon.value.AtomicValue
checkPermittedContents, convert, convert, display, evaluateAsString, evaluateItem, getCardinality, getComponent, getImplementationMethod, getLength, getPrimitiveValue, getStringValueCS, getTypedValue, hasBuiltInType, iterate, process, toString
-
Methods inherited from class net.sf.saxon.value.Value
asItem, asIterator, asValue, convert, convertJavaObjectToXPath, getDependencies, getIterator, getParentExpression, getSpecialProperties, itemAt, iterateSubExpressions, makeQNameValue, optimize, promote, reduce, simplify, stringToNumber, typeCheck
-
-
-
-
Constructor Detail
-
ValidationErrorValue
public ValidationErrorValue(ValidationException err)
-
-
Method Detail
-
getException
public ValidationException getException()
-
-