org.geotools.styling
Class DescriptionImpl

Object
  extended by DescriptionImpl
All Implemented Interfaces:
Description

public class DescriptionImpl
extends Object
implements Description


Constructor Summary
DescriptionImpl()
           
DescriptionImpl(Description description)
          Copy constructor.
DescriptionImpl(InternationalString title, InternationalString description)
           
DescriptionImpl(String title, String description)
           
 
Method Summary
 void accept(StyleVisitor visitor)
          calls the visit method of a StyleVisitor
 Object accept(StyleVisitor visitor, Object extraData)
          calls the visit method of a StyleVisitor
 boolean equals(Object obj)
           
 InternationalString getAbstract()
          Human readable description.
 InternationalString getTitle()
          Human readable title.
 int hashCode()
           
 void setAbstract(InternationalString description)
           
 void setAbstract(String title)
          Define description in the current locale.
 void setTitle(InternationalString title)
           
 void setTitle(String title)
          Define title using the current locale.
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescriptionImpl

public DescriptionImpl()

DescriptionImpl

public DescriptionImpl(String title,
                       String description)

DescriptionImpl

public DescriptionImpl(InternationalString title,
                       InternationalString description)

DescriptionImpl

public DescriptionImpl(Description description)
Copy constructor.

Parameters:
description -
Method Detail

getTitle

public InternationalString getTitle()
Description copied from interface: Description
Human readable title.

Specified by:
getTitle in interface Description
Returns:
the human readable title.

setTitle

public void setTitle(InternationalString title)

setTitle

public void setTitle(String title)
Description copied from interface: Description
Define title using the current locale.


getAbstract

public InternationalString getAbstract()
Description copied from interface: Description
Human readable description.

Specified by:
getAbstract in interface Description
Returns:
a human readable, prose description of this style.

setAbstract

public void setAbstract(InternationalString description)

setAbstract

public void setAbstract(String title)
Description copied from interface: Description
Define description in the current locale.

Parameters:
title - Abstract providing summary of contents

accept

public Object accept(StyleVisitor visitor,
                     Object extraData)
Description copied from interface: Description
calls the visit method of a StyleVisitor

Specified by:
accept in interface Description
Parameters:
visitor - the style visitor

accept

public void accept(StyleVisitor visitor)
Description copied from interface: Description
calls the visit method of a StyleVisitor

Parameters:
visitor - the style visitor

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 1996-2014 Geotools. All Rights Reserved.