* the prefix and suffix can be added to the normal size but the
* jsessionid cost must be added to shared size
*/
SessionIdentifierSearcher searcher
= SessionIdentifierSearcherFactory.create();
SessionIdentifierURL splitURL
= searcher.getJSessionId(dopaque.getString());
// Add the part of the url before the jsessionid as an inline string
StringFactory strings = outputReferences.getStringFactory();
WBSAXString prefix = strings.create(splitURL.getPrefix());
visitString(prefix);
// If present, add jsessionid to the string table
if (splitURL.hasJsessionid()) {
StringReference jsessionid
= outputReferences.createReference(splitURL.getJsessionid());
visitReference(jsessionid);
}
// If present, add the part of the url after the jsessionid as an
// inline string
if (splitURL.hasSuffix()) {
WBSAXString suffix = strings.create(splitURL.getSuffix());
visitString(suffix);
}
}