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

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