if (textNodeUnmarshalNodeValue.isMappingNodeValue()) {
textNodeUnmarshalNodeValue.endElement(xPathFragment, this);
}
} else {
if(textNodeUnmarshalNodeValue.isMappingNodeValue()) {
DatabaseMapping mapping = ((MappingNodeValue)textNodeUnmarshalNodeValue).getMapping();
if(mapping.isAbstractDirectMapping()) {
Object nullValue = ((AbstractDirectMapping)mapping).getNullValue();
if(!(XMLConstants.EMPTY_STRING.equals(nullValue))) {
setAttributeValue(null, mapping);
this.removeNullCapableValue((NullCapableValue)textNodeUnmarshalNodeValue);
}