org.apache.shindig.gadgets.spec
Class Icon
java.lang.Object
org.apache.shindig.gadgets.spec.Icon
public class Icon
- extends Object
Represents a ModuleSpec.Icon tag.
TODO: Support substitution
|
Constructor Summary |
Icon(Element element)
Currently does not validate icon data. |
Icon
public Icon(Element element)
throws SpecParserException
- Currently does not validate icon data.
- Parameters:
element -
- Throws:
SpecParserException
getMode
public String getMode()
getType
public String getType()
getContent
public String getContent()
substitute
public Icon substitute(Substitutions substituter)
- Substitutes the icon fields according to the spec.
- Parameters:
substituter -
- Returns:
- The substituted icon
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2007-2012. All Rights Reserved.