public class NamedStyleImpl extends StyleImpl implements NamedStyle
A NamedStyle is a Style that has only Name, so all setters other than setName will throw an
UnsupportedOperationException
Constructor and Description |
---|
NamedStyleImpl() |
Modifier and Type | Method and Description |
---|---|
Object |
accept(StyleVisitor visitor,
Object data)
DOCUMENT ME!
|
void |
addFeatureTypeStyle(FeatureTypeStyle type)
DOCUMENT ME!
|
String |
getAbstract()
DOCUMENT ME!
|
FeatureTypeStyle[] |
getFeatureTypeStyles()
DOCUMENT ME!
|
String |
getName()
Style name
|
String |
getTitle()
Human readable title.
|
boolean |
isDefault()
DOCUMENT ME!
|
void |
setAbstract(String abstractStr)
DOCUMENT ME!
|
void |
setDefault(boolean isDefault)
DOCUMENT ME!
|
void |
setFeatureTypeStyles(FeatureTypeStyle[] types)
DOCUMENT ME!
|
void |
setName(String name)
Set name.
|
void |
setTitle(String title)
Human readable title.
|
accept, addFeatureTypeStyle, clone, equals, featureTypeStyles, getDefaultSpecification, getDescription, hashCode, setDefaultSpecification, setDescription, setFeatureTypeStyles, toString
accept, addFeatureTypeStyle, featureTypeStyles, getDefaultSpecification, getDescription, setDefaultSpecification, setFeatureTypeStyles
public String getName()
public void setName(String name)
public String getTitle()
public void setTitle(String title)
setTitle
in class StyleImpl
title
- Human readable title.UnsupportedOperationException
- Cannot be changedpublic String getAbstract()
getAbstract
in class StyleImpl
public void setAbstract(String abstractStr)
setAbstract
in class StyleImpl
abstractStr
- DOCUMENT ME!UnsupportedOperationException
- DOCUMENT ME!public boolean isDefault()
public void setDefault(boolean isDefault)
setDefault
in class StyleImpl
isDefault
- DOCUMENT ME!UnsupportedOperationException
- DOCUMENT ME!public FeatureTypeStyle[] getFeatureTypeStyles()
getFeatureTypeStyles
in class StyleImpl
public void setFeatureTypeStyles(FeatureTypeStyle[] types)
types
- DOCUMENT ME!UnsupportedOperationException
- DOCUMENT ME!public void addFeatureTypeStyle(FeatureTypeStyle type)
type
- DOCUMENT ME!UnsupportedOperationException
- DOCUMENT ME!Copyright © 1996–2019 Geotools. All rights reserved.