1 9 package org.jboss.portal.common.command; 10 11 15 public class EmptyConfigurator implements Configurator 16 { 17 18 public static final EmptyConfigurator EMPTY_CONFIGURATOR = new EmptyConfigurator(); 19 20 private EmptyConfigurator() 21 { 22 } 23 24 public boolean contains(AttributeType attribute) 25 { 26 return false; 27 } 28 29 public void setObject(AttributeType attribute, Object value) throws NoSuchAttachmentException 30 { 31 throw new NoSuchAttachmentException(); 32 } 33 34 public void setInt(AttributeType attribute, int value) throws NoSuchAttachmentException 35 { 36 throw new NoSuchAttachmentException(); 37 } 38 39 public void setBoolean(AttributeType attribute, boolean value) throws NoSuchAttachmentException 40 { 41 throw new NoSuchAttachmentException(); 42 } 43 44 public void setFloat(AttributeType attribute, float value) throws NoSuchAttachmentException 45 { 46 throw new NoSuchAttachmentException(); 47 } 48 49 public void setLong(AttributeType attribute, long value) throws NoSuchAttachmentException 50 { 51 throw new NoSuchAttachmentException(); 52 } 53 54 public void setDouble(AttributeType attribute, double value) throws NoSuchAttachmentException 55 { 56 throw new NoSuchAttachmentException(); 57 } 58 59 public void setChar(AttributeType attribute, char value) throws NoSuchAttachmentException 60 { 61 throw new NoSuchAttachmentException(); 62 } 63 64 public void setShort(AttributeType attribute, short value) throws NoSuchAttachmentException 65 { 66 throw new NoSuchAttachmentException(); 67 } 68 69 public void setByte(AttributeType attribute, byte value) throws NoSuchAttachmentException 70 { 71 throw new NoSuchAttachmentException(); 72 } 73 74 public Object getObject(AttributeType attribute) throws NoSuchAttachmentException 75 { 76 throw new NoSuchAttachmentException(); 77 } 78 79 public int getInt(AttributeType attribute) throws NoSuchAttachmentException 80 { 81 throw new NoSuchAttachmentException(); 82 } 83 84 public boolean getBoolean(AttributeType attribute) throws NoSuchAttachmentException 85 { 86 throw new NoSuchAttachmentException(); 87 } 88 89 public float getFloat(AttributeType attribute) throws NoSuchAttachmentException 90 { 91 throw new NoSuchAttachmentException(); 92 } 93 94 public long getLong(AttributeType attribute) throws NoSuchAttachmentException 95 { 96 throw new NoSuchAttachmentException(); 97 } 98 99 public double getDouble(AttributeType attribute) throws NoSuchAttachmentException 100 { 101 throw new NoSuchAttachmentException(); 102 } 103 104 public char getChar(AttributeType attribute) throws NoSuchAttachmentException 105 { 106 throw new NoSuchAttachmentException(); 107 } 108 109 public short getShort(AttributeType attribute) throws NoSuchAttachmentException 110 { 111 throw new NoSuchAttachmentException(); 112 } 113 114 public byte getByte(AttributeType attribute) throws NoSuchAttachmentException 115 { 116 throw new NoSuchAttachmentException(); 117 } 118 } 119 | Popular Tags |