Package com.adobe.xfa.ut
Class ExErrItem
java.lang.Object
com.adobe.xfa.ut.ExErrItem
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
ConstructorsConstructorDescriptionInstantiate a ExErrItem object -- the default c'tor.ExErrItem(int nNewResId) Instantiate a ExErrItem object -- the ResId c'tor.Instantiate a ExErrItem object -- the ResId, String c'tor.Instantiate a ExErrItem object -- the copy c'tor. -
Method Summary
Modifier and TypeMethodDescriptionintresId()Get this object's resource property.voidresId(int nNewResId) Set this object's resource property to the given resource.voidresolve()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()Get this object's error message text property.voidSet this object's error message text property to the given string.toString()
-
Constructor Details
-
ExErrItem
public ExErrItem()Instantiate a ExErrItem object -- the default c'tor. -
ExErrItem
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
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
Get this object's error message text property.- Returns:
- the error message text property.
-
text
Set this object's error message text property to the given string.- Parameters:
sNewText- - the new error message text property.
-
toString
-