return new EntityDeclarationEvent(dtdEntity.getName(), dtdEntity.getValue());
}
public static NotationDeclaration createNotationDeclaration(DTDNotation dtdNotation)
{
DTDExternalID extId = dtdNotation.getExternalID();
String systemId = extId.getSystem();
String publicId = (extId instanceof DTDPublic) ?
((DTDPublic) extId).getPub() : null;
return new NotationDeclarationEvent(dtdNotation.getName(), publicId, systemId);
}