public final class DefaultExpressionEngineSymbols extends Object
A class representing the various symbols that are supported in keys
recognized by DefaultExpressionEngine
.
An instance of this class is associated with each instance of
DefaultExpressionEngine
. It determines which concrete symbols are
used to define elements like separators, attributes, etc. within a
configuration key.
Instances are created using the nested Builder
class. They are
immutable and can be shared between arbitrary components.
Modifier and Type | Class and Description |
---|---|
static class |
DefaultExpressionEngineSymbols.Builder
A builder class for creating instances of
DefaultExpressionEngineSymbols . |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_ATTRIBUTE_END
Constant for the default attribute end marker.
|
static String |
DEFAULT_ATTRIBUTE_START
Constant for the default attribute start marker.
|
static String |
DEFAULT_ESCAPED_DELIMITER
Constant for the default escaped property delimiter.
|
static String |
DEFAULT_INDEX_END
Constant for the default index end marker.
|
static String |
DEFAULT_INDEX_START
Constant for the default index start marker.
|
static String |
DEFAULT_PROPERTY_DELIMITER
Constant for the default property delimiter.
|
static DefaultExpressionEngineSymbols |
DEFAULT_SYMBOLS
An instance with default symbols.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Compares this object with another one.
|
String |
getAttributeEnd()
Returns the string representing an attribute end marker.
|
String |
getAttributeStart()
Returns the string representing an attribute start marker.
|
String |
getEscapedDelimiter()
Returns the string representing an escaped property delimiter.
|
String |
getIndexEnd()
Returns the string representing the end of an index in a property key.
|
String |
getIndexStart()
Returns the string representing the start of an index in a property key.
|
String |
getPropertyDelimiter()
Returns the string used as delimiter in property keys.
|
int |
hashCode()
Returns a hash code for this object.
|
String |
toString()
Returns a string representation for this object.
|
public static final String DEFAULT_PROPERTY_DELIMITER
public static final String DEFAULT_ESCAPED_DELIMITER
public static final String DEFAULT_ATTRIBUTE_START
public static final String DEFAULT_ATTRIBUTE_END
public static final String DEFAULT_INDEX_START
public static final String DEFAULT_INDEX_END
public static final DefaultExpressionEngineSymbols DEFAULT_SYMBOLS
DefaultExpressionEngine
.public String getPropertyDelimiter()
public String getEscapedDelimiter()
public String getAttributeStart()
public String getAttributeEnd()
public String getIndexStart()
public String getIndexEnd()
public int hashCode()
public boolean equals(Object obj)
DefaultExpressionEngineSymbols
are considered equal if all of
their properties are equal.Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.