Top Description Fields Constructors Methods
de.undercouch.citeproc.csl.internal.rendering.condition

public Class SIf

extends SCondition
Class Inheritance
Imports
de.undercouch.citeproc.csl.CSLCitationItem, .CSLDate, .CSLType, de.undercouch.citeproc.csl.internal.GeneratedCitation, .RenderContext, de.undercouch.citeproc.csl.internal.helper.NumberElement, .NumberParser, de.undercouch.citeproc.helper.NodeHelper, .NumberHelper, org.w3c.dom.Node, java.util.List

A conditional element in a style file
Author
Michel Kraemer

Field Summary

Modifier and TypeField and Description
private static final int
private static final int
private final String[]
private final String[]
private final int
private static final int
private final String[]
private final String[]
private final String[]
private final String[]

Constructor Summary

AccessConstructor and Description
public
SIf(Node
the XML node
node
)

Create the conditional element from an XML node

Method Summary

Modifier and TypeMethod and Description
private boolean
private boolean
public boolean
private Boolean
private Boolean
private Boolean
private Boolean
private Boolean
private Boolean

Field Detail

ALLback to summary
private static final int ALL
ANYback to summary
private static final int ANY
isNumericsback to summary
private final String[] isNumerics
isUncertainDatesback to summary
private final String[] isUncertainDates
matchback to summary
private final int match
NONEback to summary
private static final int NONE
numbersback to summary
private final String[] numbers
positionsback to summary
private final String[] positions
typesback to summary
private final String[] types
variablesback to summary
private final String[] variables

Constructor Detail

SIfback to summary
public SIf(Node node)

Create the conditional element from an XML node

Parameters
node:Node

the XML node

Method Detail

isFirstCitationback to summary
private boolean isFirstCitation(RenderContext ctx)
isIbidback to summary
private boolean isIbid(RenderContext ctx)
matchesback to summary
public boolean matches(RenderContext ctx)

Implements abstract de.undercouch.citeproc.csl.internal.rendering.condition.SCondition.matches.

Doc from de.undercouch.citeproc.csl.internal.rendering.condition.SCondition.matches.

Check if the condition applies

Annotations
@Override
matchesNumbersback to summary
private Boolean matchesNumbers(RenderContext ctx)
matchesNumericsback to summary
private Boolean matchesNumerics(RenderContext ctx)
matchesPositionsback to summary
private Boolean matchesPositions(RenderContext ctx)
matchesTypeback to summary
private Boolean matchesType(RenderContext ctx)
matchesUncertainDateback to summary
private Boolean matchesUncertainDate(RenderContext ctx)
matchesVariableback to summary
private Boolean matchesVariable(RenderContext ctx)