propertyElement.addAttribute(fac.createOMAttribute(
"value", nullNS, (String) property.getValue()));
} else if (property.getType() == Property.INLINE_XML_TYPE) {
propertyElement.addChild((OMElement) property.getValue());
} else if (property.getType() == Property.INLINE_STRING_TYPE) {
OMTextImpl textData = (OMTextImpl) fac.createOMText((String)property.getValue());
textData.setType(XMLStreamConstants.CDATA);
propertyElement.addChild(textData);
} else {
handleException("Property type undefined");
}
if(parent != null) {