This interface is part of the public Saxon API. As such (starting from Saxon 8.4), methods that form part of the stable API are labelled with a JavaDoc "since" tag to identify the Saxon release at which they were introduced.
Note: there is no method getItemType(). This is to avoid having to implement it on every implementation of NodeInfo. Instead, use the static method Type.getItemType(Item).
If the calling code can handle any CharSequence, the method
be used. If the caller requires a string, this method is preferred.
X.getStringValueCS().toString()returns a string that is equal to
Note that two CharSequence values of different types should not be compared using equals(), and for the same reason they should not be used as a key in a hash table.
If the calling code can handle any CharSequence, this method should
be used. If the caller requires a string, the
getStringValue() method is preferred.
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.