|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.saxon.value.Value
net.sf.saxon.value.AtomicValue
net.sf.saxon.value.AnyURIValue
public final class AnyURIValue
A string value
| Constructor Summary | |
|---|---|
AnyURIValue(CharSequence value)
Constructor |
|
| Method Summary | |
|---|---|
int |
conversionPreference(Class required)
Get conversion preference for this value to a Java class. |
AtomicValue |
convert(int requiredType)
Convert to target data type |
Object |
convertToJava(Class target)
Convert to Java object (for passing to external functions) |
void |
display(int level,
NamePool pool)
Diagnostic print of expression structure |
boolean |
equals(Object other)
Determine if two anyURI values are equal |
ItemType |
getItemType()
Return the type of the expression |
String |
getStringValue()
Get the string value as a String |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class net.sf.saxon.value.AtomicValue |
|---|
convert, convert, effectiveBooleanValue, evaluateAsString, evaluateItem, getCardinality, getComponent, getPrimitiveValue, getTypedValue, iterate |
| Methods inherited from class net.sf.saxon.value.Value |
|---|
analyze, asItem, asValue, collapseWhitespace, getDependencies, getSpecialProperties, getSubExpressions, inverse, normalizeWhitespace, promote, simplify, stringToInteger, stringToNumber, trimWhitespace |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnyURIValue(CharSequence value)
value - the String value. Null is taken as equivalent to "".| Method Detail |
|---|
public String getStringValue()
public AtomicValue convert(int requiredType)
throws XPathException
convert in class AtomicValuerequiredType - integer code representing the item type required
XPathException - if the conversion is not allowedpublic ItemType getItemType()
public boolean equals(Object other)
equals in class ObjectClassCastException - if the other value is not an AnyURIValuepublic int hashCode()
hashCode in class Objectpublic int conversionPreference(Class required)
conversionPreference in class AtomicValuerequired - the Java class to which conversion is required
public Object convertToJava(Class target)
throws XPathException
convertToJava in class AtomicValuetarget - the Java class to which conversion is required
XPathException - if conversion to this target type is not possible
public void display(int level,
NamePool pool)
level - the indentation level of the outputpublic String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||