public static class JPConverter.VoidConverter extends JPConverter
JPConverter.FromBigDecimal, JPConverter.FromBigInteger, JPConverter.FromBoolean, JPConverter.FromBooleanArray, JPConverter.FromByte, JPConverter.FromByteArray, JPConverter.FromCharacter, JPConverter.FromCharArray, JPConverter.FromCollection, JPConverter.FromDate, JPConverter.FromDouble, JPConverter.FromDoubleArray, JPConverter.FromFloat, JPConverter.FromFloatArray, JPConverter.FromInt, JPConverter.FromIntArray, JPConverter.FromLong, JPConverter.FromLongArray, JPConverter.FromMap, JPConverter.FromObjectArray, JPConverter.FromQName, JPConverter.FromSequence, JPConverter.FromSequenceIterator, JPConverter.FromShort, JPConverter.FromShortArray, JPConverter.FromSource, JPConverter.FromString, JPConverter.FromURI, JPConverter.VoidConverter, JPConverter.WrapExternalObject
Modifier and Type | Field and Description |
---|---|
static JPConverter.VoidConverter |
INSTANCE |
Constructor and Description |
---|
JPConverter.VoidConverter() |
Modifier and Type | Method and Description |
---|---|
EmptySequence |
convert(Object object,
XPathContext context)
Convert a Java object to an equivalent XPath value
|
ItemType |
getItemType()
Deliberately avoid giving type information
|
allocate, getCardinality
public static final JPConverter.VoidConverter INSTANCE
public EmptySequence convert(Object object, XPathContext context) throws XPathException
JPConverter
convert
in class JPConverter
object
- the java object to be convertedcontext
- the XPath dynamic evaluation contextXPathException
- if the conversion is not possible or if it failspublic ItemType getItemType()
getItemType
in class JPConverter
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.