|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gridsystems.nextgrid.api.pom.ref.ReferenceSupport<javax.activation.DataHandler>
com.gridsystems.nextgrid.api.pom.ref.DataHandlerReference
public class DataHandlerReference
References a DataHandler instance.
| Field Summary |
|---|
| Fields inherited from class com.gridsystems.nextgrid.api.pom.ref.ReferenceSupport |
|---|
LOG |
| Constructor Summary | |
|---|---|
DataHandlerReference()
Creates a new instance. |
|
DataHandlerReference(javax.activation.DataHandler dh)
Creates a new instance. |
|
| Method Summary | |
|---|---|
boolean |
canCastFrom(java.lang.Class<?> c)
|
boolean |
canCastTo(java.lang.Class<?> c)
|
java.lang.Object |
castTo(java.lang.Class<?> c)
|
javax.activation.DataHandler |
getValue()
|
java.lang.Class<javax.activation.DataHandler> |
getValueType()
|
void |
setValue(byte[] bytes,
java.lang.String contentType)
Sets the value of this reference. |
void |
setValue(java.lang.Object obj)
|
void |
setValue(java.lang.String name,
java.awt.Image image)
Sets the value of this reference. |
void |
setValue(java.lang.String name,
javax.mail.internet.MimeMultipart part)
Sets the value of this reference. |
void |
setValue(java.lang.String name,
org.apache.axis.attachments.OctetStream stream)
Sets the value of this reference. |
void |
setValue(java.lang.String name,
java.lang.String s)
Sets the value of this reference. |
| Methods inherited from class com.gridsystems.nextgrid.api.pom.ref.ReferenceSupport |
|---|
addReader, addWriter, clearLinks, copy, dispose, getReaders, getWriters, isAvailable, readLock, removeReader, removeWriter, reset, setAvailable, waitAvailable, writeLock |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataHandlerReference()
public DataHandlerReference(javax.activation.DataHandler dh)
dh - Initial value| Method Detail |
|---|
public boolean canCastFrom(java.lang.Class<?> c)
public boolean canCastTo(java.lang.Class<?> c)
public java.lang.Object castTo(java.lang.Class<?> c)
public javax.activation.DataHandler getValue()
public java.lang.Class<javax.activation.DataHandler> getValueType()
public void setValue(java.lang.Object obj)
public void setValue(byte[] bytes,
java.lang.String contentType)
bytes - An array of bytes containing the datacontentType - The MIME content type
public void setValue(java.lang.String name,
java.lang.String s)
name - A name for the created data-sources - Value contents
public void setValue(java.lang.String name,
org.apache.axis.attachments.OctetStream stream)
name - A name for the created data-sourcestream - Value contents
public void setValue(java.lang.String name,
java.awt.Image image)
name - A name for the created data-sourceimage - Value contents
public void setValue(java.lang.String name,
javax.mail.internet.MimeMultipart part)
name - A name for the created data-sourcepart - Value contents
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||