case "CorrectionToInstant":
return ((AbstractDocument) element.getObjectValue()).getCorrectionToInstant() != null
? ((AbstractDocument) element.getObjectValue()).getCorrectionToInstant().toString()
: MAX_INSTANT.toString();
default:
throw new AttributeExtractorException("Unknown attribute name in InstantExtractor");
}
} else {
throw new AttributeExtractorException("Null or non-document element passed to InstantExtractor");
}
}