| Package | Description |
|---|---|
| org.apache.wookie.w3c | |
| org.apache.wookie.w3c.exceptions | |
| org.apache.wookie.w3c.impl | |
| org.apache.wookie.w3c.updates | |
| org.apache.wookie.w3c.xml |
| Modifier and Type | Method and Description |
|---|---|
W3CWidget |
W3CWidgetFactory.parse(java.io.File zipFile)
Parse a given ZipFile and return a W3CWidget object representing the processed information in the package.
|
W3CWidget |
W3CWidgetFactory.parse(java.io.File zipFile,
java.lang.String defaultIdentifier)
Parse a given ZipFile and return a W3CWidget object representing the processed information in the package.
|
W3CWidget |
W3CWidgetFactory.parse(java.net.URL url)
Parse a widget at a given URL and return a W3CWidget object representing the processed information in the package.
|
W3CWidget |
W3CWidgetFactory.parse(java.net.URL url,
boolean ignoreContentType)
Parse a widget at a given URL and return a W3CWidget object representing the processed information in the package.
|
W3CWidget |
W3CWidgetFactory.parse(java.net.URL url,
boolean ignoreContentType,
java.lang.String defaultIdentifier)
Parse a widget at a given URL and return a W3CWidget object representing the processed information in the package.
|
| Modifier and Type | Class and Description |
|---|---|
class |
InvalidContentTypeException
Thrown when a widget manifest sets an invalid content type
|
class |
InvalidStartFileException
Thrown when a widget has no valid start file
|
| Modifier and Type | Method and Description |
|---|---|
void |
PreferenceEntity.fromXML(org.jdom.Element element) |
void |
ParamEntity.fromXML(org.jdom.Element element) |
void |
FeatureEntity.fromXML(org.jdom.Element element) |
void |
WidgetManifestModel.fromXML(org.jdom.Element element,
java.lang.String[] locales) |
void |
ContentEntity.fromXML(org.jdom.Element element,
java.lang.String[] locales,
java.lang.String[] encodings,
org.apache.commons.compress.archivers.zip.ZipFile zip) |
void |
IconEntity.fromXML(org.jdom.Element element,
java.lang.String[] locales,
org.apache.commons.compress.archivers.zip.ZipFile zip) |
| Constructor and Description |
|---|
WidgetManifestModel(java.lang.String xmlText,
java.lang.String[] locales,
java.lang.String[] features,
java.lang.String[] encodings,
org.apache.commons.compress.archivers.zip.ZipFile zip,
java.lang.String defaultIdentifier)
Constructs a new WidgetManifestModel using an XML manifest supplied as a String.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UpdateDescription.fromXML(org.jdom.Element element) |
static W3CWidget |
UpdateUtils.getUpdate(W3CWidgetFactory factory,
java.lang.String identifier,
java.lang.String href,
java.lang.String version,
boolean onlyUseHttps)
Gets the latest version of a widget
|
| Modifier and Type | Method and Description |
|---|---|
void |
IElement.fromXML(org.jdom.Element element)
Unmarshall the given XML Element to this Object
|
void |
IContentEntity.fromXML(org.jdom.Element element,
java.lang.String[] locales,
java.lang.String[] encodings,
org.apache.commons.compress.archivers.zip.ZipFile zip) |
void |
IIconEntity.fromXML(org.jdom.Element element,
java.lang.String[] locales,
org.apache.commons.compress.archivers.zip.ZipFile zip) |
2012 Apache Software Foundation.