else if (fieldType.equals("Attribute")) {
StringBuffer sBuf = new StringBuffer();
sBuf.append(fieldName.substring(0,1).toLowerCase());
sBuf.append(fieldName.substring(1));
String attrName = new String(sBuf);
Attribute anAttr = eInput.getAttribute(attrName);
if (anAttr == null) {
if (isRequired && xeo.getEnterpriseFields().ignoreValidation() == false) {
throw new EnterpriseLayoutException(fieldName +
" is a required field but could not be found in the " +
objectName + " Element passed in.");
}
}
else {
fieldValue = anAttr.getValue();
if (fieldValue == null || fieldValue.trim().length() == 0) {
if (isRequired && xeo.getEnterpriseFields().ignoreValidation() == false) {
throw new EnterpriseLayoutException(fieldName +
" is a required field but could not be found in the " +
objectName + " Element passed in.");