本文整理汇总了Java中org.ksoap2.serialization.PropertyInfo.STRING_CLASS属性的典型用法代码示例。如果您正苦于以下问题:Java PropertyInfo.STRING_CLASS属性的具体用法?Java PropertyInfo.STRING_CLASS怎么用?Java PropertyInfo.STRING_CLASS使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类org.ksoap2.serialization.PropertyInfo
的用法示例。
在下文中一共展示了PropertyInfo.STRING_CLASS属性的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getPropertyInfo
@SuppressWarnings("rawtypes")
public void getPropertyInfo(int i, Hashtable h, PropertyInfo pi) {
MakeModelProp mmp = MakeModelProp.values()[i];
switch (mmp) {
case pidMakeModelID:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "MakeModelID";
break;
case pidModelName:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "ModelName";
break;
default:
break;
}
}
示例2: getPropertyInfo
public void getPropertyInfo(int i, Hashtable arg1, PropertyInfo pi) {
CatClassProp ccp = CatClassProp.values()[i];
switch (ccp) {
// Date properties.
case pidCatClass:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "CatClass";
break;
case pidCategory:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "Category";
break;
case pidClass:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "Class";
break;
case pidAltCatClass:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "AltCatClass";
break;
case pidCatClassId:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "IdCatClass";
break;
}
}
示例3: getPropertyInfo
@Override
public void getPropertyInfo(int arg0, Hashtable arg1, PropertyInfo arg2) {
switch(arg0){
case 0: arg2.name="dataNadania"; arg2.type=Date.class; break;
case 1: arg2.name="kodKrajuNadania"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 2: arg2.name="kodKrajuPrzezn"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 3: arg2.name="kodRodzPrzes"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 4: arg2.name="krajNadania"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 5: arg2.name="krajPrzezn"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 6: arg2.name="masa"; arg2.type=Double.class; break;
case 7: arg2.name="numer"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 8: arg2.name="rodzPrzes"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 9: arg2.name="urzadNadania"; arg2.type=Jednostka.class; break;
case 10: arg2.name="urzadPrzezn"; arg2.type=Jednostka.class; break;
case 11: arg2.name="zakonczonoObsluge"; arg2.type=PropertyInfo.BOOLEAN_CLASS; break;
case 12: arg2.name="zdarzenia"; arg2.type=PropertyInfo.VECTOR_CLASS; break;
}
}
示例4: getPropertyInfo
@SuppressWarnings("rawtypes")
public void getPropertyInfo(int arg0, Hashtable h, PropertyInfo pi) {
FPProp f = FPProp.values()[arg0];
switch (f) {
case pidPropId:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "PropID";
break;
case pidFlightID:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "FlightID";
break;
case pidPropTypeId:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "PropTypeID";
break;
case pidIntValue:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "IntValue";
break;
case pidBoolValue:
pi.type = PropertyInfo.BOOLEAN_CLASS;
pi.name = "BoolValue";
break;
case pidDecValue:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "DecValue";
break;
case pidDateValue:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "DateValue";
break;
case pidStringValue:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "TextValue";
break;
}
}
示例5: getPropertyInfo
@SuppressWarnings("rawtypes")
public void getPropertyInfo(int i, Hashtable h, PropertyInfo pi) {
VisitedAirportProp vap = VisitedAirportProp.values()[i];
switch (vap) {
case pidCode:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "Code";
break;
case pidAliases:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "Aliases";
break;
case pidEarliestDate:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "EarliestVisitDate";
break;
case pidLatestDate:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "LatestVisitDate";
break;
case pidNumVisits:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "NumberOfVisits";
break;
case pidAirport:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "Airport";
break;
}
}
示例6: getPropertyInfo
public void getPropertyInfo(int i, Hashtable h, PropertyInfo pi) {
AirportProp apProp = AirportProp.values()[i];
switch (apProp) {
case pidAirportID:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "Code";
break;
case pidFacilityName:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "Name";
break;
case pidType:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "FacilityTypeCode";
break;
case pidLatitude:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "Latitude";
break;
case pidLongitude:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "Longitude";
break;
case pidDistance:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "DistanceFromPosition";
break;
}
}
示例7: getPropertyInfo
@Override
public void getPropertyInfo(int i, Hashtable hashtable, PropertyInfo propertyInfo) {
if (fields_map != null) {
Field f = fields_map.get(i);
if (f.getType().equals(String.class))
propertyInfo.type = PropertyInfo.STRING_CLASS;
else
propertyInfo.type = f.getClass();
String prpname = f.getAnnotation(JSoapReqField.class).fieldName();
if (prpname.equals("JSOAP_DEFAULT_FIELDNAME"))
propertyInfo.name = f.getName();
else
propertyInfo.name = f.getAnnotation(JSoapReqField.class).fieldName();
String prpns = f.getAnnotation(JSoapReqField.class).namespace();
if (prpns.equals("JSOAP_DEFAULT_NAMESPACE")) {
if (this.getClass().getAnnotation(JSoapClass.class) != null) {
String ns = this.getClass().getAnnotation(JSoapClass.class).namespace();
if (ns==null)
Log.e("JSoap", "Missing namespace in field " + f.getName() + " in class " + this.getClass() + ". Either declare it at the field SoapRequestElement annotation or at the class SoapRequestClass annotation");
else
propertyInfo.namespace = ns;
}
else {
Log.e("JSoap", "Missing namespace in field " + f.getName() + " in class " + this.getClass() + ". Either declare it at the field SoapRequestElement annotation or at the class SoapRequestClass annotation");
}
}
else {
propertyInfo.namespace = prpns;
}
}
}
示例8: getPropertyInfo
@Override
public void getPropertyInfo(int arg0, Hashtable arg1, PropertyInfo arg2) {
switch(arg0){
case 0: arg2.name="nazwa"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 1: arg2.name="kod"; arg2.type=PropertyInfo.STRING_CLASS; break;
}
}
示例9: getPropertyInfo
@Override
public void getPropertyInfo(int arg0, Hashtable arg1, PropertyInfo arg2) {
switch(arg0){
case 0: arg2.name="daneSzczegolowe"; arg2.type=SoapObject.class; break;
case 1: arg2.name="nazwa"; arg2.type=PropertyInfo.STRING_CLASS; break;
}
}
示例10: getPropertyInfo
@Override
public void getPropertyInfo(int arg0, Hashtable arg1, PropertyInfo arg2) {
switch(arg0){
case 0: arg2.name="czas"; arg2.type=MarshalDate.DATE_CLASS; break;
case 1: arg2.name="jednostka"; arg2.type=Jednostka.class; break;
case 2: arg2.name="kod"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 3: arg2.name="konczace"; arg2.type=PropertyInfo.BOOLEAN_CLASS; break;
case 4: arg2.name="nazwa"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 5: arg2.name="przyczyna"; arg2.type=Przyczyna.class; break;
}
}
示例11: getPropertyInfo
@Override
public void getPropertyInfo(int arg0, Hashtable arg1, PropertyInfo arg2) {
switch(arg0){
case 0: arg2.name="status"; arg2.type=PropertyInfo.INTEGER_CLASS; break;
case 1: arg2.name="numer"; arg2.type=PropertyInfo.STRING_CLASS; break;
case 2: arg2.name="danePrzesylki"; arg2.type=DanePrzesylki.class; break;
}
}
示例12: getPropertyInfo
@Override
public void getPropertyInfo(int arg0, Hashtable arg1, PropertyInfo arg2) {
switch (arg0) {
case 0:
arg2.type = PropertyInfo.STRING_CLASS;
arg2.name = "gid";
break;
case 1:
arg2.type = PropertyInfo.STRING_CLASS;
arg2.name = "groupname";
break;
case 2:
arg2.type = PropertyInfo.STRING_CLASS;
arg2.name = "place";
break;
case 3:
arg2.type = PropertyInfo.STRING_CLASS;
arg2.name = "time";
break;
case 4:
arg2.type = PropertyInfo.STRING_CLASS;
arg2.name = "info";
break;
case 5:
arg2.type = PropertyInfo.STRING_CLASS;
arg2.name = "sponsor";
break;
default:
break;
}
}
示例13: getPropertyInfo
public void getPropertyInfo(int arg0, Hashtable h, PropertyInfo pi) {
FPProp f = FPProp.values()[arg0];
switch (f) {
case pidComment:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "Comment";
break;
case pidVirtualPath:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "VirtualPath";
break;
case pidThumbnailFile:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "ThumbnailFile";
break;
case pidURLFullImage:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "URLFullImage";
break;
case pidWidth:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "Width";
break;
case pidHeight:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "Height";
break;
case pidTHWidth:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "WidthThumbnail";
break;
case pidTHHeight:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "HeightThumbnail";
break;
case pidLocation:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "Location";
break;
case pidImageType:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "ImageType";
break;
default:
break;
}
}
示例14: getPropertyInfo
@SuppressWarnings("rawtypes")
public void getPropertyInfo(int arg0, Hashtable arg1, PropertyInfo pi) {
cptPropID pid = cptPropID.values()[arg0];
switch (pid) {
case pidFavorite:
pi.type = PropertyInfo.BOOLEAN_CLASS;
pi.name = "IsFavorite";
break;
case pidFlags:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "Flags";
break;
case pidFormatString:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "FormatString";
break;
case pidDescription:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "Description";
break;
case pidIDPropType:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "PropTypeID";
break;
case pidTitle:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "Title";
break;
case pidSortKey:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "SortKey";
break;
case pidType:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "Type";
break;
case pidPreviousValues:
pi.type = PropertyInfo.VECTOR_CLASS;
pi.name = "PreviousValues";
pi.elementType = new PropertyInfo();
pi.elementType.type = PropertyInfo.STRING_CLASS;
pi.elementType.name = "string";
break;
}
}
示例15: getPropertyInfo
@SuppressWarnings("rawtypes")
public void getPropertyInfo(int i, @SuppressWarnings("rawtypes") Hashtable h, PropertyInfo pi) {
AircraftProp ap = AircraftProp.values()[i];
switch (ap) {
case pidTailNumber:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "TailNumber";
break;
case pidAircratID:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "AircraftID";
break;
case pidModelID:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "ModelID";
break;
case pidInstanctTypeID:
pi.type = PropertyInfo.INTEGER_CLASS;
pi.name = "InstanceTypeID";
break;
case pidLastVOR:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "LastVOR";
break;
case pidLastAltimeter:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "LastAltimeter";
break;
case pidLastTransponder:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "LastTransponder";
break;
case pidLastELT:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "LastELT";
break;
case pidLastStatic:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "LastStatic";
break;
case pidLastAnnual:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "LastAnnual";
break;
case pidRegistrationDue:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "RegistrationDue";
break;
case pidLast100:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "Last100";
break;
case pidLastOil:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "LastOilChange";
break;
case pidLastEngine:
pi.type = PropertyInfo.OBJECT_CLASS;
pi.name = "LastNewEngine";
break;
case pidHideFromSelection:
pi.type = PropertyInfo.BOOLEAN_CLASS;
pi.name = "HideFromSelection";
break;
case pidPilotRole:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "RoleForPilot";
break;
case pidPublicNotes:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "PublicNotes";
break;
case pidPrivateNotes:
pi.type = PropertyInfo.STRING_CLASS;
pi.name = "PrivateNotes";
break;
default:
break;
}
}