net.sf.saxon.type
Class GlobalValidationContext

java.lang.Object
  |
  +--net.sf.saxon.type.GlobalValidationContext
All Implemented Interfaces:
java.io.Serializable, ValidationContext

public class GlobalValidationContext
extends java.lang.Object
implements ValidationContext, java.io.Serializable

This object represents a global validation context. In XQuery, this is used whenever the validation context is global. In XSLT, it is used for all validation, except where a named type is specified.

See Also:
Serialized Form

Method Summary
static GlobalValidationContext getInstance()
          Get the singleton instance of this class
 boolean isVoidValidationContext()
          Determine whether this is a void validation context (a context in which nothing will validate)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static GlobalValidationContext getInstance()
Get the singleton instance of this class

Returns:
the singleton instance

isVoidValidationContext

public boolean isVoidValidationContext()
Determine whether this is a void validation context (a context in which nothing will validate)

Specified by:
isVoidValidationContext in interface ValidationContext
Returns:
false: this validation context is not void