org.cybergarage.upnp
Class Icon

java.lang.Object
  extended by org.cybergarage.upnp.Icon

public class Icon
extends Object


Field Summary
static String ELEM_NAME
           
 
Constructor Summary
Icon()
           
Icon(Node node)
           
 
Method Summary
 byte[] getBytes()
           
 int getDepth()
           
 int getHeight()
           
 Node getIconNode()
           
 String getMimeType()
           
 String getURL()
           
 Object getUserData()
           
 int getWidth()
           
 boolean hasBytes()
           
 boolean hasMimeType()
           
 boolean hasURL()
           
static boolean isIconNode(Node node)
           
 boolean isURL(String url)
           
 void setBytes(byte[] data)
           
 void setDepth(int value)
           
 void setDepth(String value)
           
 void setHeight(int value)
           
 void setHeight(String value)
           
 void setMimeType(String value)
           
 void setURL(String value)
           
 void setUserData(Object data)
           
 void setWidth(int value)
           
 void setWidth(String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEM_NAME

public static final String ELEM_NAME
See Also:
Constant Field Values
Constructor Detail

Icon

public Icon(Node node)

Icon

public Icon()
Method Detail

getIconNode

public Node getIconNode()

isIconNode

public static boolean isIconNode(Node node)

setMimeType

public void setMimeType(String value)

getMimeType

public String getMimeType()

hasMimeType

public boolean hasMimeType()

setWidth

public void setWidth(String value)

setWidth

public void setWidth(int value)

getWidth

public int getWidth()

setHeight

public void setHeight(String value)

setHeight

public void setHeight(int value)

getHeight

public int getHeight()

setDepth

public void setDepth(String value)

setDepth

public void setDepth(int value)

getDepth

public int getDepth()

setURL

public void setURL(String value)

getURL

public String getURL()

hasURL

public boolean hasURL()

isURL

public boolean isURL(String url)

setUserData

public void setUserData(Object data)

getUserData

public Object getUserData()

setBytes

public void setBytes(byte[] data)

hasBytes

public boolean hasBytes()

getBytes

public byte[] getBytes()