|
Public Member Functions |
| | PXML (int options=-1, const char *noIndentElements=NULL) |
| | PXML (const PString &data, int options=-1, const char *noIndentElements=NULL) |
| | PXML (const PXML &xml) |
| | ~PXML () |
| BOOL | IsDirty () const |
| BOOL | Load (const PString &data, int options=-1) |
| BOOL | StartAutoReloadURL (const PURL &url, const PTimeInterval &timeout, const PTimeInterval &refreshTime, int _options=-1) |
| BOOL | StopAutoReloadURL () |
| PString | GetAutoReloadStatus () |
| BOOL | AutoLoadURL () |
| virtual void | OnAutoLoad (BOOL ok) |
| BOOL | LoadURL (const PURL &url) |
| BOOL | LoadURL (const PURL &url, const PTimeInterval &timeout, int _options=-1) |
| BOOL | LoadFile (const PFilePath &fn, int options=-1) |
| virtual void | OnLoaded () |
| BOOL | Save (int options=-1) |
| BOOL | Save (PString &data, int options=-1) |
| BOOL | SaveFile (const PFilePath &fn, int options=-1) |
| void | RemoveAll () |
| BOOL | IsNoIndentElement (const PString &elementName) const |
| void | PrintOn (ostream &strm) const |
| PXMLElement * | GetElement (const PCaselessString &name, PINDEX idx=0) const |
| PXMLElement * | GetElement (PINDEX idx) const |
| PINDEX | GetNumElements () const |
| PXMLElement * | GetRootElement () const |
| PXMLElement * | SetRootElement (PXMLElement *p) |
| PXMLElement * | SetRootElement (const PString &documentType) |
| BOOL | RemoveElement (PINDEX idx) |
| PCaselessString | GetDocumentType () const |
| PString | GetErrorString () const |
| PINDEX | GetErrorColumn () const |
| PINDEX | GetErrorLine () const |
| PString | GetDocType () const |
| void | SetDocType (const PString &v) |
| PMutex & | GetMutex () |
| | PDECLARE_NOTIFIER (PTimer, PXML, AutoReloadTimeout) |
| | PDECLARE_NOTIFIER (PThread, PXML, AutoReloadThread) |
Static Public Member Functions |
| static PString | CreateStartTag (const PString &text) |
| static PString | CreateEndTag (const PString &text) |
| static PString | CreateTagNoData (const PString &text) |
| static PString | CreateTag (const PString &text, const PString &data) |
Protected Member Functions |
| void | Construct (int options, const char *noIndentElements) |
Protected Attributes |
| PXMLElement * | rootElement |
| PMutex | rootMutex |
| BOOL | loadFromFile |
| PFilePath | loadFilename |
| PString | version |
| PString | encoding |
| int | standAlone |
| PTimer | autoLoadTimer |
| PURL | autoloadURL |
| PTimeInterval | autoLoadWaitTime |
| PMutex | autoLoadMutex |
| PString | autoLoadError |
| PString | errorString |
| PINDEX | errorCol |
| PINDEX | errorLine |
| PSortedStringList | noIndentElements |
| PString | docType |