Package net.carcdr.ycrdt
Interface FormattingChunk
public interface FormattingChunk
Represents a chunk of text with associated formatting attributes.
Used by YXmlText to represent formatted text content.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the formatting attributes for this chunk.getText()Returns the text content of this chunk.booleanChecks if this chunk has any formatting attributes.
-
Method Details
-
getText
-
getAttributes
-
hasAttributes
boolean hasAttributes()Checks if this chunk has any formatting attributes.- Returns:
- true if attributes exist, false otherwise
-