/** * Allocates the attribute objects for this class and adds them to the * attribute table. * * @preconditions * @postconditions */ @Override protected void allocateAttributes() { super.allocateAttributes(); value = new ByteArrayAttribute(Attribute.VALUE); putAttributesInTable(this); }
/** * Allocates the attribute objects for this class and adds them to the * attribute table. * * @preconditions * @postconditions */ @Override protected void allocateAttributes() { super.allocateAttributes(); resetOnInit = new BooleanAttribute(Attribute.RESET_ON_INIT); hasReset = new BooleanAttribute(Attribute.HAS_RESET); value = new ByteArrayAttribute(Attribute.VALUE); putAttributesInTable(this); }
/** * Allocates the attribute objects for this class and adds them to the * attribute table. */ @Override protected void allocateAttributes() { super.allocateAttributes(); pixelX = new LongAttribute(Attribute.PIXEL_X); pixelY = new LongAttribute(Attribute.PIXEL_Y); resolution = new LongAttribute(Attribute.RESOLUTION); charRows = new LongAttribute(Attribute.CHAR_ROWS); charColumns = new LongAttribute(Attribute.CHAR_COLUMNS); color = new BooleanAttribute(Attribute.COLOR); bitsPerPixel = new LongAttribute(Attribute.BITS_PER_PIXEL); charSets = new ByteArrayAttribute(Attribute.CHAR_SETS); encodingMethods = new ByteArrayAttribute(Attribute.ENCODING_METHODS); mimeTypes = new ByteArrayAttribute(Attribute.MIME_TYPES); putAttributesInTable(this); }