com.xml_project.morganaxdm
Class XS_Boolean

java.lang.Object
  extended by com.xml_project.morganaxdm.XdmSequence
      extended by com.xml_project.morganaxdm.XdmItem
          extended by com.xml_project.morganaxdm.XdmValue
              extended by com.xml_project.morganaxdm.XS_AnySimpleType
                  extended by com.xml_project.morganaxdm.XS_AnyAtomicType
                      extended by com.xml_project.morganaxdm.XS_Boolean
All Implemented Interfaces:
XS_AnyType, java.lang.Iterable<XdmItem>

public class XS_Boolean
extends XS_AnyAtomicType

Implementation of xs:boolean


Nested Class Summary
 
Nested classes/interfaces inherited from class com.xml_project.morganaxdm.XS_AnyAtomicType
XS_AnyAtomicType.ValueComparers
 
Field Summary
static XS_Boolean FALSE
           
static XS_Boolean TRUE
           
static javax.xml.namespace.QName TypeName
           
 
Method Summary
 int compareValues(XS_AnySimpleType val, com.xml_project.morganaxquery.configuration.Collation collation, XS_dayTimeDuration implicitTimezone)
           
static boolean effectiveBooleanValue(XdmSequence sequence)
           
 java.lang.Boolean getBooleanValue()
           
 java.lang.String getNumericValue()
           
static java.lang.Class<? extends XS_AnyType> getRestrictionBase()
           
 java.lang.String getStringValue()
          Returns the string value.
 javax.xml.namespace.QName getTypeName()
           
 java.lang.Object getValue()
          Returns the value itself.
 boolean isOrdered()
           
static XS_Boolean makeXS_Boolean(boolean b)
           
static XS_Boolean makeXS_Boolean(java.lang.String resp)
           
static XS_Boolean newInstance(XdmValue value)
           
 
Methods inherited from class com.xml_project.morganaxdm.XS_AnyAtomicType
compareValue, makeCompareResult, test
 
Methods inherited from class com.xml_project.morganaxdm.XS_AnySimpleType
compareValues, isValue
 
Methods inherited from class com.xml_project.morganaxdm.XdmValue
atomize
 
Methods inherited from class com.xml_project.morganaxdm.XdmItem
first, get, hasValues, isEmpty, iterator, size, subSequence
 
Methods inherited from class com.xml_project.morganaxdm.XdmSequence
concat, hasCommonType, normalize, serialize, serialize, serialize, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TypeName

public static final javax.xml.namespace.QName TypeName

TRUE

public static XS_Boolean TRUE

FALSE

public static XS_Boolean FALSE
Method Detail

getStringValue

public java.lang.String getStringValue()
Description copied from class: XdmItem
Returns the string value.

Specified by:
getStringValue in class XdmItem
Returns:
the string value.

getTypeName

public javax.xml.namespace.QName getTypeName()

getValue

public java.lang.Object getValue()
Description copied from class: XdmItem
Returns the value itself.

Specified by:
getValue in class XdmItem
Returns:
the value.

isOrdered

public boolean isOrdered()
Specified by:
isOrdered in class XS_AnyAtomicType

getNumericValue

public java.lang.String getNumericValue()

effectiveBooleanValue

public static boolean effectiveBooleanValue(XdmSequence sequence)
                                     throws XPathException
Throws:
XPathException

compareValues

public int compareValues(XS_AnySimpleType val,
                         com.xml_project.morganaxquery.configuration.Collation collation,
                         XS_dayTimeDuration implicitTimezone)
Specified by:
compareValues in class XS_AnySimpleType

getBooleanValue

public java.lang.Boolean getBooleanValue()

getRestrictionBase

public static java.lang.Class<? extends XS_AnyType> getRestrictionBase()

makeXS_Boolean

public static XS_Boolean makeXS_Boolean(java.lang.String resp)

makeXS_Boolean

public static XS_Boolean makeXS_Boolean(boolean b)

newInstance

public static XS_Boolean newInstance(XdmValue value)
                              throws XPathException
Throws:
XPathException