Object

org.apache.daffodil.dpath

FNToBoolean

Related Doc: package dpath

Permalink

object FNToBoolean extends Converter with Product with Serializable

Summary: Computes the effective boolean value of the sequence $arg.

If $arg is the empty sequence, fn:boolean returns false.

If $arg is a sequence whose first item is a node, fn:boolean returns true.

If $arg is a singleton value of type xs:boolean or a derived from xs:boolean, fn:boolean returns $arg.

If $arg is a singleton value of type xs:string or a type derived from xs:string, xs:anyURI or a type derived from xs:anyURI or xs:untypedAtomic, fn:boolean returns false if the operand value has zero length; otherwise it returns true.

If $arg is a singleton value of any numeric type or a type derived from a numeric type, fn:boolean returns false if the operand value is NaN or is numerically equal to zero; otherwise it returns true.

In all other cases, fn:boolean raises a type error [err:FORG0006].

Linear Supertypes
Product, Equals, Converter, RecipeOp, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FNToBoolean
  2. Product
  3. Equals
  4. Converter
  5. RecipeOp
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def computeValue(a: AnyRef, dstate: DState): AnyRef

    Permalink
    Definition Classes
    FNToBooleanConverter
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. def run(dstate: DState): Unit

    Permalink
    Definition Classes
    ConverterRecipeOp
  16. def subRecipes: Seq[CompiledDPath]

    Permalink
    Attributes
    protected
    Definition Classes
    RecipeOp
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toXML: Node

    Permalink

    default behavior is inherited and it displays a RecipeOp assuming there are no children to display.

    default behavior is inherited and it displays a RecipeOp assuming there are no children to display. Override and make it call one of the above toXML methods if there are children to display.

    Definition Classes
    RecipeOp
  19. def toXML(children: NodeSeq): Node

    Permalink
    Attributes
    protected
    Definition Classes
    RecipeOp
  20. def toXML(children: Node*): Node

    Permalink
    Attributes
    protected
    Definition Classes
    RecipeOp
  21. def toXML(s: String): Node

    Permalink
    Attributes
    protected
    Definition Classes
    RecipeOp
  22. def typeNames: (String, String)

    Permalink
    Definition Classes
    Converter
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from Converter

Inherited from RecipeOp

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped