cfa.vo.iris.interop
Class SedMessage

java.lang.Object
  extended by cfa.vo.iris.interop.SedMessage
All Implemented Interfaces:
cfa.vo.interop.SAMPMessage

public final class SedMessage
extends Object
implements cfa.vo.interop.SAMPMessage

This class abstract a Sed Message, i.e. a SAMP message that contains a reference to a Sed document. This class has two constructors

Author:
olaurino

Field Summary
static String MTYPE
           
 
Constructor Summary
SedMessage(org.astrogrid.samp.Message message)
           
SedMessage(String sedId, URL url)
           
 
Method Summary
 org.astrogrid.samp.Message get()
           
 cfa.vo.sedlib.Sed getSed()
           
 String getSedId()
           
 URL getUrl()
           
 void setSedId(String sedId)
           
 void setUrl(URL url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MTYPE

public static final String MTYPE
See Also:
Constant Field Values
Constructor Detail

SedMessage

public SedMessage(org.astrogrid.samp.Message message)
           throws org.astrogrid.samp.client.SampException
Parameters:
message -
Throws:
org.astrogrid.samp.client.SampException

SedMessage

public SedMessage(String sedId,
                  URL url)
Parameters:
sedId -
url -
format -
Method Detail

getSed

public cfa.vo.sedlib.Sed getSed()
                         throws cfa.vo.sedlib.common.SedException,
                                IOException
Returns:
Throws:
cfa.vo.sedlib.common.SedException
IOException

get

public org.astrogrid.samp.Message get()
Specified by:
get in interface cfa.vo.interop.SAMPMessage

getSedId

public String getSedId()
Returns:

setSedId

public void setSedId(String sedId)
Parameters:
sedId -

getUrl

public URL getUrl()
Returns:

setUrl

public void setUrl(URL url)
Parameters:
url -


Copyright © 2013. All rights reserved.