public interface EscapeTextBuilder extends Text<EscapeTextBuilder>
TextAccessor.TextBuilder<B extends TextAccessor.TextBuilder<B>>, TextAccessor.TextMutator, TextAccessor.TextProperty
Modifier and Type | Method and Description |
---|---|
EscapeTextBuilder |
addEscapeProperty(org.refcodes.collection.Property aProperty) |
EscapeTextBuilder |
addEscapeProperty(String aKey,
String aValue) |
org.refcodes.collection.Property[] |
getEscapeProperties() |
EscapeTextMode |
getEscapeTextMode()
Retrieves the escape text mode from the escape text mode property.
|
void |
setEscapeProperties(org.refcodes.collection.Property... aProperties) |
void |
setEscapeTextMode(EscapeTextMode aEscapeTextMode)
Sets the escape text mode for the escape text mode property.
|
String |
toString()
The
String being escaped by the builder upon the settings of the
attributes. |
String[] |
toStrings()
The
String s being escaped by the builder upon the settings of the
attributes. |
default EscapeTextBuilder |
withEscapeProperties(org.refcodes.collection.Property... aProperties) |
default EscapeTextBuilder |
withEscapeTextMode(EscapeTextMode aEscapeTextMode)
Sets the escape text mode for the escape text mode property.
|
getText
setText, setText
withText
EscapeTextMode getEscapeTextMode()
void setEscapeTextMode(EscapeTextMode aEscapeTextMode)
aEscapeTextMode
- The escape text mode to be stored by the align text
mode property.default EscapeTextBuilder withEscapeTextMode(EscapeTextMode aEscapeTextMode)
aEscapeTextMode
- The escape text mode to be stored by the align text
mode property.org.refcodes.collection.Property[] getEscapeProperties()
void setEscapeProperties(org.refcodes.collection.Property... aProperties)
default EscapeTextBuilder withEscapeProperties(org.refcodes.collection.Property... aProperties)
EscapeTextBuilder addEscapeProperty(org.refcodes.collection.Property aProperty)
EscapeTextBuilder addEscapeProperty(String aKey, String aValue)
String[] toStrings()
String
s being escaped by the builder upon the settings of the
attributes.toStrings
in interface Text<EscapeTextBuilder>
String
arrayString toString() throws IllegalStateException
String
being escaped by the builder upon the settings of the
attributes.toString
in interface Text<EscapeTextBuilder>
toString
in class Object
String
IllegalStateException
- Thrown in case more than one text line has
been set via the Text.withText(String...)
or
TextAccessor.TextMutator.setText(String...)
methods.Copyright © 2016. All rights reserved.