net.sf.saxon
Class Err
public class Err
extends java.lang.Object
Class containing utility methods for handling error messages
static CharSequence | depict(Item item) - Create a string representation of an item for use in an error message
|
static String | wrap(CharSequence cs) - Add delimiters to represent variable information within an error message
|
static String | wrap(CharSequence cs, int valueType) - Add delimiters to represent variable information within an error message
|
ATTRIBUTE
public static final int ATTRIBUTE
ELEMENT
public static final int ELEMENT
FUNCTION
public static final int FUNCTION
GENERAL
public static final int GENERAL
URI
public static final int URI
VALUE
public static final int VALUE
VARIABLE
public static final int VARIABLE
depict
public static CharSequence depict(Item item)
Create a string representation of an item for use in an error message
wrap
public static String wrap(CharSequence cs)
Add delimiters to represent variable information within an error message
cs
- the variable information to be delimited
- the delimited variable information
wrap
public static String wrap(CharSequence cs,
int valueType)
Add delimiters to represent variable information within an error message
cs
- the variable information to be delimitedvalueType
- the type of value, e.g. element name or attribute name
- the delimited variable information