fi.hut.tml.xsmiles.mlfc.xforms.xpath.xalan
Class XFormsXPathExtensionHandler

java.lang.Object
  extended byfi.hut.tml.xsmiles.mlfc.xforms.xpath.xalan.XFormsXPathExtensionHandler

public class XFormsXPathExtensionHandler
extends java.lang.Object


Constructor Summary
XFormsXPathExtensionHandler()
           
 
Method Summary
static org.apache.xpath.objects.XObject avg(org.apache.xpath.XPathContext xctxt, org.apache.xpath.Expression m_arg0)
          xforms:avg function
static org.apache.xpath.objects.XBoolean boolean_from_string(java.lang.String param)
          xforms:boolean-from-string
static org.apache.xpath.objects.XObject count_non_empty(org.apache.xpath.XPathContext xctxt, org.apache.xpath.Expression m_arg0)
          xforms:count-non-empty
static org.apache.xpath.objects.XObject cursor(java.lang.String param, XFormsContext handler)
          xforms:cursor()
static org.apache.xpath.objects.XNumber daysFromDate(org.apache.xpath.XPathContext xctxt, org.apache.xpath.Expression exp)
          xforms:days-from-date()
static org.apache.xpath.objects.XNodeSet instance(org.apache.xpath.XPathContext xpathContext, java.lang.String param, ModelContext modelContext)
          xforms:instance()
static org.apache.xpath.objects.XObject max(org.apache.xpath.XPathContext xctxt, org.apache.xpath.Expression m_arg0)
          xforms:max
static org.apache.xpath.objects.XObject min(org.apache.xpath.XPathContext xctxt, org.apache.xpath.Expression m_arg0)
          xforms:min
static org.apache.xpath.objects.XNumber months(org.apache.xpath.XPathContext xctxt, org.apache.xpath.Expression exp)
          xforms:seconds
static org.apache.xpath.objects.XObject nodeindex(org.apache.xpath.XPathContext xpathContext, java.lang.String param, XFormsContext handler, ModelContext modelContext)
          xforms:nodeindex()
static org.apache.xpath.objects.XString now()
          xforms:now
static org.apache.xpath.objects.XString property(java.lang.String param)
          xforms:property
static org.apache.xpath.objects.XNumber seconds(org.apache.xpath.XPathContext xctxt, org.apache.xpath.Expression exp)
          xforms:seconds
static org.apache.xpath.objects.XNumber secondsFromDateTime(org.apache.xpath.XPathContext xctxt, org.apache.xpath.Expression exp)
          xforms:days-from-date()
static java.lang.Object test(org.apache.xalan.extensions.ExpressionContext exprContext, org.w3c.dom.NodeList nodeset, org.w3c.dom.Node callerNode)
           
static org.apache.xpath.objects.XObject xif(org.apache.xpath.XPathContext xctxt, org.apache.xpath.Expression test, org.apache.xpath.Expression exp_true, org.apache.xpath.Expression exp_false)
          xforms:if
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XFormsXPathExtensionHandler

public XFormsXPathExtensionHandler()
Method Detail

test

public static java.lang.Object test(org.apache.xalan.extensions.ExpressionContext exprContext,
                                    org.w3c.dom.NodeList nodeset,
                                    org.w3c.dom.Node callerNode)
                             throws javax.xml.transform.TransformerException
Throws:
javax.xml.transform.TransformerException

cursor

public static org.apache.xpath.objects.XObject cursor(java.lang.String param,
                                                      XFormsContext handler)
                                               throws javax.xml.transform.TransformerException
xforms:cursor()

Throws:
javax.xml.transform.TransformerException

nodeindex

public static org.apache.xpath.objects.XObject nodeindex(org.apache.xpath.XPathContext xpathContext,
                                                         java.lang.String param,
                                                         XFormsContext handler,
                                                         ModelContext modelContext)
                                                  throws javax.xml.transform.TransformerException
xforms:nodeindex()

Throws:
javax.xml.transform.TransformerException

instance

public static org.apache.xpath.objects.XNodeSet instance(org.apache.xpath.XPathContext xpathContext,
                                                         java.lang.String param,
                                                         ModelContext modelContext)
xforms:instance()


boolean_from_string

public static org.apache.xpath.objects.XBoolean boolean_from_string(java.lang.String param)
                                                             throws javax.xml.transform.TransformerException
xforms:boolean-from-string

Throws:
javax.xml.transform.TransformerException

property

public static org.apache.xpath.objects.XString property(java.lang.String param)
                                                 throws javax.xml.transform.TransformerException
xforms:property

Throws:
javax.xml.transform.TransformerException

now

public static org.apache.xpath.objects.XString now()
                                            throws javax.xml.transform.TransformerException
xforms:now

Throws:
javax.xml.transform.TransformerException

daysFromDate

public static org.apache.xpath.objects.XNumber daysFromDate(org.apache.xpath.XPathContext xctxt,
                                                            org.apache.xpath.Expression exp)
                                                     throws javax.xml.transform.TransformerException
xforms:days-from-date()

Throws:
javax.xml.transform.TransformerException

secondsFromDateTime

public static org.apache.xpath.objects.XNumber secondsFromDateTime(org.apache.xpath.XPathContext xctxt,
                                                                   org.apache.xpath.Expression exp)
                                                            throws javax.xml.transform.TransformerException
xforms:days-from-date()

Throws:
javax.xml.transform.TransformerException

seconds

public static org.apache.xpath.objects.XNumber seconds(org.apache.xpath.XPathContext xctxt,
                                                       org.apache.xpath.Expression exp)
                                                throws javax.xml.transform.TransformerException
xforms:seconds

Throws:
javax.xml.transform.TransformerException

months

public static org.apache.xpath.objects.XNumber months(org.apache.xpath.XPathContext xctxt,
                                                      org.apache.xpath.Expression exp)
                                               throws javax.xml.transform.TransformerException
xforms:seconds

Throws:
javax.xml.transform.TransformerException

xif

public static org.apache.xpath.objects.XObject xif(org.apache.xpath.XPathContext xctxt,
                                                   org.apache.xpath.Expression test,
                                                   org.apache.xpath.Expression exp_true,
                                                   org.apache.xpath.Expression exp_false)
                                            throws javax.xml.transform.TransformerException
xforms:if

Throws:
javax.xml.transform.TransformerException

min

public static org.apache.xpath.objects.XObject min(org.apache.xpath.XPathContext xctxt,
                                                   org.apache.xpath.Expression m_arg0)
                                            throws javax.xml.transform.TransformerException
xforms:min

Throws:
javax.xml.transform.TransformerException

max

public static org.apache.xpath.objects.XObject max(org.apache.xpath.XPathContext xctxt,
                                                   org.apache.xpath.Expression m_arg0)
                                            throws javax.xml.transform.TransformerException
xforms:max

Throws:
javax.xml.transform.TransformerException

count_non_empty

public static org.apache.xpath.objects.XObject count_non_empty(org.apache.xpath.XPathContext xctxt,
                                                               org.apache.xpath.Expression m_arg0)
                                                        throws javax.xml.transform.TransformerException
xforms:count-non-empty

Throws:
javax.xml.transform.TransformerException

avg

public static org.apache.xpath.objects.XObject avg(org.apache.xpath.XPathContext xctxt,
                                                   org.apache.xpath.Expression m_arg0)
                                            throws javax.xml.transform.TransformerException
xforms:avg function

Throws:
javax.xml.transform.TransformerException


X-Smiles 1.2