com.google.code.linkedinapi.schema.xpp
Class LocationImpl

java.lang.Object
  extended by com.google.code.linkedinapi.schema.xpp.BaseSchemaEntity
      extended by com.google.code.linkedinapi.schema.xpp.LocationImpl
All Implemented Interfaces:
Location, SchemaEntity, java.io.Serializable

public class LocationImpl
extends BaseSchemaEntity
implements Location

See Also:
Serialized Form

Field Summary
protected  CountryImpl country
           
protected  java.lang.String name
           
private static long serialVersionUID
           
 
Fields inherited from class com.google.code.linkedinapi.schema.xpp.BaseSchemaEntity
LOG
 
Constructor Summary
LocationImpl()
           
 
Method Summary
 Country getCountry()
          Gets the value of the country property.
 java.lang.String getName()
          Gets the value of the name property.
 void init(org.xmlpull.v1.XmlPullParser parser)
          Inits the.
 void setCountry(Country value)
          Sets the value of the country property.
 void setName(java.lang.String value)
          Sets the value of the name 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

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

name

protected java.lang.String name

country

protected CountryImpl country
Constructor Detail

LocationImpl

public LocationImpl()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: Location
Gets the value of the name property.

Specified by:
getName in interface Location
Returns:
possible object is String

setName

public void setName(java.lang.String value)
Description copied from interface: Location
Sets the value of the name property.

Specified by:
setName in interface Location
Parameters:
value - allowed object is String

getCountry

public Country getCountry()
Description copied from interface: Location
Gets the value of the country property.

Specified by:
getCountry in interface Location
Returns:
possible object is Country

setCountry

public void setCountry(Country value)
Description copied from interface: Location
Sets the value of the country property.

Specified by:
setCountry in interface Location
Parameters:
value - allowed object is Country

init

public void init(org.xmlpull.v1.XmlPullParser parser)
          throws java.io.IOException,
                 org.xmlpull.v1.XmlPullParserException
Description copied from class: BaseSchemaEntity
Inits the.

Specified by:
init in class BaseSchemaEntity
Parameters:
parser - the element
Throws:
java.io.IOException - TODO
org.xmlpull.v1.XmlPullParserException - TODO

toXml

public void toXml(org.xmlpull.v1.XmlSerializer serializer)
           throws java.io.IOException
Description copied from class: BaseSchemaEntity
To xml.

Specified by:
toXml in class BaseSchemaEntity
Parameters:
serializer - the document
Throws:
java.io.IOException - TODO