org.dvb.dom.inner
Class HTMLApplication

java.lang.Object
  |
  +--org.dvb.application.inner.InnerApplication
        |
        +--org.dvb.dom.inner.HTMLApplication

public class HTMLApplication
extends InnerApplication

Encapsulates the information needed to define a DVB-HTML application.


Constructor Summary
HTMLApplication(java.net.URL physicalRoot, java.lang.String initialPathBytes, java.lang.String parameters)
          Constructor for instances of the class.
HTMLApplication(java.net.URL physicalRoot, java.lang.String initialPathBytes, java.lang.String parameters, java.lang.String[] label, java.lang.String[] regex)
          Constructor for instances of the class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLApplication

public HTMLApplication(java.net.URL physicalRoot,
                       java.lang.String initialPathBytes,
                       java.lang.String parameters)
Constructor for instances of the class. The semantics of these shall be as defined in the main body of this specification for the equivalent information when provided through an AIT.
Parameters:
physicalRoot - the physical root of the application entry point.
initialPathBytes - a string specifying the URL path component to the entry point document. This path is relative to the root defined in the physicalRoots parameter.
parameters - the string that is appended to the application initial path as parameters

HTMLApplication

public HTMLApplication(java.net.URL physicalRoot,
                       java.lang.String initialPathBytes,
                       java.lang.String parameters,
                       java.lang.String[] label,
                       java.lang.String[] regex)
Constructor for instances of the class. The semantics of these shall be as defined in the main body of this specification for the equivalent information when provided through an AIT.
Parameters:
physicalRoot - the physical root of the application entry point.
initialPathBytes - a string specifying the URL path component to the entry point document. This path is relative to the root defined in the physicalRoots parameter.
parameters - the string that is appended to the application initial path as parameters
label - an aarry of one or more strings specifying a label that is associated with the set of data identified by the regular expression. This label can be used for pre-fetching in a transport specific manner.
regex - an array of one or more strings specifying a regular expressions that can generate all URLs that are in the domain of the application.
Throws:
java.lang.IllegalArgumentException - if either the regex or label parameters are an array of length zero or if the lengths of these two arrays are not the same