org.jutil.net
Class Get

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable
          extended by org.jutil.util.AttributesImpl
              extended by org.jutil.net.Get
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, java.util.Map, VersionedObject, Attributes

public class Get
extends AttributesImpl

This is the Get class.

See Also:
Serialized Form

Constructor Summary
Get()
           
Get(java.lang.String strURL)
           
 
Method Summary
 java.util.Enumeration attributes()
           
 java.util.Enumeration attributesKeys()
          ERROR: attributesKeys() not implemented properly
 java.lang.Object getAttribute(java.lang.String name)
           
 java.lang.Object getAttribute(java.lang.String name, java.lang.Object defVal)
           
 Version getVersion()
          Overide the superclass getVersion() to return this sub classe's Version
 void readExternal(java.io.ObjectInput in)
           
 void removeAttribute(java.lang.String name)
           
 void setAttribute(java.lang.Object _value)
           
 void setAttribute(java.lang.String name, java.lang.Object attr)
           
 void setAttribute(java.lang.String name, java.lang.Object attr, boolean write)
           
 void setEvent(java.lang.String name, java.lang.Object value)
          usage: get.setEvent("onMouseover", "changeImg(\'tbar_logo\', \'logo\', 1)");
 void setSrc(java.lang.String src)
           
 void setText(java.lang.String text)
           
 void setURL(java.lang.String strURL)
           
 int size()
           
 java.lang.String toString()
           
 java.net.URL toURL()
           
 void writeExternal(java.io.ObjectOutput out)
           
 
Methods inherited from class org.jutil.util.AttributesImpl
clearAttributes, elements, keys, removeAttribute
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, rehash, remove, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Get

public Get()

Get

public Get(java.lang.String strURL)
Method Detail

setURL

public void setURL(java.lang.String strURL)

setText

public void setText(java.lang.String text)

setSrc

public void setSrc(java.lang.String src)

setAttribute

public void setAttribute(java.lang.Object _value)

removeAttribute

public void removeAttribute(java.lang.String name)
Specified by:
removeAttribute in interface Attributes
Overrides:
removeAttribute in class AttributesImpl

setEvent

public void setEvent(java.lang.String name,
                     java.lang.Object value)
usage: get.setEvent("onMouseover", "changeImg(\'tbar_logo\', \'logo\', 1)");


setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object attr)
Specified by:
setAttribute in interface Attributes
Overrides:
setAttribute in class AttributesImpl

getAttribute

public java.lang.Object getAttribute(java.lang.String name,
                                     java.lang.Object defVal)
Specified by:
getAttribute in interface Attributes
Overrides:
getAttribute in class AttributesImpl

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
Specified by:
getAttribute in interface Attributes
Overrides:
getAttribute in class AttributesImpl

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object attr,
                         boolean write)
Specified by:
setAttribute in interface Attributes
Overrides:
setAttribute in class AttributesImpl

attributes

public java.util.Enumeration attributes()

attributesKeys

public java.util.Enumeration attributesKeys()
ERROR: attributesKeys() not implemented properly


size

public int size()
Specified by:
size in interface java.util.Map
Specified by:
size in interface Attributes
Overrides:
size in class AttributesImpl

toURL

public java.net.URL toURL()
                   throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException

toString

public java.lang.String toString()
Overrides:
toString in class java.util.Hashtable

writeExternal

public void writeExternal(java.io.ObjectOutput out)
                   throws java.io.IOException
Specified by:
writeExternal in interface java.io.Externalizable
Overrides:
writeExternal in class AttributesImpl
Throws:
java.io.IOException

readExternal

public void readExternal(java.io.ObjectInput in)
                  throws java.io.IOException,
                         java.lang.ClassNotFoundException
Specified by:
readExternal in interface java.io.Externalizable
Overrides:
readExternal in class AttributesImpl
Throws:
java.io.IOException
java.lang.ClassNotFoundException

getVersion

public Version getVersion()
Overide the superclass getVersion() to return this sub classe's Version

Specified by:
getVersion in interface VersionedObject
Overrides:
getVersion in class AttributesImpl