/** * Serialize the property to the given paren element. There will be a element created with * the name property inside the parent element. * * @param parent element to which property elements should be added * @param mp a property to be serialized */ public static void serializeMediatorProperty(OMElement parent, MediatorProperty mp) { serializeMediatorProperty(parent, mp, PROP_Q); }
/** * Serialize the property to the given paren element. There will be a element created with * the name property inside the parent element. * * @param parent element to which property elements should be added * @param mp a property to be serialized */ public static void serializeMediatorProperty(OMElement parent, MediatorProperty mp) { serializeMediatorProperty(parent, mp, PROP_Q); }
/** * Serialize all the properties to the given paren element. For each and every * property ther will be a seperate element with the given name created inside the * parent element. * * @param parent element to which property elements should be added * @param props <code>Collection</code> of propertis * @param childElementName <code>QNmae</code> of the property element to be created */ public static void serializeMediatorProperties(OMElement parent, Collection<MediatorProperty> props, QName childElementName) { for (MediatorProperty mp : props) { serializeMediatorProperty(parent, mp, childElementName); } }
/** * Serialize all the properties to the given paren element. For each and every * property ther will be a seperate element with the given name created inside the * parent element. * * @param parent element to which property elements should be added * @param props <code>Collection</code> of propertis * @param childElementName <code>QNmae</code> of the property element to be created */ public static void serializeMediatorProperties(OMElement parent, Collection<MediatorProperty> props, QName childElementName) { for (MediatorProperty mp : props) { serializeMediatorProperty(parent, mp, childElementName); } }