public class DelimitedTextRange
extends java.lang.Object
DelimitedTextRange
class implements the "delimited text range" as described
by XML-FO 1.1 ??5.8, which contains a flattened sequence of characters. Any FO that generates
block areas serves as a delimiter.
This work was originally authored by Glenn Adams (gadams@apache.org).
Constructor and Description |
---|
DelimitedTextRange(FONode fn)
Primary constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
append(char c,
FONode fn)
Append interval using character C.
|
void |
append(CharIterator it,
FONode fn)
Append interval using characters from character iterator IT.
|
FONode |
getNode()
Obtain node that generated this text range.
|
boolean |
isEmpty()
Determine if range is empty.
|
void |
resolve()
Resolve bidirectional levels for this range.
|
java.lang.String |
toString() |
public DelimitedTextRange(FONode fn)
fn
- node that generates this text rangepublic FONode getNode()
public void append(CharIterator it, FONode fn)
it
- character iteratorfn
- node that generates interval being appendedpublic void append(char c, FONode fn)
c
- characterfn
- node that generates interval being appendedpublic boolean isEmpty()
public void resolve()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright 1999-2012 The Apache Software Foundation. All Rights Reserved.