android.syncml.pim
Class VDataBuilder
java.lang.Object
android.syncml.pim.VDataBuilder
- All Implemented Interfaces:
- VBuilder
public class VDataBuilder
- extends Object
- implements VBuilder
Store the parse result to custom datastruct: VNode, PropertyNode
Maybe several vcard instance, so use vNodeList to store.
VNode: standy by a vcard instance.
PropertyNode: standy by a property line of a card.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vNodeList
public ArrayList<VNode> vNodeList
- type=VNode
nodeListPos
int nodeListPos
curVNode
VNode curVNode
curPropNode
PropertyNode curPropNode
curParamType
String curParamType
VDataBuilder
public VDataBuilder()
start
public void start()
- Specified by:
start in interface VBuilder
end
public void end()
- Specified by:
end in interface VBuilder
startRecord
public void startRecord(String type)
- Specified by:
startRecord in interface VBuilder
- Parameters:
type - VXX
BEGIN:VXX
endRecord
public void endRecord()
- Description copied from interface:
VBuilder
- END:VXX
- Specified by:
endRecord in interface VBuilder
startProperty
public void startProperty()
- Specified by:
startProperty in interface VBuilder
endProperty
public void endProperty()
- Specified by:
endProperty in interface VBuilder
propertyName
public void propertyName(String name)
- Specified by:
propertyName in interface VBuilder
- Parameters:
name - a.N
a.N
propertyParamType
public void propertyParamType(String type)
- Specified by:
propertyParamType in interface VBuilder
- Parameters:
type - LANGUAGE \ ENCODING
;LANGUage= \ ;ENCODING=
propertyParamValue
public void propertyParamValue(String value)
- Specified by:
propertyParamValue in interface VBuilder
- Parameters:
value - FR-EN \ GBK
FR-EN \ GBK
propertyValues
public void propertyValues(Collection<String> values)
- Specified by:
propertyValues in interface VBuilder
getResult
public String getResult()
Please submit a feedback, bug or feature