net.sf.ahtutils.xml.mail
Class Attachment

java.lang.Object
  extended by net.sf.ahtutils.xml.mail.Attachment
All Implemented Interfaces:
Serializable

public class Attachment
extends Object
implements Serializable

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="data">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}hexBinary">
             </restriction>
           </simpleType>
         </element>
         <element ref="{http://exlp.sf.net/io}file"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  byte[] data
           
protected  net.sf.exlp.xml.io.File file
           
 
Constructor Summary
Attachment()
           
 
Method Summary
 byte[] getData()
          Gets the value of the data property.
 net.sf.exlp.xml.io.File getFile()
          Gets the value of the file property.
 boolean isSetData()
           
 boolean isSetFile()
           
 void setData(byte[] value)
          Sets the value of the data property.
 void setFile(net.sf.exlp.xml.io.File value)
          Sets the value of the file property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

protected byte[] data

file

protected net.sf.exlp.xml.io.File file
Constructor Detail

Attachment

public Attachment()
Method Detail

getData

public byte[] getData()
Gets the value of the data property.

Returns:
possible object is String

setData

public void setData(byte[] value)
Sets the value of the data property.

Parameters:
value - allowed object is String

isSetData

public boolean isSetData()

getFile

public net.sf.exlp.xml.io.File getFile()
Gets the value of the file property.

Returns:
possible object is File

setFile

public void setFile(net.sf.exlp.xml.io.File value)
Sets the value of the file property.

Parameters:
value - allowed object is File

isSetFile

public boolean isSetFile()


Copyright © 2011. All Rights Reserved.