org.inria.ns.reflex.processor.xcl.xml
Class XMLContext.Guard

java.lang.Object
  extended by org.inria.ns.reflex.processor.xcl.xml.XMLContext.Guard
Enclosing class:
XMLContext

public static class XMLContext.Guard
extends Object

A guard that protect the creation of a SAX or DOM context.

See Also:
XMLContext.newXMLContext(DataSet)

Method Summary
 void protect()
          Do nothing : ensure that a non-null guard was passed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

protect

public void protect()
Do nothing : ensure that a non-null guard was passed. If the caller attempt to use null, a NullPointerException will be thrown.