private DtSpace createOrAddSpace(final DtSpace inputSpaceDT,
final FObj fobj,
final String value, final String subPropertyName,
final String propertyFullName)
throws PropertyException {
DtSpace spaceDT = inputSpaceDT;
if (spaceDT == null) {
final DtLength length = DtLength.makeLengthDT("0pt");
spaceDT = new DtSpace(length, length, length,
FoValue.DISCARD, new DtInteger(0));
}
final boolean componentAdded = spaceDT.addComponent(subPropertyName,
value);
if (! componentAdded) {
throw unexpectedValue(value, fobj);
}
return spaceDT;