A B C D E F G H I L M N O P R S T U V W

A

AbstractLocalizedEntity - Class in org.apache.wookie.w3c.impl
Abstract base class for entities containing i18n or l10n content, including utility methods for extracting and processing text that uses language tags and text direction (e.g.
AbstractLocalizedEntity() - Constructor for class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
 
ACCESS_ELEMENT - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
AccessEntity - Class in org.apache.wookie.w3c.impl
The Access element is defined in: http://www.w3.org/TR/widgets-access/
AccessEntity() - Constructor for class org.apache.wookie.w3c.impl.AccessEntity
 
AUTHOR_ELEMENT - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
AuthorEntity - Class in org.apache.wookie.w3c.impl
The element
AuthorEntity() - Constructor for class org.apache.wookie.w3c.impl.AuthorEntity
 
AuthorEntity(String, String, String) - Constructor for class org.apache.wookie.w3c.impl.AuthorEntity
 

B

BadAuthorSignatureException - Exception in org.apache.wookie.w3c.exceptions
 
BadAuthorSignatureException(String) - Constructor for exception org.apache.wookie.w3c.exceptions.BadAuthorSignatureException
 
BadDistributorSignatureException - Exception in org.apache.wookie.w3c.exceptions
 
BadDistributorSignatureException(String) - Constructor for exception org.apache.wookie.w3c.exceptions.BadDistributorSignatureException
 
BadManifestException - Exception in org.apache.wookie.w3c.exceptions
Thrown when there is a problem with a manifest file; typically an unsupported or invalid feature requirement, or using the wrong namespace
BadManifestException(String) - Constructor for exception org.apache.wookie.w3c.exceptions.BadManifestException
 
BadManifestException(Throwable) - Constructor for exception org.apache.wookie.w3c.exceptions.BadManifestException
 
BadWidgetZipFileException - Exception in org.apache.wookie.w3c.exceptions
Thrown when there is a problem with a Widget's Zip archive
BadWidgetZipFileException() - Constructor for exception org.apache.wookie.w3c.exceptions.BadWidgetZipFileException
 

C

CHARSET_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
checkForUpdate(W3CWidget) - Static method in class org.apache.wookie.w3c.updates.UpdateUtils
Gets an update description document for a widget Returns null if there is no update available, or the Update Description Document is not valid
checkForUpdate(String, String) - Static method in class org.apache.wookie.w3c.updates.UpdateUtils
Gets an update description document for a widget using the specified href and version.
CHROME_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
Deprecated.  
CONTENT_ELEMENT - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
ContentEntity - Class in org.apache.wookie.w3c.impl
 
ContentEntity() - Constructor for class org.apache.wookie.w3c.impl.ContentEntity
 
ContentEntity(String, String, String) - Constructor for class org.apache.wookie.w3c.impl.ContentEntity
 
ContentTypeUtils - Class in org.apache.wookie.w3c.util
Utils for content type sniffing
ContentTypeUtils() - Constructor for class org.apache.wookie.w3c.util.ContentTypeUtils
 
convertIdToFolderName(String) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
Converts a widget identifier (usually a URI) into a form suitable for use as a file system folder name
convertPathToPlatform(String) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
 
convertPathToRelativeUri(String) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
 
createUnpackedWidgetFolder(File, String) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
Returns a File representing the unpacked folder for a widget with the given identifier.

D

DEFAULT_CHARSET - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
DEFAULT_HEIGHT_LARGE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
DEFAULT_HEIGHT_SMALL - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
DEFAULT_ICON_FILES - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
DEFAULT_LANG - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
DEFAULT_MEDIA_TYPE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
DEFAULT_VIEWMODE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
DEFAULT_WIDGET_VERSION - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
DEFAULT_WIDTH_LARGE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
DEFAULT_WIDTH_SMALL - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
DEFAULTLOCALE_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
DESCRIPTION_ELEMENT - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
DescriptionEntity - Class in org.apache.wookie.w3c.impl
The element
DescriptionEntity() - Constructor for class org.apache.wookie.w3c.impl.DescriptionEntity
 
DescriptionEntity(String, String) - Constructor for class org.apache.wookie.w3c.impl.DescriptionEntity
 
dir - Variable in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
Text direction conforming to http://www.w3.org/TR/2007/REC-its-20070403/
DIR_ATRRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 

E

EMAIL_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
END - Static variable in class org.apache.wookie.w3c.util.FormattingUtils
 
extractManifest(ZipFile) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
Retrieves the Manifest entry as a String

F

FEATURE_ELEMENT - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
FeatureEntity - Class in org.apache.wookie.w3c.impl
 
FeatureEntity(String[]) - Constructor for class org.apache.wookie.w3c.impl.FeatureEntity
 
FeatureEntity(String, boolean, List<IParam>) - Constructor for class org.apache.wookie.w3c.impl.FeatureEntity
 
FeatureEntity(String, boolean) - Constructor for class org.apache.wookie.w3c.impl.FeatureEntity
 
filter(ILocalized[], List<ULocale>) - Static method in class org.apache.wookie.w3c.util.LocalizationUtils
Filters a set of elements using the locales and returns a copy of the array containing only elements that match the locales, or that are not localized if there are no matches
FormattingUtils - Class in org.apache.wookie.w3c.util
i18n formatting utilities
FormattingUtils() - Constructor for class org.apache.wookie.w3c.util.FormattingUtils
 
fromXML(Element) - Method in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
 
fromXML(Element) - Method in class org.apache.wookie.w3c.impl.AccessEntity
 
fromXML(Element) - Method in class org.apache.wookie.w3c.impl.AuthorEntity
 
fromXML(Element) - Method in class org.apache.wookie.w3c.impl.ContentEntity
 
fromXML(Element, String[], String[], ZipFile) - Method in class org.apache.wookie.w3c.impl.ContentEntity
 
fromXML(Element) - Method in class org.apache.wookie.w3c.impl.DescriptionEntity
 
fromXML(Element) - Method in class org.apache.wookie.w3c.impl.FeatureEntity
 
fromXML(Element) - Method in class org.apache.wookie.w3c.impl.IconEntity
 
fromXML(Element, String[], ZipFile) - Method in class org.apache.wookie.w3c.impl.IconEntity
 
fromXML(Element) - Method in class org.apache.wookie.w3c.impl.LicenseEntity
 
fromXML(Element) - Method in class org.apache.wookie.w3c.impl.NameEntity
 
fromXML(Element) - Method in class org.apache.wookie.w3c.impl.ParamEntity
 
fromXML(Element) - Method in class org.apache.wookie.w3c.impl.PreferenceEntity
 
fromXML(Element) - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
fromXML(Element, String[]) - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
fromXML(Element) - Method in class org.apache.wookie.w3c.updates.UpdateDescription
 
fromXML(Document) - Method in class org.apache.wookie.w3c.updates.UpdateDescriptionDocument
Parse a UDD from XML
fromXML(Element, String[], String[], ZipFile) - Method in interface org.apache.wookie.w3c.xml.IContentEntity
 
fromXML(Element) - Method in interface org.apache.wookie.w3c.xml.IElement
Unmarshall the given XML Element to this Object
fromXML(Element, String[], ZipFile) - Method in interface org.apache.wookie.w3c.xml.IIconEntity
 

G

getAccessList() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getAccessList() - Method in interface org.apache.wookie.w3c.W3CWidget
Get the list of access request entities for the widget
getAuthor() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getAuthor() - Method in interface org.apache.wookie.w3c.W3CWidget
Get the Author information for the widget
getAuthorName() - Method in interface org.apache.wookie.w3c.IAuthor
Get the details of the author, e.g.
getAuthorName() - Method in class org.apache.wookie.w3c.impl.AuthorEntity
 
getCharSet() - Method in interface org.apache.wookie.w3c.IContent
 
getCharSet() - Method in class org.apache.wookie.w3c.impl.ContentEntity
 
getContentList() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getContentList() - Method in interface org.apache.wookie.w3c.W3CWidget
Get the list of start pages for the widget
getDefaultLocale() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getDefaultLocale() - Method in interface org.apache.wookie.w3c.W3CWidget
Get the default locale
getDefaultLocaleList() - Static method in class org.apache.wookie.w3c.util.LocalizationUtils
Gets the default locales list
getDefaults(ZipFile, String[], String[]) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
Return the set of valid default files for each locale in the zip
getDescription() - Method in interface org.apache.wookie.w3c.IDescription
Get widget description content.
getDescription() - Method in class org.apache.wookie.w3c.impl.DescriptionEntity
 
getDescriptions() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getDescriptions() - Method in interface org.apache.wookie.w3c.W3CWidget
Get the list of Descriptions for the widget
getDetails(String) - Method in class org.apache.wookie.w3c.updates.UpdateDescriptionDocument
Get the details of the update, typically a short description of any new features.
getDir() - Method in interface org.apache.wookie.w3c.IDirectional
Get the direction of text, which can be one of "ltr", "rtl", "lro", or "rlo".
getDir() - Method in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
 
getEmail() - Method in interface org.apache.wookie.w3c.IAuthor
Get the email address of the author
getEmail() - Method in class org.apache.wookie.w3c.impl.AuthorEntity
 
getEncoded(String, String) - Static method in class org.apache.wookie.w3c.util.FormattingUtils
 
getEntryStream(String, ZipFile) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
Gets the input stream for an entry in the zip
getFeatures() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getFeatures() - Method in interface org.apache.wookie.w3c.W3CWidget
Get a list of Features requested by the widget.
getFormatted(String) - Static method in class org.apache.wookie.w3c.util.FormattingUtils
Generates a CSS i18n string from a raw string.
getFormatted(String, String) - Static method in class org.apache.wookie.w3c.util.FormattingUtils
Generates a CSS i18n string using a given direction and value
getFormattedWidgetAuthor(IAuthor) - Static method in class org.apache.wookie.w3c.util.FormattingUtils
Returns the CSS formatted i18n string for the widget author's name
getFormattedWidgetDescription(IDescription) - Static method in class org.apache.wookie.w3c.util.FormattingUtils
Returns the CSS formatted i18n string for the widget description
getFormattedWidgetLicense(ILicense) - Static method in class org.apache.wookie.w3c.util.FormattingUtils
Returns the CSS formatted i18n string for the widget license
getFormattedWidgetName(IName) - Static method in class org.apache.wookie.w3c.util.FormattingUtils
Returns the CSS formatted i18n string for the widget name
getFormattedWidgetShortName(IName) - Static method in class org.apache.wookie.w3c.util.FormattingUtils
Returns the CSS formatted i18n string for the widget short name
getFormattedWidgetVersion(W3CWidget) - Static method in class org.apache.wookie.w3c.util.FormattingUtils
Returns the CSS formatted i18n string for the widget version
getHeight() - Method in interface org.apache.wookie.w3c.IIcon
Get widget icon height.
getHeight() - Method in class org.apache.wookie.w3c.impl.IconEntity
 
getHeight() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getHeight() - Method in interface org.apache.wookie.w3c.W3CWidget
Get the widget height as an Integer.
getHref() - Method in interface org.apache.wookie.w3c.IAuthor
Get the URL of the author details, e.g.
getHref() - Method in interface org.apache.wookie.w3c.ILicense
Get widget license href URL.
getHref() - Method in class org.apache.wookie.w3c.impl.AuthorEntity
 
getHref() - Method in class org.apache.wookie.w3c.impl.LicenseEntity
 
getHref() - Method in class org.apache.wookie.w3c.updates.UpdateDescription
 
getIcons() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getIcons() - Method in interface org.apache.wookie.w3c.W3CWidget
Get the list of icons for the widget
getIdentifier() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getIdentifier() - Method in interface org.apache.wookie.w3c.W3CWidget
Get the widget identifier (IRI)
getLang() - Method in interface org.apache.wookie.w3c.ILocalized
Get the language tag for the element.
getLang() - Method in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
 
getLicenses() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getLicenses() - Method in interface org.apache.wookie.w3c.W3CWidget
Get the list of Licenses for the widget
getLicenseText() - Method in interface org.apache.wookie.w3c.ILicense
Get widget license text.
getLicenseText() - Method in class org.apache.wookie.w3c.impl.LicenseEntity
 
getLocalizedElement(ILocalized[], String[], String) - Static method in class org.apache.wookie.w3c.util.LocalizationUtils
Returns the first (best) match for an element given the set of locales, or will fall back to the match for defaultLocale if there are no suitable matches, and then to null if there are no elements at all.
getLocalizedElement(ILocalized[], String[]) - Static method in class org.apache.wookie.w3c.util.LocalizationUtils
Returns the first (best) match for an element given the set of locales, or null if there are no suitable elements.
getLocalizedTextContent(Element) - Static method in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
Returns the text content of an element, recursively adding any text nodes found in its child nodes AND any elements that include localization information
getLocalName(String) - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getLocalName(String) - Method in interface org.apache.wookie.w3c.W3CWidget
A convenience method typically used for generating debug messages during import.
getName() - Method in interface org.apache.wookie.w3c.IFeature
Get widget feature name.
getName() - Method in class org.apache.wookie.w3c.impl.FeatureEntity
 
getName() - Method in class org.apache.wookie.w3c.impl.NameEntity
 
getName() - Method in class org.apache.wookie.w3c.impl.ParamEntity
 
getName() - Method in interface org.apache.wookie.w3c.IName
Get widget name.
getName() - Method in interface org.apache.wookie.w3c.IParam
Get widget feature parameter name.
getNames() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getNames() - Method in interface org.apache.wookie.w3c.W3CWidget
Get the list of Names for the widget
getOrigin() - Method in interface org.apache.wookie.w3c.IAccess
 
getOrigin() - Method in class org.apache.wookie.w3c.impl.AccessEntity
 
getParameters() - Method in interface org.apache.wookie.w3c.IFeature
Get collection of widget feature parameters.
getParameters() - Method in class org.apache.wookie.w3c.impl.FeatureEntity
 
getPreferences() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getPreferences() - Method in interface org.apache.wookie.w3c.W3CWidget
Get the list of Preferences defined for the widget
getProcessedLocaleList(String[]) - Static method in class org.apache.wookie.w3c.util.LocalizationUtils
Converts an array of language tags to a list of ULocale instances ordered according to priority, availability and fallback rules.
getShort() - Method in class org.apache.wookie.w3c.impl.NameEntity
 
getShort() - Method in interface org.apache.wookie.w3c.IName
Get widget short name.
getSrc() - Method in interface org.apache.wookie.w3c.IContent
 
getSrc() - Method in interface org.apache.wookie.w3c.IIcon
Get widget icon source URL.
getSrc() - Method in class org.apache.wookie.w3c.impl.ContentEntity
 
getSrc() - Method in class org.apache.wookie.w3c.impl.IconEntity
 
getTextDirection(Element) - Static method in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
Returns the direction (rtl, ltr, lro, rlo) of the child text of an element
getType() - Method in interface org.apache.wookie.w3c.IContent
 
getType() - Method in class org.apache.wookie.w3c.impl.ContentEntity
 
getUnzippedWidgetDirectory() - Method in class org.apache.wookie.w3c.W3CWidgetFactory
 
getUpdate(W3CWidgetFactory, W3CWidget) - Static method in class org.apache.wookie.w3c.updates.UpdateUtils
Gets an updated widget of a widget.
getUpdate(W3CWidgetFactory, String, String, String, boolean) - Static method in class org.apache.wookie.w3c.updates.UpdateUtils
Gets the latest version of a widget
getUpdateLocation() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getUpdateLocation() - Method in interface org.apache.wookie.w3c.W3CWidget
 
getUpdateSource() - Method in class org.apache.wookie.w3c.updates.UpdateDescriptionDocument
Get the URL for the updated widget
getURLForWidget(String, String, String) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
Returns the local URL for a widget
getValue() - Method in class org.apache.wookie.w3c.impl.ParamEntity
 
getValue() - Method in interface org.apache.wookie.w3c.IParam
Get widget feature parameter value.
getVersion() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getVersion() - Method in interface org.apache.wookie.w3c.W3CWidget
Get the version of the widget
getVersionTag() - Method in class org.apache.wookie.w3c.updates.UpdateDescriptionDocument
Get the version tag for the update
getViewModes() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getViewModes() - Method in interface org.apache.wookie.w3c.W3CWidget
Gets the widget viewmodes attribute.
getWidth() - Method in interface org.apache.wookie.w3c.IIcon
Get widget icon width.
getWidth() - Method in class org.apache.wookie.w3c.impl.IconEntity
 
getWidth() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
getWidth() - Method in interface org.apache.wookie.w3c.W3CWidget
Get the widget width as an Integer.

H

hasManifest(ZipFile) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
Checks for the existence of the Manifest.
hasParams() - Method in class org.apache.wookie.w3c.impl.FeatureEntity
 
hasSubDomains() - Method in interface org.apache.wookie.w3c.IAccess
 
hasSubDomains() - Method in class org.apache.wookie.w3c.impl.AccessEntity
 
HEIGHT_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
HREF_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 

I

IAccess - Interface in org.apache.wookie.w3c
a Widget Access Request Policy (WARP) element
IAuthor - Interface in org.apache.wookie.w3c
An Author of a Widget
ICON_ELEMENT - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
IconEntity - Class in org.apache.wookie.w3c.impl
 
IconEntity() - Constructor for class org.apache.wookie.w3c.impl.IconEntity
 
IconEntity(String, Integer, Integer) - Constructor for class org.apache.wookie.w3c.impl.IconEntity
 
IContent - Interface in org.apache.wookie.w3c
A content page (start file) for a widget
IContentEntity - Interface in org.apache.wookie.w3c.xml
A Widget Start Page
ID_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
IDescription - Interface in org.apache.wookie.w3c
A Description of a Widget
IDigitalSignatureProcessor - Interface in org.apache.wookie.w3c
 
IDirectional - Interface in org.apache.wookie.w3c
An object that uses text direction
IElement - Interface in org.apache.wookie.w3c.xml
Base class for model objects that are unmarshalled from an XML element
IFeature - Interface in org.apache.wookie.w3c
A Feature required or used by a Widget
IIcon - Interface in org.apache.wookie.w3c
An Icon for a Widget
IIconEntity - Interface in org.apache.wookie.w3c.xml
a widget icon
ILicense - Interface in org.apache.wookie.w3c
A License for a Widget
ILocalized - Interface in org.apache.wookie.w3c
An element that can be localized by language tag
IMG_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
Deprecated.  
IName - Interface in org.apache.wookie.w3c
A Name of a Widget
InsecuredWidgetContentException - Exception in org.apache.wookie.w3c.exceptions
 
InsecuredWidgetContentException(String) - Constructor for exception org.apache.wookie.w3c.exceptions.InsecuredWidgetContentException
 
InvalidContentTypeException - Exception in org.apache.wookie.w3c.exceptions
Thrown when a widget manifest sets an invalid content type
InvalidContentTypeException(String) - Constructor for exception org.apache.wookie.w3c.exceptions.InvalidContentTypeException
 
InvalidStartFileException - Exception in org.apache.wookie.w3c.exceptions
Thrown when a widget has no valid start file
InvalidStartFileException(String) - Constructor for exception org.apache.wookie.w3c.exceptions.InvalidStartFileException
 
InvalidUDDException - Exception in org.apache.wookie.w3c.updates
An exception thrown when an Update Description Document is not valid
InvalidUDDException(String) - Constructor for exception org.apache.wookie.w3c.updates.InvalidUDDException
 
IParam - Interface in org.apache.wookie.w3c
A Name/Value parameter
IPreference - Interface in org.apache.wookie.w3c
 
IRIValidator - Class in org.apache.wookie.w3c.util
IRI checking utility This should be replaced with a "real" IRI implementation as soon as one becomes available.
IRIValidator() - Constructor for class org.apache.wookie.w3c.util.IRIValidator
 
isReadOnly() - Method in class org.apache.wookie.w3c.impl.PreferenceEntity
 
isReadOnly() - Method in interface org.apache.wookie.w3c.IPreference
 
isRequired() - Method in interface org.apache.wookie.w3c.IFeature
Get widget feature required flag.
isRequired() - Method in class org.apache.wookie.w3c.impl.FeatureEntity
 
isSupported(String, String[]) - Static method in class org.apache.wookie.w3c.util.ContentTypeUtils
Checks to see if the supplied value is one of the supported values
isSupportedImageType(String) - Static method in class org.apache.wookie.w3c.util.ContentTypeUtils
Checks to see if a filename is a supported image type based on its file extension
isSupportedImageType(File) - Static method in class org.apache.wookie.w3c.util.ContentTypeUtils
Checks to see if a file is a supported image type
isSupportedImageType(InputStream) - Static method in class org.apache.wookie.w3c.util.ContentTypeUtils
Checks to see if an inputstream contains a supported image type
IStartPageProcessor - Interface in org.apache.wookie.w3c
Processes widget start pages to inject scripts and other assets required for widget runtime operation.
isValid() - Method in interface org.apache.wookie.w3c.IDirectional
Checks whether this object has valid localization settings; specifically that the lang property of this object is a valid language-tag according to BCP-47
isValid() - Method in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
Checks whether the language tag for the entity is OK.
isValidIRI(String) - Static method in class org.apache.wookie.w3c.util.IRIValidator
 
isValidLanguageTag(String) - Static method in class org.apache.wookie.w3c.util.LocalizationUtils
Validates a given language tag.
IW3CXMLConfiguration - Interface in org.apache.wookie.w3c
Constants for widget elements found in the config.xml file

L

lang - Variable in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
a Language string conforming to BCP47
LANG_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
languageTagForPath(String) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
Return the language tag for a given path
LEFT_TO_RIGHT - Static variable in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
 
LEFT_TO_RIGHT_OVERRIDE - Static variable in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
 
LICENSE_ELEMENT - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
LicenseEntity - Class in org.apache.wookie.w3c.impl
the element
LicenseEntity() - Constructor for class org.apache.wookie.w3c.impl.LicenseEntity
 
LicenseEntity(String, String, String, String) - Constructor for class org.apache.wookie.w3c.impl.LicenseEntity
 
LocalizationUtils - Class in org.apache.wookie.w3c.util
Utilities for localization
LocalizationUtils() - Constructor for class org.apache.wookie.w3c.util.LocalizationUtils
 
locateFilePath(String, String[], ZipFile) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
Implements the rule for finding a file within a widget; it returns the first localized version first before returning a root version.
locateFilePaths(String, String[], ZipFile) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
Returns the set of valid file paths for a given resource.
LRO - Static variable in class org.apache.wookie.w3c.util.FormattingUtils
 
LTR - Static variable in class org.apache.wookie.w3c.util.FormattingUtils
 

M

main(String[]) - Static method in class org.apache.wookie.w3c.util.RandomGUID
 
MANIFEST_FILE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
MANIFEST_NAMESPACE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
MODE_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 

N

NAME_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
NAME_ELEMENT - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
NameEntity - Class in org.apache.wookie.w3c.impl
the element
NameEntity() - Constructor for class org.apache.wookie.w3c.impl.NameEntity
 
NameEntity(String, String, String) - Constructor for class org.apache.wookie.w3c.impl.NameEntity
 
NETWORK_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
Deprecated.  
normalizeSpaces(String) - Static method in class org.apache.wookie.w3c.util.UnicodeUtils
Normalizes all space characters in the given string to U+0020, then collapses multiple adjacent spaces to a single space, and removes any leading and trailing spaces.
normalizeWhitespace(String) - Static method in class org.apache.wookie.w3c.util.UnicodeUtils
Normalizes all whitespace and space characters in the given string to U+0020, then collapses multiple adjacent spaces to a single space, and removes any leading and trailing spaces.
NumberUtils - Class in org.apache.wookie.w3c.util
Utility for handling numbers according to W3C processing rules
NumberUtils() - Constructor for class org.apache.wookie.w3c.util.NumberUtils
 

O

org.apache.wookie.w3c - package org.apache.wookie.w3c
 
org.apache.wookie.w3c.exceptions - package org.apache.wookie.w3c.exceptions
 
org.apache.wookie.w3c.impl - package org.apache.wookie.w3c.impl
 
org.apache.wookie.w3c.updates - package org.apache.wookie.w3c.updates
 
org.apache.wookie.w3c.util - package org.apache.wookie.w3c.util
 
org.apache.wookie.w3c.xml - package org.apache.wookie.w3c.xml
 
ORIGIN_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
outputXML(W3CWidget, File) - Method in class org.apache.wookie.w3c.util.WidgetOutputter
Output config.xml to a File
outputXML(W3CWidget, OutputStream) - Method in class org.apache.wookie.w3c.util.WidgetOutputter
Output config.xml to an OutputStream
outputXMLString(W3CWidget) - Method in class org.apache.wookie.w3c.util.WidgetOutputter
Output config.xml as a String

P

PARAM_ELEMENT - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
ParamEntity - Class in org.apache.wookie.w3c.impl
 
ParamEntity() - Constructor for class org.apache.wookie.w3c.impl.ParamEntity
 
ParamEntity(String, String) - Constructor for class org.apache.wookie.w3c.impl.ParamEntity
 
parse(File) - Method in class org.apache.wookie.w3c.W3CWidgetFactory
Parse a given ZipFile and return a W3CWidget object representing the processed information in the package.
parse(File, String) - Method in class org.apache.wookie.w3c.W3CWidgetFactory
Parse a given ZipFile and return a W3CWidget object representing the processed information in the package.
parse(URL) - Method in class org.apache.wookie.w3c.W3CWidgetFactory
Parse a widget at a given URL and return a W3CWidget object representing the processed information in the package.
parse(URL, boolean) - Method in class org.apache.wookie.w3c.W3CWidgetFactory
Parse a widget at a given URL and return a W3CWidget object representing the processed information in the package.
parse(URL, boolean, String) - Method in class org.apache.wookie.w3c.W3CWidgetFactory
Parse a widget at a given URL and return a W3CWidget object representing the processed information in the package.
PLUGINS_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
Deprecated.  
PREFERENCE_ELEMENT - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
PreferenceEntity - Class in org.apache.wookie.w3c.impl
 
PreferenceEntity() - Constructor for class org.apache.wookie.w3c.impl.PreferenceEntity
 
processDigitalSignatures(String) - Method in interface org.apache.wookie.w3c.IDigitalSignatureProcessor
 
processElementsByDefaultLocales(ILocalized[]) - Static method in class org.apache.wookie.w3c.util.LocalizationUtils
Sorts an array of localized elements using default locales (*).
processElementsByLocales(ILocalized[], String[], String) - Static method in class org.apache.wookie.w3c.util.LocalizationUtils
Filters and sorts a list of localized elements using the given locale list; only localized elements are returned unless no appropriate localized elements are found, in which case nonlocalized elements are returned.
processElementsByLocales(ILocalized[], String[]) - Static method in class org.apache.wookie.w3c.util.LocalizationUtils
Filters and sorts a list of localized elements using the given locale list; only localized elements are returned unless no appropriate localized elements are found, in which case nonlocalized elements are returned
processNonNegativeInteger(String) - Static method in class org.apache.wookie.w3c.util.NumberUtils
 
processStartFile(File, W3CWidget, IContent) - Method in interface org.apache.wookie.w3c.IStartPageProcessor
Process a start file ready for deployment.

R

RandomGUID - Class in org.apache.wookie.w3c.util
 
RandomGUID() - Constructor for class org.apache.wookie.w3c.util.RandomGUID
 
RandomGUID(boolean) - Constructor for class org.apache.wookie.w3c.util.RandomGUID
 
READONLY_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
repackZip(File, File) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
Packages the source file/folder up as a new Zip file
REQUIRED_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
RIGHT_TO_LEFT - Static variable in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
 
RIGHT_TO_LEFT_OVERRIDE - Static variable in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
 
RLO - Static variable in class org.apache.wookie.w3c.util.FormattingUtils
 
RTL - Static variable in class org.apache.wookie.w3c.util.FormattingUtils
 

S

setAuthorName(String) - Method in interface org.apache.wookie.w3c.IAuthor
Set the author details
setAuthorName(String) - Method in class org.apache.wookie.w3c.impl.AuthorEntity
 
setCharSet(String) - Method in interface org.apache.wookie.w3c.IContent
 
setCharSet(String) - Method in class org.apache.wookie.w3c.impl.ContentEntity
 
setDescription(String) - Method in interface org.apache.wookie.w3c.IDescription
Set widget description content.
setDescription(String) - Method in class org.apache.wookie.w3c.impl.DescriptionEntity
 
setDigitalSignatureParser(IDigitalSignatureProcessor) - Method in class org.apache.wookie.w3c.W3CWidgetFactory
 
setDir(String) - Method in interface org.apache.wookie.w3c.IDirectional
Set the direction of text, which can be one of "ltr", "rtl", "lro", or "rlo".
setDir(String) - Method in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
 
setEmail(String) - Method in interface org.apache.wookie.w3c.IAuthor
Set the author's email
setEmail(String) - Method in class org.apache.wookie.w3c.impl.AuthorEntity
 
setEncodings(String[]) - Method in class org.apache.wookie.w3c.W3CWidgetFactory
 
setFeatures(String[]) - Method in class org.apache.wookie.w3c.W3CWidgetFactory
Set the features to be included when parsing widgets
setHeight(Integer) - Method in interface org.apache.wookie.w3c.IIcon
Set widget icon height.
setHeight(Integer) - Method in class org.apache.wookie.w3c.impl.IconEntity
 
setHref(String) - Method in interface org.apache.wookie.w3c.IAuthor
Set the author's Href
setHref(String) - Method in interface org.apache.wookie.w3c.ILicense
Set widget license href URL.
setHref(String) - Method in class org.apache.wookie.w3c.impl.AuthorEntity
 
setHref(String) - Method in class org.apache.wookie.w3c.impl.LicenseEntity
 
setLang(String) - Method in interface org.apache.wookie.w3c.ILocalized
Set the language tag for the element.
setLang(String) - Method in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
Set the language tag for the object
setLicenseText(String) - Method in interface org.apache.wookie.w3c.ILicense
Set widget license text.
setLicenseText(String) - Method in class org.apache.wookie.w3c.impl.LicenseEntity
 
setLocales(String[]) - Method in class org.apache.wookie.w3c.W3CWidgetFactory
Set the supported locales to be used when parsing widgets
setLocalisationAttributes(Element) - Method in class org.apache.wookie.w3c.impl.AbstractLocalizedEntity
Set the dir and lang attributes of an element representing the entity - used when marshalling an entity to XML
setLocalPath(String) - Method in class org.apache.wookie.w3c.W3CWidgetFactory
Set the base URL to use
setName(String) - Method in interface org.apache.wookie.w3c.IFeature
Set widget feature name.
setName(String) - Method in class org.apache.wookie.w3c.impl.FeatureEntity
 
setName(String) - Method in class org.apache.wookie.w3c.impl.NameEntity
 
setName(String) - Method in class org.apache.wookie.w3c.impl.ParamEntity
 
setName(String) - Method in interface org.apache.wookie.w3c.IName
Set widget name.
setName(String) - Method in interface org.apache.wookie.w3c.IParam
Set widget feature parameter name.
setOutputDirectory(String) - Method in class org.apache.wookie.w3c.W3CWidgetFactory
Set the directory to use to save widgets.
setParameters(List<IParam>) - Method in interface org.apache.wookie.w3c.IFeature
Set collection of widget feature parameters.
setParameters(List<IParam>) - Method in class org.apache.wookie.w3c.impl.FeatureEntity
 
setReadOnly(boolean) - Method in class org.apache.wookie.w3c.impl.PreferenceEntity
 
setReadOnly(boolean) - Method in interface org.apache.wookie.w3c.IPreference
 
setRequired(boolean) - Method in interface org.apache.wookie.w3c.IFeature
Set widget feature required flag.
setRequired(boolean) - Method in class org.apache.wookie.w3c.impl.FeatureEntity
 
setShort(String) - Method in class org.apache.wookie.w3c.impl.NameEntity
 
setShort(String) - Method in interface org.apache.wookie.w3c.IName
Set widget short name.
setSrc(String) - Method in interface org.apache.wookie.w3c.IContent
 
setSrc(String) - Method in interface org.apache.wookie.w3c.IIcon
Set widget icon source URL.
setSrc(String) - Method in class org.apache.wookie.w3c.impl.ContentEntity
 
setSrc(String) - Method in class org.apache.wookie.w3c.impl.IconEntity
 
setStartPageProcessor(IStartPageProcessor) - Method in class org.apache.wookie.w3c.W3CWidgetFactory
Set the start page processor to use when parsing widgets
setType(String) - Method in interface org.apache.wookie.w3c.IContent
 
setType(String) - Method in class org.apache.wookie.w3c.impl.ContentEntity
 
setValue(String) - Method in class org.apache.wookie.w3c.impl.ParamEntity
 
setValue(String) - Method in interface org.apache.wookie.w3c.IParam
Set widget feature parameter value.
setWidgetFolder(String) - Method in class org.apache.wookie.w3c.util.WidgetOutputter
 
setWidth(Integer) - Method in interface org.apache.wookie.w3c.IIcon
Set widget icon width.
setWidth(Integer) - Method in class org.apache.wookie.w3c.impl.IconEntity
 
SHORT_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
sniffContentType(File) - Static method in class org.apache.wookie.w3c.util.ContentTypeUtils
Sniffs the content type for images and other common types
sniffContentType(InputStream) - Static method in class org.apache.wookie.w3c.util.ContentTypeUtils
Sniffs the content type for images and other common types
SOURCE_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
START_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
Deprecated.  
START_FILES - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
SUBDOMAINS_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
SUPPORTED_CONTENT_TYPES - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
SUPPORTED_SCHEMES - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 

T

toString() - Method in class org.apache.wookie.w3c.util.RandomGUID
 
toXml() - Method in class org.apache.wookie.w3c.impl.AccessEntity
 
toXml() - Method in class org.apache.wookie.w3c.impl.AuthorEntity
 
toXml() - Method in class org.apache.wookie.w3c.impl.ContentEntity
 
toXml() - Method in class org.apache.wookie.w3c.impl.DescriptionEntity
 
toXml() - Method in class org.apache.wookie.w3c.impl.FeatureEntity
 
toXml() - Method in class org.apache.wookie.w3c.impl.IconEntity
 
toXml() - Method in class org.apache.wookie.w3c.impl.LicenseEntity
 
toXml() - Method in class org.apache.wookie.w3c.impl.NameEntity
 
toXml() - Method in class org.apache.wookie.w3c.impl.ParamEntity
 
toXml() - Method in class org.apache.wookie.w3c.impl.PreferenceEntity
 
toXml() - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
toXML() - Method in class org.apache.wookie.w3c.updates.UpdateDescription
 
toXml() - Method in class org.apache.wookie.w3c.updates.UpdateDescriptionDocument
 
toXml() - Method in interface org.apache.wookie.w3c.xml.IElement
Marshall the entity into an XML Element
TYPE_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 

U

UID_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
Deprecated.  
UnicodeUtils - Class in org.apache.wookie.w3c.util
A utility class for sanitizing unicode strings in accordance with the rules for handling normalized text content and attributes set out in the W3C Widgets specification
UnicodeUtils() - Constructor for class org.apache.wookie.w3c.util.UnicodeUtils
 
UNKNOWN - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
unpackZip(ZipFile, File) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
uses apache commons compress to unpack all the zip entries into a target folder partly adapted from the examples on the apache commons compress site, and an example of generic Zip unpacking.
UPDATE_ELEMENT - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
UpdateDescription - Class in org.apache.wookie.w3c.updates
An UpdateDescription for a Widget
UpdateDescription() - Constructor for class org.apache.wookie.w3c.updates.UpdateDescription
 
UpdateDescription(String) - Constructor for class org.apache.wookie.w3c.updates.UpdateDescription
 
UpdateDescriptionDocument - Class in org.apache.wookie.w3c.updates
An update description document (UDD) as defined at http://www.w3.org/TR/widgets-updates
UpdateDescriptionDocument(String, URL, String) - Constructor for class org.apache.wookie.w3c.updates.UpdateDescriptionDocument
Manually construct a document.
UpdateDescriptionDocument(String) - Constructor for class org.apache.wookie.w3c.updates.UpdateDescriptionDocument
Load a UDD from a URL
updateIconPaths(String) - Method in class org.apache.wookie.w3c.impl.WidgetManifestModel
 
UpdateUtils - Class in org.apache.wookie.w3c.updates
Utility methods for working with updates
UpdateUtils() - Constructor for class org.apache.wookie.w3c.updates.UpdateUtils
 

V

VALUE_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
valueAfterMD5 - Variable in class org.apache.wookie.w3c.util.RandomGUID
 
valueBeforeMD5 - Variable in class org.apache.wookie.w3c.util.RandomGUID
 
VERSION_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
VIEWMODES - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 

W

W3CWidget - Interface in org.apache.wookie.w3c
A W3C Widget object This represents the information model for a W3C widget that has been unpacked using the W3CWidgetFactory.
W3CWidgetFactory - Class in org.apache.wookie.w3c
Factory for parsing W3C Widget packages (.wgt files).
W3CWidgetFactory() - Constructor for class org.apache.wookie.w3c.W3CWidgetFactory
 
WIDGET_ELEMENT - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 
WidgetManifestModel - Class in org.apache.wookie.w3c.impl
Processes a config.xml document to create a model for a widget, including all sub-objects
WidgetManifestModel(String, String[], String[], String[], ZipFile, String) - Constructor for class org.apache.wookie.w3c.impl.WidgetManifestModel
Constructs a new WidgetManifestModel using an XML manifest supplied as a String.
WidgetOutputter - Class in org.apache.wookie.w3c.util
Used for creating a config.xml file from a Widget object
WidgetOutputter() - Constructor for class org.apache.wookie.w3c.util.WidgetOutputter
 
WidgetPackageUtils - Class in org.apache.wookie.w3c.util
Utilities for working with Widget packages, i.e.
WidgetPackageUtils() - Constructor for class org.apache.wookie.w3c.util.WidgetPackageUtils
 
WIDTH_ATTRIBUTE - Static variable in interface org.apache.wookie.w3c.IW3CXMLConfiguration
 

A B C D E F G H I L M N O P R S T U V W

2012 Apache Software Foundation.