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

public Class SKey

extends Object
implements SRenderingElement
Class Inheritance
All Implemented Interfaces
de.undercouch.citeproc.csl.internal.rendering.SRenderingElement, de.undercouch.citeproc.csl.internal.SElement
Imports
de.undercouch.citeproc.csl.internal.rendering.SRenderingElement, de.undercouch.citeproc.helper.NodeHelper, org.w3c.dom.Node

A sort key inside a sort element
Author
Michel Kraemer

Field Summary

Modifier and TypeField and Description
private final String
private final int
private final String

Constructor Summary

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

Creates the key from an XML node

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the sort direction (1 for ascending and -1 for descending)
getSort
()

Get the sort direction

public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

macroback to summary
private final String macro
sortback to summary
private final int sort
variableback to summary
private final String variable

Constructor Detail

SKeyback to summary
public SKey(Node node)

Creates the key from an XML node

Parameters
node:Node

the XML node

Method Detail

getSortback to summary
public int getSort()

Get the sort direction

Returns:int

the sort direction (1 for ascending and -1 for descending)

renderback to summary
public void render(RenderContext ctx)

Implements de.undercouch.citeproc.csl.internal.SElement.render.

Doc from de.undercouch.citeproc.csl.internal.SElement.render.

Renders the element

Annotations
@Override