public interface EscapeTextBuilder extends Text<EscapeTextBuilder>
TextAccessor.TextBuilder<B extends TextAccessor.TextBuilder<B>>, TextAccessor.TextMutator, TextAccessor.TextProperty, TextAccessor.TextProvider
Modifier and Type | Method and Description |
---|---|
EscapeTextBuilder |
addEscapeProperty(org.refcodes.structure.Property aProperty) |
EscapeTextBuilder |
addEscapeProperty(String aKey,
String aValue) |
org.refcodes.structure.Property[] |
getEscapeProperties() |
EscapeTextMode |
getEscapeTextMode()
Retrieves the escape text mode from the escape text mode property.
|
void |
setEscapeProperties(org.refcodes.structure.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.structure.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.structure.Property[] getEscapeProperties()
void setEscapeProperties(org.refcodes.structure.Property... aProperties)
default EscapeTextBuilder withEscapeProperties(org.refcodes.structure.Property... aProperties)
EscapeTextBuilder addEscapeProperty(org.refcodes.structure.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 TextAccessor.TextProvider
String
arrayString toString() throws IllegalStateException
String
being escaped by the builder upon the settings of the
attributes.toString
in interface TextAccessor.TextProvider
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 © 2017. All rights reserved.