System.out.println(str) ;
}
protected List getEntityDecls(){
if(fEventType == XMLStreamConstants.DTD){
XMLEntityStorage entityStore = fEntityManager.getEntityStore();
ArrayList list = null;
if(entityStore.hasEntities()){
EntityDeclarationImpl decl = null;
list = new ArrayList(entityStore.getEntitySize());
Enumeration enu = entityStore.getEntityKeys();
while(enu.hasMoreElements()){
String key = (String)enu.nextElement();
Entity en = (Entity)entityStore.getEntity(key);
decl = new EntityDeclarationImpl();
decl.setEntityName(key);
if(en.isExternal()){
decl.setXMLResourceIdentifier(((Entity.ExternalEntity)en).entityLocation);
decl.setNotationName(((Entity.ExternalEntity)en).notation);