|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.uddi.DiscoveryURL
DiscoveryURL represents a UDDI discovery URL.
Field Summary |
Constructor Summary | |
DiscoveryURL()
Construct a DiscoveryURL with no initial values. |
|
DiscoveryURL(java.lang.String url)
Construct a DiscoveryURL with the specified URL. |
|
DiscoveryURL(java.lang.String url,
java.lang.String useType)
Construct a DiscoveryURL with the specified URL and useType. |
Method Summary | |
boolean |
equals(java.lang.Object object)
Return true if the object is a DiscoveryURL with the same URL and useType as myself. |
java.lang.String |
getURL()
Return my URL. |
java.lang.String |
getUseType()
Return my use type. |
void |
read(IReader reader)
Restore myself from the specified reader. |
static DiscoveryURL[] |
readList(IReader reader)
|
void |
setURL(java.lang.String url)
Set my URL |
void |
setUseType(java.lang.String useType)
Set my use type. |
java.lang.String |
toString()
Return a description. |
void |
write(IWriter writer)
Write myself to the specified writer. |
static void |
writeList(IWriter writer,
DiscoveryURL[] urls)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DiscoveryURL()
public DiscoveryURL(java.lang.String url)
url
- The initial URL.public DiscoveryURL(java.lang.String url, java.lang.String useType)
url
- The initial URL.useType
- The initial useType.Method Detail |
public java.lang.String toString()
public boolean equals(java.lang.Object object)
object
- The object to match.public void setURL(java.lang.String url)
url
- The new URL.public java.lang.String getURL()
public void setUseType(java.lang.String useType)
useType
- The new use type.public java.lang.String getUseType()
public void write(IWriter writer) throws java.io.IOException
write
in interface ISerializable
writer
- The IWriter
java.io.IOException
- If a serialization error occurs.public void read(IReader reader) throws java.io.IOException
read
in interface ISerializable
reader
- The IReader
java.io.IOException
- If a deserialization error occurs.public static void writeList(IWriter writer, DiscoveryURL[] urls) throws java.io.IOException
writer
- urls
-
java.io.IOException
public static DiscoveryURL[] readList(IReader reader)
reader
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |