|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.code.linkedinapi.schema.xpp.BaseSchemaEntity
com.google.code.linkedinapi.schema.xpp.AnswersImpl
public class AnswersImpl
Field Summary | |
---|---|
protected java.util.List<Answer> |
answerList
|
protected java.lang.Long |
count
|
private static long |
serialVersionUID
|
Fields inherited from class com.google.code.linkedinapi.schema.xpp.BaseSchemaEntity |
---|
LOG |
Constructor Summary | |
---|---|
AnswersImpl()
|
Method Summary | |
---|---|
java.util.List<Answer> |
getAnswerList()
Gets the value of the answerList property. |
java.lang.Long |
getCount()
Gets the value of the count property. |
void |
init(org.xmlpull.v1.XmlPullParser parser)
Inits the. |
void |
setCount(java.lang.Long value)
Sets the value of the count property. |
void |
toXml(org.xmlpull.v1.XmlSerializer serializer)
To xml. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
protected java.util.List<Answer> answerList
protected java.lang.Long count
Constructor Detail |
---|
public AnswersImpl()
Method Detail |
---|
public java.util.List<Answer> getAnswerList()
Answers
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the answerList property.
For example, to add a new item, do as follows:
getAnswerList().add(newItem);
Objects of the following type(s) are allowed in the list
Answer
getAnswerList
in interface Answers
public java.lang.Long getCount()
Answers
getCount
in interface Answers
String
public void setCount(java.lang.Long value)
Answers
setCount
in interface Answers
value
- allowed object is
String
public void init(org.xmlpull.v1.XmlPullParser parser) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException
BaseSchemaEntity
init
in class BaseSchemaEntity
parser
- the element
java.io.IOException
- TODO
org.xmlpull.v1.XmlPullParserException
- TODOpublic void toXml(org.xmlpull.v1.XmlSerializer serializer) throws java.io.IOException
BaseSchemaEntity
toXml
in class BaseSchemaEntity
serializer
- the document
java.io.IOException
- TODO
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |