net.sf.saxon.xqj
Class StandardDOMHandler

java.lang.Object
  extended by net.sf.saxon.xqj.StandardDOMHandler

public class StandardDOMHandler
extends Object

Implementation of XQCommonHandler that performs the mappings between Java and XPath as defined in the XQJ specification. This is the handler that is used by default.

This handler implements the mappings defined in the XQJ specification. In addition, it defines the following mappings, which are applied after those defined in XQJ:

For fromObject:


Constructor Summary
StandardDOMHandler(SaxonXQDataFactory factory)
           
 
Method Summary
 Item convertToItem(Object value)
           
 XQItem fromObject(Object obj)
           
 Object toObject(XQItemAccessor item)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardDOMHandler

public StandardDOMHandler(SaxonXQDataFactory factory)
Method Detail

fromObject

public XQItem fromObject(Object obj)
                  throws XQException
Throws:
XQException

toObject

public Object toObject(XQItemAccessor item)
                throws XQException
Throws:
XQException

convertToItem

public Item convertToItem(Object value)
                   throws XQException
Throws:
XQException


Copyright (C) Michael H. Kay. All rights reserved.