Catalog catalog) throws IOException, ParserConfigurationException,
SAXException {
X3DInfoExtract x3dInfoExtract = new X3DInfoExtract(catalog, false);
x3dInfoExtract.setLayerInfo(layer.getLayerInfo());
if (!styleName.isEmpty()) {
if (x3dInfoExtract.containsStyle(styleName)) {
StyleInfo styleInfo = catalog.getStyleByName(styleName);
if (styleInfo != null) {
layer.setRequestStyle(styleInfo);
return;
}