-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make SLDVisitor implement org.geotools.styling.StyleVisitor
- Loading branch information
1 parent
c192a1d
commit 75d9c6c
Showing
10 changed files
with
276 additions
and
234 deletions.
There are no files selected for viewing
270 changes: 162 additions & 108 deletions
270
...ava/org/geoserver/catalog/SLDVisitor.java → ...eoserver/catalog/GeoServerSLDVisitor.java
Large diffs are not rendered by default.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
src/main/src/main/java/org/geoserver/catalog/GeoServerSLDVisitorAdapter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package org.geoserver.catalog; | ||
|
||
import org.geotools.styling.NamedStyle; | ||
import org.geotools.styling.Style; | ||
import org.geotools.styling.StyledLayer; | ||
import org.geotools.styling.UserLayer; | ||
import org.opengis.referencing.crs.CoordinateReferenceSystem; | ||
|
||
/** | ||
* Adapter implementation of {@link GeoServerSLDVisitor} | ||
*/ | ||
public abstract class GeoServerSLDVisitorAdapter extends GeoServerSLDVisitor { | ||
public GeoServerSLDVisitorAdapter(Catalog catalog, CoordinateReferenceSystem fallbackCrs) { | ||
super(catalog, fallbackCrs); | ||
} | ||
|
||
@Override | ||
public PublishedInfo visitNamedLayerInternal(StyledLayer namedLayer) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public void visitUserLayerRemoteOWS(UserLayer userLayer) { | ||
|
||
} | ||
|
||
@Override | ||
public void visitUserLayerInlineFeature(UserLayer userLayer) { | ||
|
||
} | ||
|
||
@Override | ||
public StyleInfo visitNamedStyleInternal(NamedStyle namedStyle) { | ||
return null; | ||
} | ||
|
||
@Override | ||
public void visitUserStyleInternal(Style userStyle) { | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 0 additions & 44 deletions
44
src/main/src/main/java/org/geoserver/catalog/SLDVisitorAdapter.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.