Ejemplo n.º 1
0
 /**
  * Constructs a new {@code FieldPosition} for the specified {@code Field}
  * attribute and field id.
  *
  * @param attribute
  *            the field attribute to identify.
  * @param field
  *            the field to identify.
  */
 public FieldPosition(FormatNS.Field attribute, int field)
 {
     myAttribute = attribute;
     myField = field;
 }
Ejemplo n.º 2
0
 /**
  * Constructs a new {@code FieldPosition} for the specified {@code Field}
  * attribute.
  *
  * @param attribute
  *            the field attribute to identify.
  */
 public FieldPosition(FormatNS.Field attribute)
 {
     myAttribute = attribute;
     myField = -1;
 }