private ContentToken resolveContentAlias (final CSSValue content)
{
if (ContentValues.FOOTNOTE.equals(content))
{
final CounterStyle style =
CounterStyleFactory.getInstance().getCounterStyle("normal");
return new CounterToken("footnote", style);
}
if (ContentValues.ENDNOTE.equals(content))
{
final CounterStyle style =
CounterStyleFactory.getInstance().getCounterStyle("normal");
return new CounterToken("endnote", style);
}
if (ContentValues.SECTIONNOTE.equals(content))
{
final CounterStyle style =
CounterStyleFactory.getInstance().getCounterStyle("normal");
return new CounterToken("section-note", style);
}
if (ContentValues.LISTITEM.equals(content))
{
final CounterStyle style =
CounterStyleFactory.getInstance().getCounterStyle("normal");
return new CounterToken("list-item", style);
}
return null;
}