public class IdentifierUtils
extends java.lang.Object
Copyright (C) 2012-2015 JIOWA Business Solutions GmbH, Bettinastr. 30 , 60325 Frankfurt am Main, Germany
Homepage: www.jiowa.de
All rights reserved.
Download: www.jiowa.de/download.html
License: www.jiowa.de/license.html
Modifier and Type | Field and Description |
---|---|
protected TemplateContext |
context |
protected static java.lang.String |
JAVA_KEYWORD_STRING
Contains all java keywords as a single string
|
protected static java.util.Set<java.lang.String> |
JAVA_KEYWORDS
Java keywords to be used to forbid them in generator templates because they will cause compile errors
of the template beans.
|
Constructor and Description |
---|
IdentifierUtils(TemplateContext context) |
Modifier and Type | Method and Description |
---|---|
boolean |
isAllowedIncludeIdentifier(java.lang.String s) |
boolean |
isAllowedInlineSubTemplateIdentifier(java.lang.String s) |
boolean |
isAllowedSubTemplateFilenameIdentifier(java.lang.String s) |
boolean |
isAllowedSubTemplateStructureIdentifier(java.lang.String s) |
boolean |
isAllowedVariableIdentifier(java.lang.String s) |
boolean |
isJavaKeyword(java.lang.String s) |
protected TemplateContext context
protected static final java.util.Set<java.lang.String> JAVA_KEYWORDS
protected static final java.lang.String JAVA_KEYWORD_STRING
public IdentifierUtils(TemplateContext context)
public boolean isAllowedVariableIdentifier(java.lang.String s)
public boolean isAllowedSubTemplateStructureIdentifier(java.lang.String s)
public boolean isAllowedSubTemplateFilenameIdentifier(java.lang.String s)
public boolean isAllowedInlineSubTemplateIdentifier(java.lang.String s)
public boolean isAllowedIncludeIdentifier(java.lang.String s)
public boolean isJavaKeyword(java.lang.String s)