001 package railo.runtime.dump; 002 003 004 /** 005 * this class is to hold all information to a dumpwriter together in a single class, Dumpwriter, name and if it is a default. 006 */ 007 public class DumpWriterEntry { 008 private String name; 009 private DumpWriter writer; 010 private int defaultType; 011 012 public DumpWriterEntry(int defaultType, String name, DumpWriter writer) { 013 //print.err(name+":"+defaultType); 014 this.defaultType = defaultType; 015 this.name = name; 016 this.writer = writer; 017 } 018 019 /** 020 * @return the def 021 */ 022 public int getDefaultType() { 023 return defaultType; 024 } 025 026 /** 027 * @param def the def to set 028 */ 029 public void setDefaultType(int defaultType) { 030 this.defaultType = defaultType; 031 } 032 033 /** 034 * @return the name 035 */ 036 public String getName() { 037 return name; 038 } 039 040 /** 041 * @return the writer 042 */ 043 public DumpWriter getWriter() { 044 return writer; 045 } 046 047 }