public static final class ToggleTextStyle.TextStyle extends Object implements Comparable<ToggleTextStyle.TextStyle>
Modifier and Type | Field and Description |
---|---|
Name[] |
attributeNames |
boolean[] |
attributeNegations |
String[] |
attributeValues |
Name |
elementName |
Constructor and Description |
---|
TextStyle() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ToggleTextStyle.TextStyle other) |
Element |
copyTemplate(Node[] nodes,
int first,
int last) |
static ToggleTextStyle.TextStyle |
fromString(String spec) |
Element |
getTemplate() |
boolean |
match(Element element) |
boolean |
mayContain(Node node,
Document doc) |
boolean |
parse(String spec) |
String |
toString() |
public Name elementName
public Name[] attributeNames
public String[] attributeValues
public boolean[] attributeNegations
public static ToggleTextStyle.TextStyle fromString(String spec)
public boolean parse(String spec)
public int compareTo(ToggleTextStyle.TextStyle other)
compareTo
in interface Comparable<ToggleTextStyle.TextStyle>
public boolean match(Element element)
public Element getTemplate()