StyleRun
s into HTML spans.
Modifier and Type | Class and Description |
---|---|
pack-priv class | |
pack-priv class | |
pack-priv abstract class |
Modifier and Type | Field and Description |
---|---|
private StringBuilder | |
private String | |
private String | |
private static final int | |
private int | |
private SortedSet |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public String | |
private void | copySource(int
the starting source offset beg, int the end offset, or -1 to go to end of file end)Copies code from the input source to the output html. |
private String | |
private String |
buffer | back to summary |
---|---|
private StringBuilder buffer |
path | back to summary |
---|---|
private String path |
source | back to summary |
---|---|
private String source |
SOURCE_BUF_MULTIPLIER | back to summary |
---|---|
private static final int SOURCE_BUF_MULTIPLIER |
sourceOffset | back to summary |
---|---|
private int sourceOffset |
tags | back to summary |
---|---|
private SortedSet<StyleApplier. |
StyleApplier | back to summary |
---|---|
public StyleApplier(String path, String src, List<StyleRun> runs) |
apply | back to summary |
---|---|
public String apply()
|
copySource | back to summary |
---|---|
private void copySource(int beg, int end) Copies code from the input source to the output html.
|
escape | back to summary |
---|---|
private String escape(String s) |
toCSS | back to summary |
---|---|
private String toCSS(StyleRun style) |
Modifier and Type | Method and Description |
---|---|
pack-priv void |
EndTag | back to summary |
---|---|
public EndTag(StyleRun style) |
insert | back to summary |
---|---|
pack-priv void insert() Overrides org.
|
Modifier and Type | Method and Description |
---|---|
pack-priv void |
StartTag | back to summary |
---|---|
public StartTag(StyleRun style) |
insert | back to summary |
---|---|
pack-priv void insert() Overrides org.
|
Access | Constructor and Description |
---|---|
pack-priv |
Modifier and Type | Method and Description |
---|---|
public int | compareTo(StyleApplier.
the object to be compared. otherImplements java. |
pack-priv void |
offset | back to summary |
---|---|
pack-priv int offset |
style | back to summary |
---|---|
pack-priv StyleRun style |
Tag | back to summary |
---|---|
pack-priv Tag() |
compareTo | back to summary |
---|---|
public int compareTo(StyleApplier. Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
|
insert | back to summary |
---|---|
pack-priv void insert() |