use of org.eclipse.wst.dtd.core.internal.emf.DTDExternalEntity in project webtools.sourceediting by eclipse.
the class DTDModelBuilder method visitExternalEntityDecl.
public void visitExternalEntityDecl(EntityDecl entity) {
DTDEntity dtdEntity = createDTDEntity(entity);
// System.out.println("adding entity: " + declName);
DTDExternalEntity extEntity = getFactory().createDTDExternalEntity();
dtdEntity.setContent(extEntity);
finishExternalEntity(extEntity, entity);
// System.out.println(" ext entity toMof: " );
if (dtdEntity.isParameterEntity()) {
// $NON-NLS-1$ //$NON-NLS-2$
dtdUtil.getPEPool().put("%" + entity.getNodeName() + ";", dtdEntity);
}
super.visitExternalEntityDecl(entity);
}
Aggregations