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

public abstract Class SCondition

extends SRenderingElementContainer
Class Inheritance
Known Direct Subclasses
de.undercouch.citeproc.csl.internal.rendering.condition.SElse, de.undercouch.citeproc.csl.internal.rendering.condition.SIf
Imports
de.undercouch.citeproc.csl.internal.RenderContext, .SRenderingElementContainer, org.w3c.dom.Node

A conditional element from a style file
Author
Michel Kraemer

Constructor Summary

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

Construct the conditional element from an XML node

Method Summary

Modifier and TypeMethod and Description
public abstract boolean

Returns:

true if the condition applies, false otherwise
matches
(RenderContext
the current render context
ctx
)

Check if the condition applies

Inherited from de.undercouch.citeproc.csl.internal.SRenderingElementContainer:
getElements

Constructor Detail

SConditionback to summary
public SCondition(Node node)

Construct the conditional element from an XML node

Parameters
node:Node

the XML node

Method Detail

matchesback to summary
public abstract boolean matches(RenderContext ctx)

Check if the condition applies

Parameters
ctx:RenderContext

the current render context

Returns:boolean

true if the condition applies, false otherwise