com.trolltech.qt.xmlpatterns
Class QXmlQuery.QueryLanguage

java.lang.Object
  extended by java.lang.Enum
      extended by com.trolltech.qt.xmlpatterns.QXmlQuery.QueryLanguage
All Implemented Interfaces:
QtEnumerator, java.io.Serializable, java.lang.Comparable
Enclosing class:
QXmlQuery

public static final class QXmlQuery.QueryLanguage
extends java.lang.Enum
implements QtEnumerator

Specifies whether you want QXmlQuery to interpret the input to setQuery() as an XQuery or as an XSLT stylesheet.

See also:
setQuery().

See Also:
Serialized Form

Field Summary
static QXmlQuery.QueryLanguage XQuery10
          XQuery 1.0.
static QXmlQuery.QueryLanguage XSLT20
          XSLT 2.0
 
Method Summary
static QXmlQuery.QueryLanguage resolve(int value)
          Returns the QXmlQuery$QueryLanguage constant with the specified int.
 int value()
          This function should return an integer value for the enum values of the enumeration that implements this interface.
static QXmlQuery.QueryLanguage valueOf(java.lang.String name)
           
static QXmlQuery.QueryLanguage[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

XQuery10

public static final QXmlQuery.QueryLanguage XQuery10
XQuery 1.0.


XSLT20

public static final QXmlQuery.QueryLanguage XSLT20
XSLT 2.0

Method Detail

values

public static QXmlQuery.QueryLanguage[] values()

valueOf

public static QXmlQuery.QueryLanguage valueOf(java.lang.String name)

value

public int value()
This function should return an integer value for the enum values of the enumeration that implements this interface.

Specified by:
value in interface QtEnumerator

resolve

public static QXmlQuery.QueryLanguage resolve(int value)
Returns the QXmlQuery$QueryLanguage constant with the specified int.