Pattern.Manager.register()

Signature

String register(String patternLangString)

Domain

ACTION

Description

Registers the pattern definition text under the URI (define pattern XYZ ...) provided in the text. The URI (XYZ) that was extracted is also returned by the method for reference. The URI has to be unique for the registration to succeed.

Parameters

NameTypeDescription
patternLangStringStringThe syntactically valid pattern definition string.

Returns

TypeDescription
StringThe URI of the pattern that was parsed. The URI is obtained after parsing the string.

Cautions

none