Free Trial - Stylus Studio, The World's Best XML IDE!


com.saxonica.validate
Class VoidValidationContext

java.lang.Object
  |
  +--com.saxonica.validate.VoidValidationContext
All Implemented Interfaces:
ValidationContext

public class VoidValidationContext
extends java.lang.Object
implements ValidationContext

This object represents validation context in which nothing will validate. For example, this validation context is used if the containing element has a simple type.


Method Summary
static VoidValidationContext 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 VoidValidationContext 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:
true: this validation context is void


Stylus Studio features integrated development and debugging support for Saxon in the XQuery editor and XSLT editor.