org.apache.shindig.gadgets.spec
Class ApplicationManifest
java.lang.Object
org.apache.shindig.gadgets.spec.ApplicationManifest
public class ApplicationManifest
- extends Object
Represents an opensocial application manifest.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMESPACE
public static final String NAMESPACE
- See Also:
- Constant Field Values
ApplicationManifest
public ApplicationManifest(Uri uri,
Element xml)
throws SpecParserException
- Throws:
SpecParserException
getUri
public Uri getUri()
- Returns:
- The URI of this manifest.
getGadget
public Uri getGadget(String version)
- Returns:
- The gadget specified for the version string, or null if the version doesn't exist.
getVersion
public String getVersion(String label)
- Returns:
- The version of the gadget for the given label, or null if the label is unsupported.
Copyright © 2007-2012. All Rights Reserved.