XML for Java 2.0.0

com.ibm.xml.framework
Interface EntityPool


public abstract interface EntityPool

Version:
Revision: 46 1.6 src/com/ibm/xml/framework/EntityPool.java, parser, xml4j2, xml4j2_0_0

Method Summary
 int addEntityDecl(EntityDecl decl)
           
 int addNotationDecl(NotationDecl decl)
           
 void checkUnparsedEntities()
          Checks that all of the declared unparsed entites refer to declared notations.
 int getEntityName(int entityIndex)
           
 int getEntityValue(int entityIndex)
           
 int getNotationName(int index)
           
 int getPublicId(int entityIndex)
           
 int getSystemId(int entityIndex)
           
 boolean isExternal(int entityIndex)
           
 boolean isUnparsed(int entityIndex)
           
 int lookupEntity(int entityNameIndex)
           
 int lookupNotation(int notationNameIndex)
           
 void reset(ParserState parserState)
           
 EntityPool resetOrCopy(ParserState parserState)
           
 

Method Detail

reset

public void reset(ParserState parserState)

resetOrCopy

public EntityPool resetOrCopy(ParserState parserState)

addEntityDecl

public int addEntityDecl(EntityDecl decl)

addNotationDecl

public int addNotationDecl(NotationDecl decl)

lookupEntity

public int lookupEntity(int entityNameIndex)

isExternal

public boolean isExternal(int entityIndex)

isUnparsed

public boolean isUnparsed(int entityIndex)

getEntityName

public int getEntityName(int entityIndex)

getEntityValue

public int getEntityValue(int entityIndex)

getPublicId

public int getPublicId(int entityIndex)

getSystemId

public int getSystemId(int entityIndex)

getNotationName

public int getNotationName(int index)

lookupNotation

public int lookupNotation(int notationNameIndex)

checkUnparsedEntities

public void checkUnparsedEntities()
                           throws java.lang.Exception
Checks that all of the declared unparsed entites refer to declared notations. This method emits an error for each unparsed entity that fails the check.
Throws:
java.lang.Exception - Thrown if error handler throws exception to signal a fatal error.

XML for Java 2.0.0