protected XmlObject buildPropValueChangeNotifDocXmlBean( Object[] oldValue,
Object[] newValue )
{
ResourcePropertyValueChangeNotificationDocument propValueChangeNotifDocXBean =
ResourcePropertyValueChangeNotificationDocument.Factory.newInstance( );
ResourcePropertyValueChangeNotificationType propValueChangeNotifXBean =
propValueChangeNotifDocXBean.addNewResourcePropertyValueChangeNotification( );
ResourcePropertyValueChangeNotificationType.OldValue oldValueXBean =
propValueChangeNotifXBean.addNewOldValue( );
if ( oldValue != null )
{
for ( int i = 0; i < oldValue.length; i++ )
{
XmlBeanUtils.addChildElement( oldValueXBean, (XmlObject) oldValue[i] );
}
}
else
{
oldValueXBean.setNil( );
}
ResourcePropertyValueChangeNotificationType.NewValue newValueXBean =
propValueChangeNotifXBean.addNewNewValue( );
if ( newValue != null )
{
for ( int i = 0; i < oldValue.length; i++ )
{
XmlBeanUtils.addChildElement( newValueXBean, (XmlObject) newValue[i] );