|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wookie.w3c.updates.UpdateDescriptionDocument
public class UpdateDescriptionDocument
An update description document (UDD) as defined at http://www.w3.org/TR/widgets-updates
| Constructor Summary | |
|---|---|
UpdateDescriptionDocument(java.lang.String href)
Load a UDD from a URL |
|
UpdateDescriptionDocument(java.lang.String details,
java.net.URL updateSource,
java.lang.String versionTag)
Manually construct a document. |
|
| Method Summary | |
|---|---|
void |
fromXML(org.jdom.Document document)
Parse a UDD from XML |
java.lang.String |
getDetails(java.lang.String locale)
Get the details of the update, typically a short description of any new features. |
java.net.URL |
getUpdateSource()
Get the URL for the updated widget |
java.lang.String |
getVersionTag()
Get the version tag for the update |
org.jdom.Element |
toXml()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UpdateDescriptionDocument(java.lang.String details,
java.net.URL updateSource,
java.lang.String versionTag)
details - updateSource - versionTag -
public UpdateDescriptionDocument(java.lang.String href)
throws InvalidUDDException
href - the URL to load the UDD from
InvalidUDDException - if the UDD cannot be found, or is not valid| Method Detail |
|---|
public java.lang.String getDetails(java.lang.String locale)
locale - the preferred locale for the details
public java.net.URL getUpdateSource()
public java.lang.String getVersionTag()
public void fromXML(org.jdom.Document document)
throws InvalidUDDException
document - the XML document to parse
InvalidUDDException - if the document is not a valid UDDpublic org.jdom.Element toXml()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||