| Home >> All >> com >> port80 >> eclipse >> xml >> [ editors Javadoc ] |
Source code: com/port80/eclipse/xml/editors/CustomEntityManager.java
1 /* 2 * Created on May 25, 2003 3 */ 4 package com.port80.eclipse.xml.editors; 5 6 import org.apache.xerces.impl.XMLEntityManager; 7 import org.apache.xerces.xni.parser.XMLParserConfiguration; 8 9 /** 10 * @author chrisl 11 */ 12 public class CustomEntityManager extends XMLEntityManager { 13 14 public boolean isDeclaredEntity(String entityName) { 15 if (fValidation) 16 return super.isDeclaredEntity(entityName); 17 return true; 18 } 19 20 public static CustomEntityManager createEntityManager(XMLParserConfiguration cf) { 21 CustomEntityManager ret = new CustomEntityManager(); 22 ret.reset(cf); 23 return ret; 24 } 25 }