public class SpelParserConfiguration extends ObjectSE
SpelExpressionParser(SpelParserConfiguration)| 修飾子と型 | フィールドと説明 |
|---|---|
static StringSE | SPRING_EXPRESSION_COMPILER_MODE_PROPERTY_NAMESpEL 式パーサーのデフォルトのコンパイラーモードを構成するためのシステムプロパティ: "spring.expression.compiler.mode"。 |
| コンストラクターと説明 |
|---|
SpelParserConfiguration() デフォルト設定で新しい SpelParserConfiguration インスタンスを作成します。 |
SpelParserConfiguration(boolean autoGrowNullReferences, boolean autoGrowCollections) 新しい SpelParserConfiguration インスタンスを作成します。 |
SpelParserConfiguration(boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize) 新しい SpelParserConfiguration インスタンスを作成します。 |
SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoaderSE compilerClassLoader) 新しい SpelParserConfiguration インスタンスを作成します。 |
SpelParserConfiguration(SpelCompilerMode compilerMode, ClassLoaderSE compilerClassLoader, boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize) 新しい SpelParserConfiguration インスタンスを作成します。 |
| 修飾子と型 | メソッドと説明 |
|---|---|
ClassLoaderSE | getCompilerClassLoader() 式のコンパイルの基礎として使用する ClassLoader を返します。 |
SpelCompilerMode | getCompilerMode() この構成オブジェクトを使用して、パーサーのコンパイラーモードを返します。 |
int | getMaximumAutoGrowSize() コレクションが自動拡張できる最大サイズを返します。 |
boolean | isAutoGrowCollections() コレクションを自動的に拡張する必要がある場合は、 true を返します。 |
boolean | isAutoGrowNullReferences()null 参照を自動的に拡張する必要がある場合は、true を返します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEpublic SpelParserConfiguration()
SpelParserConfiguration インスタンスを作成します。public SpelParserConfiguration(@Nullable SpelCompilerMode compilerMode, @Nullable ClassLoaderSE compilerClassLoader)
SpelParserConfiguration インスタンスを作成します。compilerMode - パーサーのコンパイラーモード compilerClassLoader - 式のコンパイルのベースとして使用する ClassLoaderpublic SpelParserConfiguration(boolean autoGrowNullReferences,
boolean autoGrowCollections)SpelParserConfiguration インスタンスを作成します。autoGrowNullReferences - null 参照が自動的に大きくなる場合 autoGrowCollections - コレクションが自動的に拡大する場合 SpelParserConfiguration(boolean, boolean, int)public SpelParserConfiguration(boolean autoGrowNullReferences,
boolean autoGrowCollections,
int maximumAutoGrowSize)SpelParserConfiguration インスタンスを作成します。autoGrowNullReferences - null 参照が自動的に大きくなる場合 autoGrowCollections - コレクションが自動的に拡大する場合 maximumAutoGrowSize - コレクションが自動拡張できる最大サイズ public SpelParserConfiguration(@Nullable SpelCompilerMode compilerMode, @Nullable ClassLoaderSE compilerClassLoader, boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize)
SpelParserConfiguration インスタンスを作成します。compilerMode - この構成オブジェクトを使用するパーサーが使用するコンパイラーモード compilerClassLoader - 式のコンパイルのベースとして使用する ClassLoaderautoGrowNullReferences - null 参照が自動的に大きくなる場合 autoGrowCollections - コレクションが自動的に拡大する場合 maximumAutoGrowSize - コレクションが自動拡張できる最大サイズ public SpelCompilerMode getCompilerMode()
@Nullable public ClassLoaderSE getCompilerClassLoader()
public boolean isAutoGrowNullReferences()
null 参照を自動的に拡張する必要がある場合は、true を返します。public boolean isAutoGrowCollections()
true を返します。public int getMaximumAutoGrowSize()