Package ru.curs.celesta.score.validator
Class IdentifierParser
java.lang.Object
ru.curs.celesta.score.validator.IdentifierParser
- Direct Known Subclasses:
AnsiQuotedIdentifierParser,PlainIdentifierParser
Identifier parser and validator.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PLAIN_NAME_PATTERN_STR
Plain name regular expression.- See Also:
-
-
Constructor Details
-
IdentifierParser
public IdentifierParser()
-
-
Method Details
-
parse
Parses the passed in identifier checking it for validity and returns a normalized version of it (e.g. strips down the quotes).- Parameters:
name- identifier- Throws:
ParseException- thrown on validation error.
-