Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.xerces.readers
Class DefaultEntityHandler.EntityPool  view DefaultEntityHandler.EntityPool download DefaultEntityHandler.EntityPool.java

java.lang.Object
  extended byorg.apache.xerces.readers.DefaultEntityHandler.EntityPool
Enclosing class:
DefaultEntityHandler

public final class DefaultEntityHandler.EntityPool
extends java.lang.Object


Nested Class Summary
(package private)  class DefaultEntityHandler.EntityPool.RequiredNotation
           
 
Field Summary
private  int[][] fBaseSystemId
           
private  boolean fCreateStandardEntities
           
private  byte[][] fDeclIsExternal
           
private  int fEntityCount
           
private  org.apache.xerces.framework.XMLErrorReporter fErrorReporter
           
private  int[][] fName
           
private  int fNotationListHead
           
private  int[][] fNotationName
           
private  int[][] fPublicId
           
private  java.util.Vector fRequiredNotations
           
private  org.apache.xerces.utils.StringPool fStringPool
           
private  int[][] fSystemId
           
private  int[][] fValue
           
 
Constructor Summary
DefaultEntityHandler.EntityPool(org.apache.xerces.utils.StringPool stringPool, org.apache.xerces.framework.XMLErrorReporter errorReporter, boolean createStandardEntities)
           
 
Method Summary
 int addEntityDecl(int name, int value, int publicId, int systemId, int baseSystemId, int notationName, boolean isExternal)
           
 int addNotationDecl(int notationName, int publicId, int systemId, int baseSystemId, boolean isExternal)
           
 void addRequiredNotation(int notationName, org.xml.sax.Locator locator, int majorCode, int minorCode, java.lang.Object[] args)
           
 void checkRequiredNotations()
           
private  void createInternalEntity(java.lang.String name, java.lang.String value)
           
private  boolean ensureCapacity(int chunk)
           
 java.lang.String getBaseSystemId(int entityIndex)
           
 boolean getEntityDeclIsExternal(int entityIndex)
           
 int getEntityName(int entityIndex)
           
 int getEntityValue(int entityIndex)
           
 boolean getNotationDeclIsExternal(int entityIndex)
           
 int getNotationName(int entityIndex)
           
 int getPublicId(int entityIndex)
           
 int getSystemId(int entityIndex)
           
 boolean isExternalEntity(int entityIndex)
           
 boolean isNotationDeclared(int nameIndex)
           
 boolean isUnparsedEntity(int entityIndex)
           
 int lookupEntity(int nameIndex)
           
 void reset(org.apache.xerces.utils.StringPool stringPool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fStringPool

private org.apache.xerces.utils.StringPool fStringPool

fErrorReporter

private org.apache.xerces.framework.XMLErrorReporter fErrorReporter

fEntityCount

private int fEntityCount

fName

private int[][] fName

fValue

private int[][] fValue

fPublicId

private int[][] fPublicId

fSystemId

private int[][] fSystemId

fBaseSystemId

private int[][] fBaseSystemId

fNotationName

private int[][] fNotationName

fDeclIsExternal

private byte[][] fDeclIsExternal

fNotationListHead

private int fNotationListHead

fCreateStandardEntities

private boolean fCreateStandardEntities

fRequiredNotations

private java.util.Vector fRequiredNotations
Constructor Detail

DefaultEntityHandler.EntityPool

public DefaultEntityHandler.EntityPool(org.apache.xerces.utils.StringPool stringPool,
                                       org.apache.xerces.framework.XMLErrorReporter errorReporter,
                                       boolean createStandardEntities)
Method Detail

reset

public void reset(org.apache.xerces.utils.StringPool stringPool)

createInternalEntity

private void createInternalEntity(java.lang.String name,
                                  java.lang.String value)

ensureCapacity

private boolean ensureCapacity(int chunk)

addEntityDecl

public int addEntityDecl(int name,
                         int value,
                         int publicId,
                         int systemId,
                         int baseSystemId,
                         int notationName,
                         boolean isExternal)

addNotationDecl

public int addNotationDecl(int notationName,
                           int publicId,
                           int systemId,
                           int baseSystemId,
                           boolean isExternal)

lookupEntity

public int lookupEntity(int nameIndex)

isExternalEntity

public boolean isExternalEntity(int entityIndex)

isUnparsedEntity

public boolean isUnparsedEntity(int entityIndex)

getEntityDeclIsExternal

public boolean getEntityDeclIsExternal(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)

getBaseSystemId

public java.lang.String getBaseSystemId(int entityIndex)

isNotationDeclared

public boolean isNotationDeclared(int nameIndex)

getNotationDeclIsExternal

public boolean getNotationDeclIsExternal(int entityIndex)

getNotationName

public int getNotationName(int entityIndex)

addRequiredNotation

public void addRequiredNotation(int notationName,
                                org.xml.sax.Locator locator,
                                int majorCode,
                                int minorCode,
                                java.lang.Object[] args)

checkRequiredNotations

public void checkRequiredNotations()
                            throws java.lang.Exception