|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectelectric.uddi.Description
Description represents a UDDI description.
Field Summary |
Constructor Summary | |
Description()
Construct a Description with empty text and no language. |
|
Description(java.lang.String text)
Construct a Description with the specified text and no language. |
|
Description(java.lang.String text,
java.lang.String language)
Construct a Description with the specified text and language. |
Method Summary | |
boolean |
equals(java.lang.Object object)
Return true if the object is a Description with equal values for the text and language. |
java.lang.String |
getLanguage()
Return my language. |
java.lang.String |
getText()
Return my text. |
boolean |
hasLanguage()
Return true if I have a language. |
void |
read(IReader reader)
Restore myself from the specified reader. |
static Description[] |
readList(IReader reader)
|
void |
setLanguage(java.lang.String language)
Set my language. |
void |
setText(java.lang.String text)
Set my text. |
java.lang.String |
toString()
Return my description. |
void |
write(IWriter writer)
Write myself to the specified writer. |
static void |
writeList(IWriter writer,
Description[] descriptions)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Description()
public Description(java.lang.String text)
public Description(java.lang.String text, java.lang.String language)
text
- The initial text.language
- The initial languageMethod Detail |
public java.lang.String toString()
public boolean equals(java.lang.Object object)
object
- The object to match.public void setLanguage(java.lang.String language)
language
- The new language.public java.lang.String getLanguage()
public boolean hasLanguage()
public void setText(java.lang.String text)
text
- The new text.public java.lang.String getText()
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 Description[] readList(IReader reader) throws java.io.IOException
reader
-
java.io.IOException
public static void writeList(IWriter writer, Description[] descriptions) throws java.io.IOException
writer
- descriptions
-
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |