|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectnet.sf.saxon.expr.PJConverter
net.sf.saxon.expr.PJConverter.General
public static class PJConverter.General
General-purpose converter when nothing more specific is available. (Provided largely as a transition aid)
| Nested Class Summary |
|---|
| Field Summary | |
|---|---|
static PJConverter.General |
INSTANCE
|
| Constructor Summary | |
|---|---|
PJConverter.General()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
convert(ValueRepresentation value,
java.lang.Class targetClass,
XPathContext context)
Convert an XPath value to a Java value of a specified class |
| Methods inherited from class net.sf.saxon.expr.PJConverter |
|---|
allocate, allocateNodeListCreator, compile, getEquivalentItemType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static PJConverter.General INSTANCE
| Constructor Detail |
|---|
public PJConverter.General()
| Method Detail |
|---|
public java.lang.Object convert(ValueRepresentation value,
java.lang.Class targetClass,
XPathContext context)
throws XPathException
PJConverter
convert in class PJConvertervalue - the supplied XPath valuetargetClass - the class of the required Java valuecontext - the XPath dynamic context
XPathException - if the conversion is not possible or fails
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||