SessionIdentifierSearcher searcher
= SessionIdentifierSearcherFactory.create();
SessionIdentifierURL splitURL
= searcher.getJSessionId(dopaque.getString());
StringFactory strings = inputReferences.getStringFactory();
// Add the part of the url before the jsessionid as an inline string
WBSAXString prefix = strings.create(splitURL.getPrefix());
visitString(prefix);
// If present, add jsessionid to the string table
if (splitURL.hasJsessionid()) {
StringReference jsessionid
= inputReferences.getReference(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);
}
}