javax.xml.xquery
Interface XQCommonHandler


public interface XQCommonHandler

Author:
Michael Stark

Method Summary
 XQItem fromObject(java.lang.Object obj)
          Converts an object from a specific object model to a standard XQItem object containable in a sequence, thus compatible with other operations involving items and sequences.
 java.lang.Object toObject(XQItemAccessor item)
          Converts an item into its corresponding object in the current object model supported.
 

Method Detail

fromObject

XQItem fromObject(java.lang.Object obj)
                  throws XQException
Converts an object from a specific object model to a standard XQItem object containable in a sequence, thus compatible with other operations involving items and sequences.

Throws:
XQException

toObject

java.lang.Object toObject(XQItemAccessor item)
                          throws XQException
Converts an item into its corresponding object in the current object model supported.

Throws:
XQException