Instance.filterAndSerializeUsingDefaults()

Signature

String filterAndSerializeUsingDefaults (Concept instance, String propertyNameRegexFilter)

Domain

action

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

NameTypeDescription
instanceConceptThe Concept instance to serialize.
propertyNameRegexFilterStringIf 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

TypeDescription
StringAn XML string serialization of instance containing a filtered set of properties.

Cautions

none