|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbackend.domainObjects.Result
public class Result
This class assumes that there is one and only one <groups> thingy in the whole <result> thingy. I use the word "thingy" because I don't know what you'd call it---I'm not familiar with XML. Maybe "section" is the word I'm looking for, but I'm not 100% sure. This class contains a single list of groups, which is abstracted from another class, the APGroupList class. In some ways, it works as a wrapper class for APGroupList, but really, this class serves to correspond to the <result> tags in XML and it helps keep things distinct in the parsing implementation.
| Constructor Summary | |
|---|---|
Result()
|
|
| Method Summary | |
|---|---|
void |
fromXML(org.kxml2.io.KXmlParser theParser)
This is the master XML-parsing method. |
java.lang.String |
getErrorMessage()
If the result is an error message, this will return the error message received. |
APGroupList |
getList()
This returns the list of access point groups, and it's the only way to get at the data that a Result-type object parses from XML |
boolean |
isError()
Returns a boolean that tells whether the result picked up an error or not. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Result()
| Method Detail |
|---|
public boolean isError()
public java.lang.String getErrorMessage()
public APGroupList getList()
public void fromXML(org.kxml2.io.KXmlParser theParser)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||