java.io.Serializable
public static class PJConverter.QualifiedNameValueToQName extends PJConverter
PJConverter.AnyURIValueToURI, PJConverter.AnyURIValueToURL, PJConverter.Atomic, PJConverter.BooleanValueToBoolean, PJConverter.CalendarValueToCalendar, PJConverter.CalendarValueToDate, PJConverter.General, PJConverter.Identity, PJConverter.IntegerValueToBigInteger, PJConverter.IntegerValueToByte, PJConverter.IntegerValueToChar, PJConverter.IntegerValueToInt, PJConverter.IntegerValueToLong, PJConverter.IntegerValueToShort, PJConverter.NumericValueToBigDecimal, PJConverter.NumericValueToDouble, PJConverter.NumericValueToFloat, PJConverter.QualifiedNameValueToQName, PJConverter.StringValueToChar, PJConverter.StringValueToString, PJConverter.ToArray, PJConverter.ToCollection, PJConverter.ToNull, PJConverter.ToSequenceExtent, PJConverter.ToSequenceIterator, PJConverter.UnwrapExternalObject
Modifier and Type | Field | Description |
---|---|---|
static PJConverter.QualifiedNameValueToQName |
INSTANCE |
Constructor | Description |
---|---|
QualifiedNameValueToQName() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.Object |
convert(ValueRepresentation<? extends Item> value,
java.lang.Class targetClass,
XPathContext context) |
Convert an XPath value to a Java value of a specified class
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allocate, allocateNodeListCreator, getEquivalentItemType
public static final PJConverter.QualifiedNameValueToQName INSTANCE
public java.lang.Object convert(ValueRepresentation<? extends Item> value, java.lang.Class targetClass, XPathContext context) throws XPathException
PJConverter
convert
in class PJConverter
value
- the supplied XPath valuetargetClass
- the class of the required Java valuecontext
- the XPath dynamic contextXPathException
- if the conversion is not possible or fails