📄 xmlconnector.html
字号:
<A NAME="init()"><!-- --></A><H3>
init</H3>
<PRE>
public void <B>init</B>()</PRE>
<DL>
<DD>Initialize global variables
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setXMLEncoding(java.lang.String)"><!-- --></A><H3>
setXMLEncoding</H3>
<PRE>
public void <B>setXMLEncoding</B>(java.lang.String enc)</PRE>
<DL>
<DD>Sets XML Encoding.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setLoginModule(java.lang.String)"><!-- --></A><H3>
setLoginModule</H3>
<PRE>
public void <B>setLoginModule</B>(java.lang.String logm)</PRE>
<DL>
<DD>Sets UserLogin Module.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setXSLGetManager(java.lang.String)"><!-- --></A><H3>
setXSLGetManager</H3>
<PRE>
public void <B>setXSLGetManager</B>(java.lang.String xsl)</PRE>
<DL>
<DD>Sets xml-stylesheet for xmlGetManager.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setXSLGetChat(java.lang.String)"><!-- --></A><H3>
setXSLGetChat</H3>
<PRE>
public void <B>setXSLGetChat</B>(java.lang.String xsl)</PRE>
<DL>
<DD>Sets xml-stylesheet for xmlGetChat.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setXSLError(java.lang.String)"><!-- --></A><H3>
setXSLError</H3>
<PRE>
public void <B>setXSLError</B>(java.lang.String xsl)</PRE>
<DL>
<DD>Sets xml-stylesheet for xmlGetChat.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setXSLGetChatroom(java.lang.String)"><!-- --></A><H3>
setXSLGetChatroom</H3>
<PRE>
public void <B>setXSLGetChatroom</B>(java.lang.String xsl)</PRE>
<DL>
<DD>Sets xml-stylesheet for xmlGetChatroom.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setDTDEnabled(boolean)"><!-- --></A><H3>
setDTDEnabled</H3>
<PRE>
public void <B>setDTDEnabled</B>(boolean en)</PRE>
<DL>
<DD>Enables/Disables DTD. Default is disabled.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="execute(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpSession)"><!-- --></A><H3>
execute</H3>
<PRE>
public java.lang.String <B>execute</B>(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession session)</PRE>
<DL>
<DD>Processes all USERS commands. <br> MANAGER() : Returns XML formated list of chatrooms<br> RESOURCE() : Returns XML formated resource bundle<br> LANGUAGES() : Returns XML formated supported languages list<br> CHATROOM(id) : Returns XML formated chatroom info identified by id<br> LOGIN(name,chatrooms) : Returns XML formated chatroom's content<br> CHAT(msg,to) : Returns XML formated chatroom's content<br> REFRESH() : Returns XML formated chatroom's content<br> LOGOUT() : Returns XML formated list of chatrooms<br> QUIT() : Returns XML formated list of chatrooms<br> <br>
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="xmlError(java.lang.String, int)"><!-- --></A><H3>
xmlError</H3>
<PRE>
protected java.lang.String <B>xmlError</B>(java.lang.String errorMsg, int code)</PRE>
<DL>
<DD>Returns XML Error.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="xmlGetManager()"><!-- --></A><H3>
xmlGetManager</H3>
<PRE>
protected java.lang.String <B>xmlGetManager</B>()</PRE>
<DL>
<DD>Returns XML Manager.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="xmlGetLanguages()"><!-- --></A><H3>
xmlGetLanguages</H3>
<PRE>
protected java.lang.String <B>xmlGetLanguages</B>() throws <A HREF="../../jChatBox/Chat/ChatException.html">ChatException</A></PRE>
<DL>
<DD>Returns languages list.
<P>
<DD><DL>
<DD><CODE><A HREF="../../jChatBox/Chat/ChatException.html">ChatException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="xmlGetResource(java.lang.String)"><!-- --></A><H3>
xmlGetResource</H3>
<PRE>
protected java.lang.String <B>xmlGetResource</B>(java.lang.String language) throws <A HREF="../../jChatBox/Chat/ChatException.html">ChatException</A></PRE>
<DL>
<DD>Returns XML Resource.
<P>
<DD><DL>
<DD><CODE><A HREF="../../jChatBox/Chat/ChatException.html">ChatException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="xmlGetChatroom(int)"><!-- --></A><H3>
xmlGetChatroom</H3>
<PRE>
protected java.lang.String <B>xmlGetChatroom</B>(int cID) throws <A HREF="../../jChatBox/Chat/ChatException.html">ChatException</A></PRE>
<DL>
<DD>Returns XML Chatroom.
<P>
<DD><DL>
<DD><CODE><A HREF="../../jChatBox/Chat/ChatException.html">ChatException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="xmlGetChat(jChatBox.Chat.ChatroomUser)"><!-- --></A><H3>
xmlGetChat</H3>
<PRE>
protected java.lang.String <B>xmlGetChat</B>(<A HREF="../../jChatBox/Chat/ChatroomUser.html">ChatroomUser</A> cUser) throws <A HREF="../../jChatBox/Chat/ChatException.html">ChatException</A></PRE>
<DL>
<DD>Returns XML Chat.
<P>
<DD><DL>
<DD><CODE><A HREF="../../jChatBox/Chat/ChatException.html">ChatException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="xmlGetChat(jChatBox.Chat.ChatroomUser, javax.servlet.http.HttpSession)"><!-- --></A><H3>
xmlGetChat</H3>
<PRE>
protected java.lang.String <B>xmlGetChat</B>(<A HREF="../../jChatBox/Chat/ChatroomUser.html">ChatroomUser</A> cUser, javax.servlet.http.HttpSession session) throws <A HREF="../../jChatBox/Chat/ChatException.html">ChatException</A></PRE>
<DL>
<DD>Returns XML Chat (only new messages).
<P>
<DD><DL>
<DD><CODE><A HREF="../../jChatBox/Chat/ChatException.html">ChatException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getLoginInstance(java.lang.String)"><!-- --></A><H3>
getLoginInstance</H3>
<PRE>
protected <A HREF="../../jChatBox/Service/Login.html">Login</A> <B>getLoginInstance</B>(java.lang.String classname)</PRE>
<DL>
<DD>Returns Login instantied from full qualified class name.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="trace(int, java.lang.String)"><!-- --></A><H3>
trace</H3>
<PRE>
protected void <B>trace</B>(int level, java.lang.String msg)</PRE>
<DL>
<DD>Sends trace to debug.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../jChatBox/Service/UserProcessor.html"><B>PREV CLASS</B></A>
NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>
<A HREF="XMLConnector.html" TARGET="_top"><B>NO FRAMES</B></A>
<SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->
<HR>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -