net.sf.saxon.trans
public class Err extends Object
| Field Summary | |
|---|---|
| static int | ATTRIBUTE |
| static int | ELEMENT |
| static int | FUNCTION |
| static int | GENERAL |
| static int | URI |
| static int | VALUE |
| static int | VARIABLE |
| Method Summary | |
|---|---|
| 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 |
Parameters: cs the variable information to be delimited
Returns: the delimited variable information
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