org.apache.xerces.impl.dv.dtd
Interface StatefullDatatypeValidator

All Known Implementing Classes:
ListDatatypeValidator, IDREFDatatypeValidator, IDDatatypeValidator, ENTITYDatatypeValidator

public interface StatefullDatatypeValidator

StatefullDatatypeValidator validates that XML content is a W3C string type.

This interface is implemented by classes that need to use statefull datatypes

Most datatype are stateless in the sense that after instantiation all the information required for validation is passed to the datatype in the validate method as content

A statefull datatype needs initialization, and other stages of validation as well as information about the instance document

Version:
$Id: StatefullDatatypeValidator.java,v 1.3 2002/01/29 01:15:11 lehors Exp $
Author:
Jeffrey Rodriguez
See Also:
ListDatatypeValidator, IDDatatypeValidator, IDREFDatatypeValidator, ENTITYDatatypeValidator, DatatypeValidator

Method Summary
 java.lang.Object getInternalStateInformation()
           
 void initialize(java.lang.Object documentInstanceInformation)
           
 void validate()
           
 

Method Detail

validate

public void validate()
              throws InvalidDatatypeValueException

initialize

public void initialize(java.lang.Object documentInstanceInformation)

getInternalStateInformation

public java.lang.Object getInternalStateInformation()


Copyright © 1999-2002 Apache XML Project. All Rights Reserved.