Instance.filterAndSerializeUsingDefaults()

Signature

String filterAndSerializeUsingDefaults (Concept instance, String propertyNameRegexFilter)

Domain

action

Description

Serializes the Concept into an XML String using concept namespace uri and Regex filter.

Parameters

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

TypeDescription
StringAn XML String representation of the Concept instance containing only those properties that were provided in the Regular Expression.

Cautions

none