public vObjectProperty(String prname, vObject owner) { _propowner = owner; _propname = prname; _par = new ArrayList(); _enc = _propowner.ObjectEncoding; }
public EndDateTime(vObject owner, ISODateTime dt) : base("DTEND", owner) { _val = dt; }
public DateTimeCompleted(vObject owner,ISODateTime dt):base("COMPLETED",owner) { _val=dt; }
public ProductID(vObject owner,TextValue prid): base("PRODID",owner) { _val=prid; }
public Status(vObject owner,StatusValue.PosVal vl): base("STATUS",owner) { _val=new StatusValue(vl); }
public ExtensionProperty(String pn,vObject owner): base(pn,owner) { _val=new TextValue(); }
public Priority(vObject owner,PriorityValue vl):base("PRIORITY",owner) { _val=vl; }
public StartDateTime(vObject owner):base("DTSTART",owner) { _val=new ISODateTime(); }
public Priority(vObject owner, PriorityValue vl) : base("PRIORITY", owner) { _val = vl; }
public Priority(vObject owner, int pr) : base("PRIORITY", owner) { _val = new PriorityValue(pr); }
public StartDateTime(vObject owner, String ds) : base("DTSTART", owner) { _val = new ISODateTime(ds); }
public GeographicPosition(vObject owner) : base("GEO", owner) { _val = new GeographicCoordinates(); }
public StartDateTime(vObject owner, ISODateTime dt) : base("DTSTART", owner) { _val = dt; }
public StartDateTime(vObject owner) : base("DTSTART", owner) { _val = new ISODateTime(); }
public EndDateTime(vObject owner, String ds) : base("DTEND", owner) { _val = new ISODateTime(ds); }
public DueDateTime(vObject owner,String ds):base("DUE",owner) { _val=new ISODateTime(ds); }
public EndDateTime(vObject owner,ISODateTime dt):base("DTEND",owner) { _val=dt; }
public Summary(vObject owner) : base("SUMMARY", owner) { _val = new TextValue(); }
public StartDateTime(vObject owner,String ds):base("DTSTART",owner) { _val=new ISODateTime(ds); }
public GeographicPosition(vObject owner, GeographicCoordinates crd) : base("GEO", owner) { _val = crd; }
public Summary(vObject owner): base("SUMMARY",owner) { _val=new TextValue(); }
public Summary(vObject owner, String st) : base("SUMMARY", owner) { _val = new TextValue(st); }
public OptionalProperty(String pn,vObject owner): base(pn,owner) { _val=new TextValue(); }
public ExtensionProperty(String pn, vObject owner) : base(pn, owner) { _val = new TextValue(); }
public NameProperty(vObject owner,String nm): base("N",owner) { _val=new TextValue(nm); }
public OptionalProperty(String pn, vObject owner) : base(pn, owner) { _val = new TextValue(); }
public DateTimeCreated(vObject owner,ISODateTime vl): base("DCREATED",owner) { _val=vl; }
public Status(vObject owner) : base("STATUS", owner) { _val = new StatusValue(); }
public Description(vObject owner): base("DESCRIPTION",owner) { _val=new TextValue(); }
public Status(vObject owner, StatusValue.PosVal vl) : base("STATUS", owner) { _val = new StatusValue(vl); }
public DueDateTime(vObject owner,ISODateTime dt):base("DUE",owner) { _val=dt; }
public NameProperty(vObject owner) : base("N", owner) { _val = new TextValue(); }
public EndDateTime(vObject owner):base("DTEND",owner) { _val=new ISODateTime(); }
public NameProperty(vObject owner, String nm) : base("N", owner) { _val = new TextValue(nm); }
public EndDateTime(vObject owner,String ds):base("DTEND",owner) { _val=new ISODateTime(ds); }
public ProductID(vObject owner) : base("PRODID", owner) { _val = new TextValue(); }
public StartDateTime(vObject owner,ISODateTime dt):base("DTSTART",owner) { _val=dt; }
public ProductID(vObject owner, TextValue prid) : base("PRODID", owner) { _val = prid; }
public Priority(vObject owner,int pr):base("PRIORITY",owner) { _val=new PriorityValue(pr); }
public DateTimeCreated(vObject owner) : base("DCREATED", owner) { _val = new ISODateTime(); }
public GeographicPosition(vObject owner): base("GEO",owner) { _val=new GeographicCoordinates(); }
public DateTimeCreated(vObject owner, ISODateTime vl) : base("DCREATED", owner) { _val = vl; }
public Summary(vObject owner,String st): base("SUMMARY",owner) { _val=new TextValue(st); }
public DateTimeCreated(vObject owner, String sd) : base("DCREATED", owner) { _val = new ISODateTime(sd); }
public GeographicPosition(vObject owner,GeographicCoordinates crd): base("GEO",owner) { _val=crd; }
public Description(vObject owner) : base("DESCRIPTION", owner) { _val = new TextValue(); }
public Status(vObject owner): base("STATUS",owner) { _val=new StatusValue(); }
public DateTimeCompleted(vObject owner, ISODateTime dt) : base("COMPLETED", owner) { _val = dt; }
public NameProperty(vObject owner): base("N",owner) { _val=new TextValue(); }
public DateTimeCompleted(vObject owner, String ds) : base("COMPLETED", owner) { _val = new ISODateTime(ds); }
public ProductID(vObject owner): base("PRODID",owner) { _val=new TextValue(); }
public PropertyComposite(String nm, vObject own) : base(nm, own) { _GrName = nm; Owner = own; _Properties = new ArrayList(); }
public DateTimeCreated(vObject owner): base("DCREATED",owner) { _val=new ISODateTime(); }
public void AddEntity(vObject ent) { _Entities.Add(ent); }
public DateTimeCreated(vObject owner,String sd): base("DCREATED",owner) { _val=new ISODateTime(sd); }
public override void ParseFromStream(StreamReader sr) { String tkn = ""; while (true) { tkn = Parser.GetToken(sr); if (tkn == "END") { tkn = Parser.GetToken(sr); if (tkn != ":") { throw new InvalidDocumentStructureExeption(); } tkn = Parser.GetToken(sr); if (tkn != "VCALENDAR") { throw new InvalidDocumentStructureExeption(); } return; } vObjectProperty pr = null; switch (tkn) { case "BEGIN": { tkn = Parser.GetToken(sr); if (tkn != ":") { throw new InvalidDocumentStructureExeption(); } tkn = Parser.GetToken(sr); vObject ent = null; if (tkn == "VEVENT") { ent = new vEvent(); } if (tkn == "VTODO") { ent = new vTodo(); } if ((tkn != "VEVENT") && (tkn != "VTODO")) { throw new InvalidDocumentStructureExeption(); } ent.ParseFromStream(sr); AddEntity(ent); break; } case "GEO": pr = new GeographicPosition(this); break; case "PRODID": pr = new ProductID(this); break; case "TZ": pr = new TZone(this); break; case "VERSION": pr = new SpecificationVersion(this); break; default: if (tkn.Substring(0, 2) == "X-") // Extention property { pr = new ExtensionProperty(tkn, this); } else // Comment this if optional properties support is not required { pr = new OptionalProperty(tkn, this); } break; } if (pr != null) { pr.ParseFromStream(sr); SetProperty(pr); } } }
public DateTimeCompleted(vObject owner,String ds):base("COMPLETED",owner) { _val=new ISODateTime(ds); }
public DueDateTime(vObject owner):base("DUE",owner) { _val=new ISODateTime(); }
public LastModified(vObject owner): base("LAST-MODIFIED",owner) { _val=new ISODateTime(); }
public EndDateTime(vObject owner) : base("DTEND", owner) { _val = new ISODateTime(); }