|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.topcoder.shared.problem.BaseElement
|
+--com.topcoder.shared.problem.WebService
An element to hold information about a Web Service.
| Constructor Summary | |
WebService()
Empty constructor required by custom serialization. |
|
| Method Summary | |
void |
customReadObject(com.topcoder.shared.netCommon.CSReader reader)
Custom serialization |
void |
customWriteObject(com.topcoder.shared.netCommon.CSWriter writer)
Custom serialization |
static java.lang.String |
encodeHTML(java.lang.String text)
Utility function for encoding HTML entities in text. |
java.lang.String |
getJavaDocAddress()
Returns the javadoc address. |
java.lang.String |
getName()
Returns the name of the web service. |
int |
getProblemId()
Returns the problem identifier related to the web service. |
ElementRenderer |
getRenderer()
Returns this elements renderer. |
int |
getWebServiceId()
Returns the unique identifier of the web service. |
void |
setJavaDocAddress(java.lang.String javaDocAddress)
Sets the javadoc address. |
void |
setName(java.lang.String name)
Sets the name of the web service. |
void |
setProblemId(int problemId)
Sets the identifier of the problem related to the web service. |
void |
setRenderer(ElementRenderer renderer)
Sets the renderer for this element. |
void |
setWebServiceId(int webServiceId)
Sets the unique identifier for the web service. |
java.lang.String |
toXML()
Returns an XML representation of the web service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.topcoder.shared.problem.Element |
getRenderer, setRenderer |
| Constructor Detail |
public WebService()
| Method Detail |
public void setName(java.lang.String name)
name - the name of the web service.public java.lang.String getName()
public void setJavaDocAddress(java.lang.String javaDocAddress)
javaDocAddress - the java doc address.public java.lang.String getJavaDocAddress()
public void setWebServiceId(int webServiceId)
webServiceId - the unique identifier of the web service.public int getWebServiceId()
public void setProblemId(int problemId)
problemId - the problem identifier related to the web service.public int getProblemId()
public void customWriteObject(com.topcoder.shared.netCommon.CSWriter writer)
throws java.io.IOException
customWriteObject in interface Elementwriter - the writer to write to.
java.io.IOException - if an I/O error has occurred in the stream that backs the writer.
public void customReadObject(com.topcoder.shared.netCommon.CSReader reader)
throws java.io.IOException
customReadObject in interface Elementreader - the reader to read from.
java.io.IOException - if an I/O error has occurred in the stream that backs the reader.public java.lang.String toXML()
<web-service><name>the name</name></webservice>.
toXML in interface Elementpublic void setRenderer(ElementRenderer renderer)
setRenderer in interface Elementrenderer - the element renderer.ElementRendererpublic ElementRenderer getRenderer()
getRenderer in interface ElementElementRendererpublic static java.lang.String encodeHTML(java.lang.String text)
text - the text to encode.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||