public class DBProfileSet extends XSLTProfileSet
ALLOW_MULTIPLE_VALUES_ATTR, ATTRIBUTE_ELEM, attributes, ATTRIBUTES_ELEM, CLASS_ATTR, DESCRIPTION_ELEM, hasStyles, IMPLEMENTATION_ATTR, NAME_ATTR, NO_IMPLEMENTATIONS, prefixEntries, PROFILE_ELEM, profiles, PROFILES_ELEM, PROFILING_NS, SELECTED_PROFILE_STYLE_ATTR, selectedProfileStyle, STYLE_ATTR, UNSELECTED_PROFILE_STYLE_ATTR, unselectedProfileStyle, USE_TO_FLAG_ATTR, VALUE_ELEM, VALUE_SEPARATOR_ATTR
Constructor and Description |
---|
DBProfileSet(AttributeDefinitions attributes,
Profile[] profiles,
String selectedProfileStyle,
String unselectedProfileStyle,
PrefixEntry[] prefixEntries) |
Modifier and Type | Method and Description |
---|---|
char |
getDefaultSeparator()
Returns the character used by default to join multiple values for a given
profiling attribute.
|
protected String |
getNameParameterFormat()
The
format string used to build
the name of the XSLT stylesheet parameter specifying the name of
a conditional processing attribute other than a predefined one. |
protected String |
getParameterFormat()
The
format string used to convert
the local name of a predefined conditional processing attribute
to the name of an XSLT stylesheet parameter. |
protected String[] |
getProfilingAttributeNames()
Returns the local names of predefined conditional processing attributes.
|
protected String |
getValueParameterFormat()
The
format string used to build
the name of the XSLT stylesheet parameter specifying the value of
a conditional processing attribute other than a predefined one. |
addParameters, createDocument, doCreateImplementations, formatParameter, formatParameter, separator
createImplementations, fromDocument, getAttributeDefinition, getProfile, load, load, loadDocument, save, saveDocument, toDocument
public DBProfileSet(AttributeDefinitions attributes, Profile[] profiles, String selectedProfileStyle, String unselectedProfileStyle, PrefixEntry[] prefixEntries)
public char getDefaultSeparator()
ProfileSet
The default implementation of this method returns a space character.
getDefaultSeparator
in class ProfileSet
protected String[] getProfilingAttributeNames()
XSLTProfileSet
null
, which means: no predefined
conditional processing attributes, any attribute may be used
to implement conditional processing.
DocBook example: { "arch", "audience", ..., "wordsize" }
.
getProfilingAttributeNames
in class XSLTProfileSet
protected String getParameterFormat()
XSLTProfileSet
format string
used to convert
the local name of a predefined conditional processing attribute
to the name of an XSLT stylesheet parameter.
This format may be null
if there are no predefined
conditional processing attributes. Otherwise it must contain variable
"%s".
DocBook example: "profile.%s".
getParameterFormat
in class XSLTProfileSet
protected String getNameParameterFormat()
XSLTProfileSet
format string
used to build
the name of the XSLT stylesheet parameter specifying the name of
a conditional processing attribute other than a predefined one.
This format may be null
if there are no
conditional processing attributes other than the predefined ones.
Otherwise it may contain variable "%d".
Variable "%d" is substituted with the index of the conditional processing attribute: first conditional processing attribute is given index 1, second conditional processing attribute is given index 2, and so forth.
DocBook example: "profile.attribute" (no "%d" here because DocBook supports only a single conditional processing attribute other than the predefined ones).
getNameParameterFormat
in class XSLTProfileSet
XSLTProfileSet.getValueParameterFormat()
protected String getValueParameterFormat()
XSLTProfileSet
format string
used to build
the name of the XSLT stylesheet parameter specifying the value of
a conditional processing attribute other than a predefined one.
This format may be null
if there are no
conditional processing attributes other than the predefined ones.
Otherwise it may contain variable "%d".
Variable "%d" is substituted with the index of the conditional processing attribute: first conditional processing attribute is given index 1, second conditional processing attribute is given index 2, and so forth.
DocBook example: "profile.value" (no "%d" here because DocBook supports only a single conditional processing attribute other than the predefined ones).
getValueParameterFormat
in class XSLTProfileSet
XSLTProfileSet.getNameParameterFormat()