org.apache.xerces.impl.validation

Interface EntityState

Known Implementing Classes:
DTDGrammar

public interface EntityState

The entity state interface defines methods that must be implemented by components that store information about entity declarations, as well as by entity validator that will need to validate attributes of type entity.
Version:
$Id: EntityState.java,v 1.6 2004/10/04 22:07:41 mrglavas Exp $
Author:
Elena Litani, IBM

Method Summary

boolean
isEntityDeclared(String name)
Query method to check if entity with this name was declared.
boolean
isEntityUnparsed(String name)
Query method to check if entity is unparsed.

Method Details

isEntityDeclared

public boolean isEntityDeclared(String name)
Query method to check if entity with this name was declared.
Parameters:
name -
Returns:
true if name is a declared entity

isEntityUnparsed

public boolean isEntityUnparsed(String name)
Query method to check if entity is unparsed.
Parameters:
name -
Returns:
true if name is an unparsed entity

Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.