org.apache.xerces.impl.xs.assertion
Interface XMLAssertHandler

All Known Implementing Classes:
XMLAssertAdapter

public interface XMLAssertHandler

The implementation of this interface will invoke an external XPath engine, that would evaluate the XPath 2.0 expressions, for XML Schema 1.1 assertions. This interface communicates with the XMLSchemaValidator, and accepts information required by the external XPath engine. If assertions evaluation returns 'true', validation would proceed further.

Version:
$Id: XMLAssertHandler.java 948971 2010-05-27 20:10:30Z mrglavas $
Author:
Mukul Gandhi, IBM, Ken Cai, IBM

INTERNAL:

Usage of this class is not supported. It may be altered or removed at any time.

Method Summary
 void characters(org.apache.xerces.xni.XMLString text)
           
 void endElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.Augmentations augs)
           
 java.lang.Object getProperty(java.lang.String name)
          Allows the user to retrieve specific properties on the underlying implementation.
 void setProperty(java.lang.String name, java.lang.Object value)
          Allows the user to set specific properties on the underlying implementation.
 void startElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, org.apache.xerces.xni.Augmentations augs)
           
 

Method Detail

startElement

public void startElement(org.apache.xerces.xni.QName element,
                         org.apache.xerces.xni.XMLAttributes attributes,
                         org.apache.xerces.xni.Augmentations augs)

endElement

public void endElement(org.apache.xerces.xni.QName element,
                       org.apache.xerces.xni.Augmentations augs)
                throws java.lang.Exception
Throws:
java.lang.Exception

characters

public void characters(org.apache.xerces.xni.XMLString text)

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
                 throws java.lang.IllegalArgumentException
Allows the user to set specific properties on the underlying implementation.

Parameters:
name - The name of the property.
value - The value of the property.
Throws:
java.lang.IllegalArgumentException - thrown if the underlying implementation doesn't recognize the property.

getProperty

public java.lang.Object getProperty(java.lang.String name)
                             throws java.lang.IllegalArgumentException
Allows the user to retrieve specific properties on the underlying implementation.

Parameters:
name - The name of the property.
Returns:
value The value of the property.
Throws:
java.lang.IllegalArgumentException - thrown if the underlying implementation doesn't recognize the property.


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.