Writer enc = new EncodingWriter(out, getCharacterEncoder());
producer = new WMLProducer(out, enc);
}
SerialisationURLListener urlListener = null;
final PackageResources pr = appContext.getPackageResources();
if (pr != null) {
// Force the packager to understand that only a subset of
// assets are likely to be included in the response
pr.initializeEncodedURLs();
urlListener = new SerialisationURLListener() {
public void foundURL(String url) {
pr.addEncodedURLCandidate(url);
}
};
}
WMLRootConfiguration wmlConfiguration = (WMLRootConfiguration)