net.sf.saxon.style

Class XSLCharacterMap

public class XSLCharacterMap extends StyleElement

An xsl:character-map declaration in the stylesheet.
Field Summary
ListcharacterMapElements
booleanredundant
Stringuse
booleanvalidated
Method Summary
voidassemble(IntHashMap map)
Assemble all the mappings defined by this character map, adding them to a HashMap that maps integer codepoints to strings
Expressioncompile(Executable exec)
intgetCharacterMapFingerprint()
Get the fingerprint of the name of this character map
booleanisRedundant()
Test whether this character map is redundant (because another with the same name has higher import precedence).
voidprepareAttributes()
Validate the attributes on this instruction
voidvalidate()

Field Detail

characterMapElements

List characterMapElements

redundant

boolean redundant

use

String use

validated

boolean validated

Method Detail

assemble

public void assemble(IntHashMap map)
Assemble all the mappings defined by this character map, adding them to a HashMap that maps integer codepoints to strings

compile

public Expression compile(Executable exec)

getCharacterMapFingerprint

public int getCharacterMapFingerprint()
Get the fingerprint of the name of this character map

Returns: the fingerprint value

isRedundant

public boolean isRedundant()
Test whether this character map is redundant (because another with the same name has higher import precedence). Note that a character map is not considered redundant simply because it is not referenced in an xsl:output declaration; we allow character-maps to be selected at run-time using the setOutputProperty() API.

prepareAttributes

public void prepareAttributes()
Validate the attributes on this instruction

Throws: XPathException

validate

public void validate()