- 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
-
- getLocalesFromPackage(File) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
-
Give a directory, assumed to be the root of a widget package, iterate over
the contents of the "locales" folder, should it exist, and return the names
of all the subdirectories, assumed to be localized content folders.
- getLocalesFromZipFile(ZipFile) - Static method in class org.apache.wookie.w3c.util.WidgetPackageUtils
-
Given a zipfile, iterate over the contents of the "locales" folder within the
archive, should it exist, and return the names of all the subdirectories,
assumed to be localized content folders.
- 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.
- 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
- 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
-