de.fraunhofer.ipsi.xpathDatatypes
Class XS_Boolean

java.lang.Object
  extended by de.fraunhofer.ipsi.xpathDatatypes.XS_AnySimpleType
      extended by de.fraunhofer.ipsi.xpathDatatypes.XDT_AnyAtomicType
          extended by de.fraunhofer.ipsi.xpathDatatypes.XS_Boolean

public class XS_Boolean
extends XDT_AnyAtomicType


Method Summary
 XS_Boolean and(XS_Boolean b)
          Method and
 boolean booleanValue()
          Method booleanValue
<T extends XDT_AnyAtomicType>
T
castas(java.lang.Class<T> type)
          Method castas
 boolean equals(java.lang.Object o)
          Method equals
static XS_Boolean get(boolean value)
          Method get
static XS_Boolean get(java.lang.String str)
          Method get
 XS_Boolean or(XS_Boolean b)
          Method or
 java.lang.String toString()
          Method toString
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

get

public static XS_Boolean get(boolean value)
Method get

Parameters:
value - a boolean
Returns:
a XS_Boolean

get

public static XS_Boolean get(java.lang.String str)
Method get

Parameters:
s - a XS_String
Returns:
a XS_Boolean

booleanValue

public boolean booleanValue()
Method booleanValue

Returns:
a boolean

and

public XS_Boolean and(XS_Boolean b)
Method and

Parameters:
b - a XS_Boolean
Returns:
a XS_Boolean

or

public XS_Boolean or(XS_Boolean b)
Method or

Parameters:
b - a XS_Boolean
Returns:
a XS_Boolean

castas

public <T extends XDT_AnyAtomicType> T castas(java.lang.Class<T> type)
                                   throws java.lang.ClassCastException,
                                          XPathDTException
Method castas

Overrides:
castas in class XDT_AnyAtomicType
Parameters:
type - a BuiltinSimpleType
Returns:
a XS_AnySimpleType
Throws:
CastError
java.lang.ClassCastException
XPathDTException

equals

public boolean equals(java.lang.Object o)
Method equals

Overrides:
equals in class java.lang.Object
Parameters:
o - an Object
Returns:
a boolean

toString

public java.lang.String toString()
Method toString

Overrides:
toString in class java.lang.Object
Returns:
a String