com.kero.security.lang.lexems.NameLexem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kero-security Show documentation
Show all versions of kero-security Show documentation
Kero-Security is a library for statically controlling access to properties of objects / classes.
package com.kero.security.lang.lexems;
import com.kero.security.lang.tokens.NameToken;
public class NameLexem extends KsdlLexemBase {
public NameLexem() {
super("[A-Za-z]+[A-Za-z_0-9]");
}
@Override
public NameToken tokenize(String data) {
return new NameToken(data);
}
}