org.apache.xerces.impl.xs
Class XMLAssertPsychopathImpl

java.lang.Object
  extended byorg.apache.xerces.impl.xs.assertion.XMLAssertAdapter
      extended byorg.apache.xerces.impl.xs.XMLAssertPsychopathImpl
All Implemented Interfaces:
XMLAssertHandler

public class XMLAssertPsychopathImpl
extends XMLAssertAdapter

Class implementing an XPath interface for XML Schema 1.1 "assertions" evaluation. This class interfaces with the "Eclipse/PsychoPath XPath 2.0" engine for XPath expression evaluations for XML Schema assertions. The class here constructs Xerces PSVI enabled DOM trees -- "on which PsychoPath XPath engine operates" (for typed XDM instance support) from XNI event calls. XML Schema assertions are evaluated on these XPath tree instances in a bottom up fashion.

Version:
$Id: XMLAssertPsychopathImpl.java 1035484 2010-11-15 22:54:30Z mukulg $
Author:
Mukul Gandhi, IBM, Ken Cai, IBM

INTERNAL:

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

Constructor Summary
XMLAssertPsychopathImpl(java.util.Map assertParams)
           
 
Method Summary
 void characters(org.apache.xerces.xni.XMLString text)
           
 void endElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.Augmentations augs)
           
 void startElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes attributes, org.apache.xerces.xni.Augmentations augs)
           
 
Methods inherited from class org.apache.xerces.impl.xs.assertion.XMLAssertAdapter
getProperty, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLAssertPsychopathImpl

public XMLAssertPsychopathImpl(java.util.Map assertParams)
Method Detail

startElement

public void startElement(org.apache.xerces.xni.QName element,
                         org.apache.xerces.xni.XMLAttributes attributes,
                         org.apache.xerces.xni.Augmentations augs)
Specified by:
startElement in interface XMLAssertHandler
Overrides:
startElement in class XMLAssertAdapter

endElement

public void endElement(org.apache.xerces.xni.QName element,
                       org.apache.xerces.xni.Augmentations augs)
                throws java.lang.Exception
Specified by:
endElement in interface XMLAssertHandler
Overrides:
endElement in class XMLAssertAdapter
Throws:
java.lang.Exception

characters

public void characters(org.apache.xerces.xni.XMLString text)
Specified by:
characters in interface XMLAssertHandler
Overrides:
characters in class XMLAssertAdapter


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