Home | History | Annotate | Download | only in text

Lines Matching refs:attribute

96     private Format.Field attribute;
117 * <code>new FieldPosition(attribute, -1)</code>.
119 * @param attribute Format.Field constant identifying a field
122 public FieldPosition(Format.Field attribute) {
123 this(attribute, -1);
128 * The field is identified by an attribute constant from one of the
132 * to <code>attribute</code> and ignore <code>fieldID</code> if
133 * <code>attribute</code> is not null. However, older <code>Format</code>
138 * @param attribute Format.Field constant identifying a field
142 public FieldPosition(Format.Field attribute, int fieldID) {
143 this.attribute = attribute;
148 * Returns the field identifier as an attribute constant
156 return attribute;
226 if (attribute == null) {
227 if (other.attribute != null) {
231 else if (!attribute.equals(other.attribute)) {
253 "[field=" + field + ",attribute=" + attribute +
261 * <code>attribute</code> is equal to it.
263 private boolean matchesField(Format.Field attribute) {
264 if (this.attribute != null) {
265 return this.attribute.equals(attribute);
272 * <code>attribute</code> is equal to it, or true if the receiver
275 private boolean matchesField(Format.Field attribute, int field) {
276 if (this.attribute != null) {
277 return this.attribute.equals(attribute);