Package org.geotools.styling
Class DescriptionImpl
- Object
-
- DescriptionImpl
-
- All Implemented Interfaces:
Description
public class DescriptionImpl extends Object implements Description
-
-
Constructor Summary
Constructors Constructor Description DescriptionImpl()
DescriptionImpl(String title, String description)
DescriptionImpl(Description description)
Copy constructor.DescriptionImpl(InternationalString title, InternationalString description)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(StyleVisitor visitor)
calls the visit method of a StyleVisitorObject
accept(TraversingStyleVisitor visitor, Object extraData)
calls the visit method of a StyleVisitorboolean
equals(Object obj)
InternationalString
getAbstract()
Human readable description.InternationalString
getTitle()
Human readable title.int
hashCode()
void
setAbstract(String description)
Define description in the current locale.void
setAbstract(InternationalString description)
void
setTitle(String title)
Define title using the current locale.void
setTitle(InternationalString title)
-
-
-
Constructor Detail
-
DescriptionImpl
public DescriptionImpl()
-
DescriptionImpl
public DescriptionImpl(InternationalString title, InternationalString description)
-
DescriptionImpl
public DescriptionImpl(Description description)
Copy constructor.
-
-
Method Detail
-
getTitle
public InternationalString getTitle()
Description copied from interface:Description
Human readable title.- Specified by:
getTitle
in interfaceDescription
- Returns:
- the human readable title.
-
setTitle
public void setTitle(InternationalString title)
- Specified by:
setTitle
in interfaceDescription
-
setTitle
public void setTitle(String title)
Description copied from interface:Description
Define title using the current locale.- Specified by:
setTitle
in interfaceDescription
-
getAbstract
public InternationalString getAbstract()
Description copied from interface:Description
Human readable description.- Specified by:
getAbstract
in interfaceDescription
-
setAbstract
public void setAbstract(InternationalString description)
- Specified by:
setAbstract
in interfaceDescription
-
setAbstract
public void setAbstract(String description)
Description copied from interface:Description
Define description in the current locale.- Specified by:
setAbstract
in interfaceDescription
- Parameters:
description
- Abstract providing summary of contents
-
accept
public Object accept(TraversingStyleVisitor visitor, Object extraData)
Description copied from interface:Description
calls the visit method of a StyleVisitor- Specified by:
accept
in interfaceDescription
- Parameters:
visitor
- the style visitor
-
accept
public void accept(StyleVisitor visitor)
Description copied from interface:Description
calls the visit method of a StyleVisitor- Specified by:
accept
in interfaceDescription
- Parameters:
visitor
- the style visitor
-
-