xml.value(transition.getStorageClass().toString());
xml.end(); // <StorageClass>
xml.end(); // </Transition>
}
NoncurrentVersionTransition ncvTransition =
rule.getNoncurrentVersionTransition();
if (ncvTransition != null) {
xml.start("NoncurrentVersionTransition");
if (ncvTransition.getDays() != -1) {
xml.start("NoncurrentDays");
xml.value(Integer.toString(ncvTransition.getDays()));
xml.end();
}
xml.start("StorageClass");
xml.value(ncvTransition.getStorageClass().toString());
xml.end(); // </StorageClass>
xml.end(); // </NoncurrentVersionTransition>
}
if (rule.getExpirationInDays() != -1) {