&& parent == null) {
throw new NullPointerException("Parent object cannot be null");
}
switch (enumeration) {
case BASIC_LINK: {
return new BasicLink(parent, propertyList);
}
case BIDI_OVERRIDE: {
return new BidiOverride(parent, propertyList);
}
case BLOCK: {