Class ExErrItem

java.lang.Object
com.adobe.xfa.ut.ExErrItem

public class ExErrItem extends Object
A class to represents the elements the ExFull class.

Objects of this class are error messages, consisting of an associated resource property and an error message text property.

Objects of this class are considered resolved whenever its error message text property has been loaded.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Instantiate a ExErrItem object -- the default c'tor.
    ExErrItem(int nNewResId)
    Instantiate a ExErrItem object -- the ResId c'tor.
    ExErrItem(int nNewResId, String sNewText)
    Instantiate a ExErrItem object -- the ResId, String c'tor.
    Instantiate a ExErrItem object -- the copy c'tor.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get this object's resource property.
    void
    resId(int nNewResId)
    Set this object's resource property to the given resource.
    void
    Resolve (load) the resource text associated with this object's resource property to this object's error message text property, if not already resolved.
    Get this object's error message text property.
    void
    text(String sNewText)
    Set this object's error message text property to the given string.
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ExErrItem

      public ExErrItem()
      Instantiate a ExErrItem object -- the default c'tor.
    • ExErrItem

      public ExErrItem(ExErrItem oSource)
      Instantiate a ExErrItem object -- the copy c'tor.
    • ExErrItem

      public ExErrItem(int nNewResId)
      Instantiate a ExErrItem object -- the ResId c'tor.
      Parameters:
      nNewResId - - set this object's resource property to the given resource.
    • ExErrItem

      public ExErrItem(int nNewResId, String sNewText)
      Instantiate a ExErrItem object -- the ResId, String c'tor.
      Parameters:
      nNewResId - - set this object's resource property to the given resource.
      sNewText - - set this object's error message text property to the string provided. The ructed object is considered resolved.
  • Method Details

    • resId

      public int resId()
      Get this object's resource property.
      Returns:
      the ResId property.
    • resId

      public void resId(int nNewResId)
      Set this object's resource property to the given resource.
      Parameters:
      nNewResId - - the new resource property.
    • resolve

      public void resolve()
      Resolve (load) the resource text associated with this object's resource property to this object's error message text property, if not already resolved.
    • text

      public String text()
      Get this object's error message text property.
      Returns:
      the error message text property.
    • text

      public void text(String sNewText)
      Set this object's error message text property to the given string.
      Parameters:
      sNewText - - the new error message text property.
    • toString

      public String toString()
      Overrides:
      toString in class Object