Search in sources :

Example 1 with DTDExternalEntity

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);
}
Also used : DTDExternalEntity(org.eclipse.wst.dtd.core.internal.emf.DTDExternalEntity) DTDEntity(org.eclipse.wst.dtd.core.internal.emf.DTDEntity)

Aggregations

DTDEntity (org.eclipse.wst.dtd.core.internal.emf.DTDEntity)1 DTDExternalEntity (org.eclipse.wst.dtd.core.internal.emf.DTDExternalEntity)1