Class PBXObject
- java.lang.Object
-
- com.facebook.buck.apple.xcode.xcodeproj.PBXObject
-
- Direct Known Subclasses:
PBXContainer
,PBXContainerItem
public abstract class PBXObject extends Object
-
-
Constructor Summary
Constructors Constructor Description PBXObject()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
generateGid(GidGenerator generator)
Generate a stable GID.String
getGlobalID()
abstract String
isa()
void
serializeInto(XcodeprojSerializer serializer)
Populates the serializer with the fields of this object.void
setGlobalID(String gid)
int
stableHash()
This method is used to generate stable GIDs and must be stable for identical contents.String
toString()
-
-
-
Method Detail
-
setGlobalID
public void setGlobalID(String gid)
-
isa
public abstract String isa()
- Returns:
- Type name of the serialized object.
-
serializeInto
public void serializeInto(XcodeprojSerializer serializer)
Populates the serializer with the fields of this object.
-
stableHash
public int stableHash()
This method is used to generate stable GIDs and must be stable for identical contents. Returning a constant value is ok but will make the generated project order-dependent.
-
generateGid
public final String generateGid(GidGenerator generator)
Generate a stable GID.
-
-