public static class DefaultExpressionEngineSymbols.Builder extends Object
DefaultExpressionEngineSymbols
.Constructor and Description |
---|
Builder()
Creates a new, uninitialized instance of
Builder . |
Builder(DefaultExpressionEngineSymbols c)
Creates a new instance of
Builder whose properties are initialized from the passed in
DefaultExpressionEngineSymbols object. |
Modifier and Type | Method and Description |
---|---|
DefaultExpressionEngineSymbols |
create()
Creates the
DefaultExpressionEngineSymbols instance based on the properties set for this builder object. |
DefaultExpressionEngineSymbols.Builder |
setAttributeEnd(String ae)
Sets the string representing the end marker of an attribute in a property key.
|
DefaultExpressionEngineSymbols.Builder |
setAttributeStart(String as)
Sets the string representing the start marker of an attribute in a property key.
|
DefaultExpressionEngineSymbols.Builder |
setEscapedDelimiter(String ed)
Sets the string representing an escaped property delimiter.
|
DefaultExpressionEngineSymbols.Builder |
setIndexEnd(String ie)
Sets the string representing the end of an index in a property key.
|
DefaultExpressionEngineSymbols.Builder |
setIndexStart(String is)
Sets the string representing the start of an index in a property key.
|
DefaultExpressionEngineSymbols.Builder |
setPropertyDelimiter(String d)
Sets the string representing a delimiter for properties.
|
public Builder()
Builder
. All symbols are undefined.public Builder(DefaultExpressionEngineSymbols c)
Builder
whose properties are initialized from the passed in
DefaultExpressionEngineSymbols
object. This is useful if symbols are to be created which are similar to the
passed in instance.c
- the DefaultExpressionEngineSymbols
object serving as starting point for this builderpublic DefaultExpressionEngineSymbols.Builder setPropertyDelimiter(String d)
d
- the property delimiterpublic DefaultExpressionEngineSymbols.Builder setEscapedDelimiter(String ed)
ed
- the escaped property delimiterpublic DefaultExpressionEngineSymbols.Builder setIndexStart(String is)
is
- the index startpublic DefaultExpressionEngineSymbols.Builder setIndexEnd(String ie)
ie
- the index endpublic DefaultExpressionEngineSymbols.Builder setAttributeStart(String as)
as
- the attribute start markerpublic DefaultExpressionEngineSymbols.Builder setAttributeEnd(String ae)
ae
- the attribute end markerpublic DefaultExpressionEngineSymbols create()
DefaultExpressionEngineSymbols
instance based on the properties set for this builder object. This
method does not change the state of this builder. So it is possible to change properties and create another
DefaultExpressionEngineSymbols
instance.DefaultExpressionEngineSymbols
instanceCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.