@NotThreadSafe public class XcodeprojSerializer extends Object
PBXObject
) into an Apple property list.
Serialization proceeds from the root object, a ${link PBXProject} instance, to all of its
referenced objects. Each object being visited calls back into this class (addField(java.lang.String, com.facebook.buck.apple.xcode.xcodeproj.PBXObject)
) to
populate the plist representation with its fields.
Constructor and Description |
---|
XcodeprojSerializer(GidGenerator gidGenerator,
PBXProject project) |
Modifier and Type | Method and Description |
---|---|
void |
addField(String name,
boolean val) |
void |
addField(String name,
int val) |
void |
addField(String name,
List<? extends PBXObject> objectList) |
void |
addField(String name,
com.dd.plist.NSObject v) |
void |
addField(String name,
PBXObject obj) |
void |
addField(String name,
String val) |
com.dd.plist.NSDictionary |
toPlist()
Generate a plist serialization of project bound to this serializer.
|
public XcodeprojSerializer(GidGenerator gidGenerator, PBXProject project)
public com.dd.plist.NSDictionary toPlist()
public void addField(String name, int val)
public void addField(String name, boolean val)
public void addField(String name, com.dd.plist.NSObject v)