com.webhiker.dreambox.api.epg
Class EPG

java.lang.Object
  extended by com.webhiker.dreambox.api.epg.EPG

public class EPG
extends java.lang.Object

The Class EPG holds information about the currently showing channels EPG data.


Constructor Summary
EPG(java.io.InputStream is)
          Instantiates a new ePG.
 
Method Summary
 java.util.List<Event> getEvents()
          Gets the events.
 java.lang.String getServiceName()
          Gets the service name.
 java.lang.String getServiceReference()
          Gets the service reference.
 void setServiceName(java.lang.String serviceName)
          Sets the service name.
 void setServiceReference(java.lang.String serviceReference)
          Sets the service reference.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPG

public EPG(java.io.InputStream is)
    throws org.xml.sax.SAXException,
           java.io.IOException,
           javax.xml.parsers.ParserConfigurationException
Instantiates a new ePG.

Parameters:
is - the is
Throws:
org.xml.sax.SAXException - the SAX exception
java.io.IOException - Signals that an I/O exception has occurred.
javax.xml.parsers.ParserConfigurationException - the parser configuration exception
Method Detail

getServiceName

public java.lang.String getServiceName()
Gets the service name.

Returns:
the service name

setServiceName

public void setServiceName(java.lang.String serviceName)
Sets the service name.

Parameters:
serviceName - the new service name

getServiceReference

public java.lang.String getServiceReference()
Gets the service reference.

Returns:
the service reference

setServiceReference

public void setServiceReference(java.lang.String serviceReference)
Sets the service reference.

Parameters:
serviceReference - the new service reference

getEvents

public java.util.List<Event> getEvents()
Gets the events.

Returns:
the events