Top Description Fields Constructors Methods
de.undercouch.citeproc.csl.internal.behavior

public Class Display

extends Object
implements Behavior
Class Inheritance
All Implemented Interfaces
de.undercouch.citeproc.csl.internal.behavior.Behavior, java.util.function.BiConsumer
Imports
de.undercouch.citeproc.csl.internal.RenderContext, de.undercouch.citeproc.csl.internal.token.DisplayGroupToken, .DisplayGroupToken.Type, de.undercouch.citeproc.helper.NodeHelper, org.w3c.dom.Node, java.util.function.Consumer

Wraps around a render function and adds display group tokens
Author
Michel Kraemer

Field Summary

Modifier and TypeField and Description
private final DisplayGroupToken.Type

Constructor Summary

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

Parses an XML node and determines if display group tokens should be added

Method Summary

Modifier and TypeMethod and Description
public void
accept(Consumer<RenderContext> renderFunction, RenderContext ctx)

Implements java.util.function.BiConsumer.accept.

Performs this operation on the given arguments.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

typeback to summary
private final DisplayGroupToken.Type type

Constructor Detail

Displayback to summary
public Display(Node node)

Parses an XML node and determines if display group tokens should be added

Parameters
node:Node

the XML node

Method Detail

acceptback to summary
public void accept(Consumer<RenderContext> renderFunction, RenderContext ctx)

Implements java.util.function.BiConsumer.accept.

Doc from java.util.function.BiConsumer.accept.

Performs this operation on the given arguments.

Annotations
@Override