protected void addExternalDTDDeclaration(Decl declaration){
  if (externalDTDDeclarations == null) {
    externalDTDDeclarations=new ArrayList<Decl>();
  }
  externalDTDDeclarations.add(declaration);
}

protected void addExternalDTDDeclaration ( Decl declaration ) { if ( externalDTDDeclarations == null ) { externalDTDDeclarations = new ArrayList < Decl > ( ) ; } externalDTDDeclarations . add ( declaration ) ; }
adds an external dtd declaration to the list of declarations
