ecologylab.xml.library.jnlp
Class JnlpState
java.lang.Object
ecologylab.generic.Debug
ecologylab.xml.ElementState
ecologylab.xml.library.jnlp.JnlpState
- All Implemented Interfaces:
- FieldTypes, XMLTranslationExceptionTypes, java.lang.Cloneable
public class JnlpState
- extends ElementState
- implements java.lang.Cloneable
Parses JNLP files for Java web launch.
Field comments from:
http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.html
- Author:
- Zachary O. Toups (toupsz@cs.tamu.edu)
| Nested classes/interfaces inherited from class ecologylab.xml.ElementState |
ElementState.DeclarationStyle, ElementState.xml_attribute, ElementState.xml_bind_from, ElementState.xml_bind_to, ElementState.xml_class, ElementState.xml_classes, ElementState.xml_collection, ElementState.xml_format, ElementState.xml_leaf, ElementState.xml_map, ElementState.xml_nested, ElementState.xml_nowrap, ElementState.xml_other_tags, ElementState.xml_scope, ElementState.xml_tag, ElementState.xml_text |
| Fields inherited from interface ecologylab.xml.FieldTypes |
ATTRIBUTE, AWFUL_OLD_NESTED_ELEMENT, BAD_FIELD, COLLECTION_ELEMENT, COLLECTION_SCALAR, IGNORED_ATTRIBUTE, IGNORED_ELEMENT, LEAF, MAP_ELEMENT, MAP_SCALAR, NAME_SPACE_ATTRIBUTE, NAME_SPACE_LEAF_NODE, NAME_SPACE_MASK, NAME_SPACE_NESTED_ELEMENT, NAMESPACE_IGNORED_ELEMENT, NAMESPACE_TRIAL_ELEMENT, NESTED_ELEMENT, PSEUDO_FIELD_DESCRIPTOR, ROOT, TEXT_ELEMENT, TEXT_NODE_VALUE, UNSET_TYPE, WRAPPER, XMLNS_ATTRIBUTE, XMLNS_IGNORED |
|
Constructor Summary |
JnlpState()
No-arg constructor for XML translation. |
| Methods inherited from class ecologylab.xml.ElementState |
buildDOM, buildDOM, buildDOM, buildDOM, buildDOM, buildDOMFromXMLCharSequence, buildDOMFromXMLString, checkAnnotation, classDescriptor, createParentDirs, getChildFieldAccessors, getElementStateById, getFieldDescriptors, getNestedNameSpace, getTextNodeString, hasScalarTextField, lookupNestedNameSpace, parent, recycle, setDeclarationStyle, setParent, setUseDOMForTranslateTo, translateFromXML, translateFromXML, translateFromXML, translateFromXML, translateFromXML, translateFromXMLCharSequence, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOM, translateFromXMLDOMCharSequence, translateFromXMLDOMCharSequence, translateFromXMLRootNode, translateFromXMLSAX, translateFromXMLSAX, translateFromXMLSAX, translateFromXMLSAX, translateFromXMLSAX, translateToDOM, translateToXML, translateToXML, translateToXML, translateToXML, writePrettyXML, writePrettyXML, writePrettyXML |
| Methods inherited from class ecologylab.generic.Debug |
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
JnlpState
public JnlpState()
- No-arg constructor for XML translation.
getAppletDesc
public AppletDesc getAppletDesc()
- Returns:
- the applet description, if any (returns null if there is not one)
setAppletDesc
public void setAppletDesc(AppletDesc appletDesc)
- Sets the applet description and clears the application description (since
there can only be one or the other) and any previous applet descriptions.
- Parameters:
appletDesc - the appletDesc to set
getApplicationDesc
public ApplicationDesc getApplicationDesc()
- Returns:
- the application description, if any (returns null if there is not
one)
setApplicationDesc
public void setApplicationDesc(ApplicationDesc applicationDesc)
- Sets the application description and clears the applet description (since
there can only be one or the other) and any previous application
descriptions.
- Parameters:
applicationDesc - the applicationDesc to set
getHref
public java.lang.String getHref()
- Returns:
- the href
setHref
public void setHref(java.lang.String href)
- Parameters:
href - the href to set
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
main
public static void main(java.lang.String[] args)
throws XMLTranslationException
- Throws:
XMLTranslationException
setCodebase
public void setCodebase(java.lang.String codebase)
- Parameters:
codebase - the codebase to set
clone
public JnlpState clone()
- Overrides:
clone in class java.lang.Object
- See Also:
ecologylab.xml.types.element.ArrayListState#clone()
getInformations
public java.util.ArrayList<InformationElement> getInformations()