Pattern.Manager.register()
Signature
String register(String patternLangString)
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
Name | Type | Description |
patternLangString | String | The syntactically valid pattern definition string. |
Returns
Type | Description |
String | The URI of the pattern that was parsed. The URI is obtained after parsing the string. |