Instance.filterAndSerializeUsingDefaults()
Signature
String filterAndSerializeUsingDefaults (Concept instance, String propertyNameRegexFilter)
Description
Serializes the Concept into an XML String using concept namespace uri and Regex filter.
Parameters
Name | Type | Description |
instance | Concept | The Concept to serialize. |
propertyNameRegexFilter | String | If the name of this Concept's Property matches this Regular
Expression pattern, then that Property is 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 the one used in Java. |
Returns
Type | Description |
String | An XML String representation of the Concept instance containing only those
properties that were provided in the Regular Expression. |