|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.clients.context.Layer
encapsulates about a layer described/contained by a Web Map Context
Field Summary | |
private java.lang.String |
abstract_
|
private BaseURL |
dataURL
|
private Marshallable |
extension
|
private FormatList |
formatList
|
private boolean |
hidden
|
private BaseURL |
metadataURL
|
private java.lang.String |
name
|
private boolean |
queryable
|
private Server |
server
|
private java.lang.String[] |
srs
|
private StyleList |
styleList
|
private java.lang.String |
title
|
Constructor Summary | |
Layer(Server server,
java.lang.String name,
java.lang.String title,
java.lang.String abstract_,
java.lang.String[] srs,
BaseURL dataURL,
BaseURL metadataURL,
FormatList formatList,
StyleList styleList,
boolean queryable,
boolean hidden,
Marshallable extension)
Creates a new ContextLayer object. |
Method Summary | |
java.lang.String |
exportAsXML()
returns a XML-representation of the Layer |
java.lang.String |
getAbstract()
The abstract of the selected layer (extracted from Capabilities by the Context document creator). |
BaseURL |
getDataURL()
This element contains a link to an online resource where data corresponding to the layer can be found. |
Marshallable |
getExtension()
The Extension element is a container tag in which arbitrary vendor specific information can be included without compromising the ability of other clients to enforce schema validation. |
FormatList |
getFormatList()
The parent element containing the list of available image format for this layer. |
BaseURL |
getMetadataURL()
This element contains a link to an online resource where descriptive metadata corresponding to the layer can be found. |
java.lang.String |
getName()
The name of the selected layer (extracted from Capabilities by the Context document creator). |
Server |
getServer()
The element defining the service from which the named Layer may be requested |
java.lang.String[] |
getSrs()
A list of available SRS for the enclosing layer. |
StyleList |
getStyleList()
The parent element containing the list of available styles for this layer. |
java.lang.String |
getTitle()
The title of the selected layer (extracted from Capabilities by the Context document creator). |
boolean |
isHidden()
returns true if the layer is not visible in the current view |
boolean |
isQueryable()
returns true if the layer can be queried with a GetFeatureInfo request |
void |
setAbstract(java.lang.String abstract_)
|
void |
setDataURL(BaseURL dataURL)
|
void |
setExtension(Marshallable extension)
|
void |
setFormatList(FormatList formatList)
|
void |
setHidden(boolean hidden)
|
void |
setMetadataURL(BaseURL metadataURL)
|
void |
setName(java.lang.String name)
|
void |
setQueryable(boolean queryable)
|
void |
setServer(Server server)
|
void |
setSrs(java.lang.String[] srs)
|
void |
setStyleList(StyleList styleList)
|
void |
setTitle(java.lang.String title)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private BaseURL dataURL
private BaseURL metadataURL
private FormatList formatList
private Marshallable extension
private Server server
private java.lang.String abstract_
private java.lang.String name
private java.lang.String title
private StyleList styleList
private java.lang.String[] srs
private boolean hidden
private boolean queryable
Constructor Detail |
public Layer(Server server, java.lang.String name, java.lang.String title, java.lang.String abstract_, java.lang.String[] srs, BaseURL dataURL, BaseURL metadataURL, FormatList formatList, StyleList styleList, boolean queryable, boolean hidden, Marshallable extension) throws ContextException
server
- service from which the named Layer may be requestedname
- name of the selected layer (title
- title of the selected layer (abstract_
- abstract of the selected layer (srs
- list of available SRS for the enclosing layer.dataURL
- contains a link to an online resource where data corresponding
to the layer can be found.metadataURL
- contains a link to an online resource where descriptive
metadata corresponding to the layer can be found.formatList
- parent element containing the list of available image
format for this layer.styleList
- parent element containing the list of available styles
for this layer.extension
- container tag in which arbitrary vendor specific information
can be included
ContextException
Method Detail |
public Server getServer()
public java.lang.String getName()
public java.lang.String getTitle()
public java.lang.String getAbstract()
public java.lang.String[] getSrs()
public BaseURL getDataURL()
public BaseURL getMetadataURL()
public FormatList getFormatList()
public StyleList getStyleList()
public Marshallable getExtension()
public boolean isQueryable()
public boolean isHidden()
public void setServer(Server server) throws ContextException
server
-
ContextException
public void setName(java.lang.String name) throws ContextException
name
-
ContextException
public void setTitle(java.lang.String title) throws ContextException
title
-
ContextException
public void setAbstract(java.lang.String abstract_)
abstract_
- public void setSrs(java.lang.String[] srs)
srs
- public void setDataURL(BaseURL dataURL)
dataURL
- public void setMetadataURL(BaseURL metadataURL)
metadataURL
- public void setFormatList(FormatList formatList)
formatList
- public void setStyleList(StyleList styleList)
styleList
- public void setQueryable(boolean queryable)
queryable
- public void setHidden(boolean hidden)
hidden
- public void setExtension(Marshallable extension)
extension
- public java.lang.String exportAsXML()
exportAsXML
in interface Marshallable
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |