public interface ContentChunk
Modifier and Type | Method and Description |
---|---|
String |
getNonNullValue()
Returns the value of this property as a String.
|
Content |
getOwningContent()
Returns the Content that this chunk belongs to.
|
String |
getValue()
Returns the value of this property as a String.
|
boolean |
hasValue()
Returns whether this property has a value set.
|
void |
setValue(CharSequence value)
Sets the value.
|
void |
writeValueTo(Appendable out)
Write the value of this property to
out . |
boolean hasValue()
String getValue()
String getNonNullValue()
void writeValueTo(Appendable out) throws IOException
out
. This is typically more efficient
than calling getValue()
for large properties as it does not require copying
into an intermediate String instance. If no value is set, nothing will be written.IOException
void setValue(CharSequence value)
Content getOwningContent()
Copyright © 2015. All Rights Reserved.