net.sf.saxon

Class Err

public class Err extends Object

Class containing utility methods for handling error messages
Field Summary
static intATTRIBUTE
static intELEMENT
static intFUNCTION
static intGENERAL
static intURI
static intVALUE
static intVARIABLE
Method Summary
static Stringwrap(CharSequence cs)
Add delimiters to represent variable information within an error message
static Stringwrap(CharSequence cs, int valueType)
Add delimiters to represent variable information within an error message

Field Detail

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

Method Detail

wrap

public static String wrap(CharSequence cs)
Add delimiters to represent variable information within an error message

Parameters: cs the variable information to be delimited

Returns: the delimited variable information

wrap

public static String wrap(CharSequence cs, int valueType)
Add delimiters to represent variable information within an error message

Parameters: cs the variable information to be delimited valueType the type of value, e.g. element name or attribute name

Returns: the delimited variable information