|
JCas v0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cas.xml.AbstractCasSaxTagHandler cas.protocol.JCasResponseTag
Parses a response from a server.
Field Summary | |
protected String |
cookie
|
protected String |
errorCode
|
protected String |
errorMessage
|
static String |
NAME
|
protected boolean |
rc
|
protected String |
server
|
Constructor Summary | |
JCasResponseTag()
Creates a new instance of JCasResponseTag |
Method Summary | |
protected AbstractCasSaxTagHandler |
createHandler(String tagName,
Attributes attributes)
Returns a new instance of the handler for the specified sub tag. |
String |
getErrorCode()
|
String |
getErrorMessage()
|
String[] |
getParentTagNames()
Returns the tag names of all possible parents. |
String |
getResponseCookie()
|
boolean |
getReturnCode()
|
String |
getServerName()
|
protected String[] |
getSubTagNames()
Returns the tag names that can appear within this handler but actually do not contain other tags. |
String |
getTagName()
Returns the tag name this handler will take care of. |
void |
setConnectError()
|
void |
setProtocolError()
|
void |
tagCompleted()
Validates the configuration. |
Methods inherited from class cas.xml.AbstractCasSaxTagHandler |
characters, clear, endElement, getHandler, getSubHandler, getSubHandlerCount, getSubHandlers, getSubTag, getSubTag, getSubTagCount, getSubTags, ignoresUnknownTags, setAttributes, setIgnoreUnknownTags, startElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean rc
protected String errorCode
protected String errorMessage
protected String cookie
protected String server
public static final String NAME
Constructor Detail |
public JCasResponseTag()
Method Detail |
protected AbstractCasSaxTagHandler createHandler(String tagName, Attributes attributes)
AbstractCasSaxTagHandler
createHandler
in class AbstractCasSaxTagHandler
tagName
- - name of the sub tag
public String[] getParentTagNames()
AbstractCasSaxTagHandler
getParentTagNames
in class AbstractCasSaxTagHandler
public String getTagName()
CasSaxTagHandler
protected String[] getSubTagNames()
AbstractCasSaxTagHandler
getSubTagNames
in class AbstractCasSaxTagHandler
public void tagCompleted() throws SAXException
AbstractCasSaxTagHandler
tagCompleted
in interface CasSaxTagHandler
tagCompleted
in class AbstractCasSaxTagHandler
SAXException
public String getResponseCookie()
public String getServerName()
public boolean getReturnCode()
public String getErrorMessage()
public String getErrorCode()
public void setProtocolError()
public void setConnectError()
|
JCas v0.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |