public class SpelParserConfiguration
extends java.lang.Object
SpelExpressionParser.SpelExpressionParser(SpelParserConfiguration)
コンストラクターと説明 |
---|
SpelParserConfiguration() デフォルト設定で新しい SpelParserConfiguration インスタンスを作成します。 |
SpelParserConfiguration(boolean autoGrowNullReferences, boolean autoGrowCollections) 新しい SpelParserConfiguration インスタンスを作成します。 |
SpelParserConfiguration(boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize) 新しい SpelParserConfiguration インスタンスを作成します。 |
SpelParserConfiguration(SpelCompilerMode compilerMode, java.lang.ClassLoader compilerClassLoader) 新しい SpelParserConfiguration インスタンスを作成します。 |
SpelParserConfiguration(SpelCompilerMode compilerMode, java.lang.ClassLoader compilerClassLoader, boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize) 新しい SpelParserConfiguration インスタンスを作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
java.lang.ClassLoader | getCompilerClassLoader() 式のコンパイルの基礎として使用する ClassLoader を返します。 |
SpelCompilerMode | getCompilerMode() この構成オブジェクトを使用して、パーサーの構成モードを返します。 |
int | getMaximumAutoGrowSize() コレクションが自動拡張できる最大サイズを返します。 |
boolean | isAutoGrowCollections() コレクションを自動的に拡張する必要がある場合は、 true を返します。 |
boolean | isAutoGrowNullReferences() null 参照を自動的に拡張する必要がある場合は、true を返します。 |
public SpelParserConfiguration()
SpelParserConfiguration
インスタンスを作成します。public SpelParserConfiguration(@Nullable SpelCompilerMode compilerMode, @Nullable java.lang.ClassLoader 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 java.lang.ClassLoader compilerClassLoader, boolean autoGrowNullReferences, boolean autoGrowCollections, int maximumAutoGrowSize)
SpelParserConfiguration
インスタンスを作成します。compilerMode
- この構成オブジェクトを使用するパーサーが使用するコンパイラーモード compilerClassLoader
- 式のコンパイルのベースとして使用する ClassLoaderautoGrowNullReferences
- null 参照が自動的に大きくなる場合 autoGrowCollections
- コレクションが自動的に拡大する場合 maximumAutoGrowSize
- コレクションが自動拡張できる最大サイズ public SpelCompilerMode getCompilerMode()
@Nullable public java.lang.ClassLoader getCompilerClassLoader()
public boolean isAutoGrowNullReferences()
null
参照を自動的に拡張する必要がある場合は、true
を返します。public boolean isAutoGrowCollections()
true
を返します。public int getMaximumAutoGrowSize()