Instance.filterAndSerializeUsingDefaults()
Signature
String filterAndSerializeUsingDefaults (Concept instance, String propertyNameRegexFilter)
Description
Serializes a Concept instance into an XML String with the default namespace URI for concepts,
and with the inclusion of properties controlled by a regex filter
Parameters
Name | Type | Description |
instance | Concept | The Concept instance to serialize. |
propertyNameRegexFilter | String | If the name of a property of instance matches this regular
expression pattern, then that property will be included in the serialization.
Ex: "lastName|age|address" will only serialize into XML, last-name, age and address.
Any other property will be excluded. The syntax for the regular expression is the same as is used with
java.util.regex.Pattern. |
Returns
Type | Description |
String | An XML string serialization of instance containing a filtered set of properties. |