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:
- Serializable, Comparable, SequenceIterable, 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
Methods inherited from class net.sf.saxon.value.ObjectValue |
convertPrimitive, convertToJava, copy, displayTypeName, effectiveBooleanValue, equals, getItemType, getObject, getPrimitiveType, getStringValue, hashCode, setValue |
Methods inherited from class net.sf.saxon.value.AtomicValue |
checkPermittedContents, convert, convert, getCardinality, getComponent, getLength, getStringValueCS, getTypedValue, getTypeLabel, getXPathComparable, hasBuiltInType, isMultiValued, itemAt, iterate, process, setTypeLabel, toString |
Methods inherited from class net.sf.saxon.value.Value |
asItem, asItem, asIterator, asValue, compareTo, convert, convertJavaObjectToXPath, fromItem, getCanonicalLexicalRepresentation, getIterator, getSchemaComparable, iterate, makeQNameValue, reduce, stringToNumber |
ValidationErrorValue
public ValidationErrorValue(ValidationException err)
getException
public ValidationException getException()
setLocation
public void setLocation(String systemId,
int lineNumber)
Copyright (C) Michael H. Kay. All rights reserved.