Search in sources :

Example 1 with DTDInternalEntity

use of org.eclipse.wst.dtd.core.internal.emf.DTDInternalEntity in project webtools.sourceediting by eclipse.

the class DTDModelBuilder method visitInternalEntityDecl.

public void visitInternalEntityDecl(EntityDecl entity) {
    DTDEntity dtdEntity = createDTDEntity(entity);
    DTDInternalEntity intEntity = getFactory().createDTDInternalEntity();
    dtdEntity.setContent(intEntity);
    intEntity.setValue(entity.getValue());
    // System.out.println(" int entity toMof: " );
    if (dtdEntity.isParameterEntity()) {
        // $NON-NLS-1$ //$NON-NLS-2$
        dtdUtil.getPEPool().put("%" + entity.getNodeName() + ";", dtdEntity);
    }
    super.visitInternalEntityDecl(entity);
}
Also used : DTDEntity(org.eclipse.wst.dtd.core.internal.emf.DTDEntity) DTDInternalEntity(org.eclipse.wst.dtd.core.internal.emf.DTDInternalEntity)

Aggregations

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