Public Member Functions | |
BookmarkContentSink () | |
nsresult | Init (PRBool aAllowRootChanges, nsINavBookmarksService *bookmarkService, PRInt64 aFolder, PRBool aIsImportDefaults) |
NS_DECL_ISUPPORTS NS_IMETHOD | WillParse () |
NS_IMETHOD | WillInterrupt () |
NS_IMETHOD | WillResume () |
NS_IMETHOD | SetParser (nsIParser *aParser) |
virtual void | FlushPendingNotifications (mozFlushType aType) |
NS_IMETHOD | SetDocumentCharset (nsACString &aCharset) |
virtual nsISupports * | GetTarget () |
NS_IMETHOD | OpenHead () |
NS_IMETHOD | BeginContext (PRInt32 aPosition) |
NS_IMETHOD | EndContext (PRInt32 aPosition) |
NS_IMETHOD | IsEnabled (PRInt32 aTag, PRBool *aReturn) |
NS_IMETHOD | DidProcessTokens () |
NS_IMETHOD | WillProcessAToken () |
NS_IMETHOD | DidProcessAToken () |
NS_IMETHOD | OpenContainer (const nsIParserNode &aNode) |
NS_IMETHOD | CloseContainer (const nsHTMLTag aTag) |
NS_IMETHOD | AddLeaf (const nsIParserNode &aNode) |
NS_IMETHOD | AddComment (const nsIParserNode &aNode) |
NS_IMETHOD | AddProcessingInstruction (const nsIParserNode &aNode) |
NS_IMETHOD | AddDocTypeDecl (const nsIParserNode &aNode) |
NS_IMETHOD | NotifyTagObservers (nsIParserNode *aNode) |
NS_IMETHOD_ (PRBool) IsFormOnStack() | |
Protected Member Functions | |
void | HandleContainerBegin (const nsIParserNode &node) |
void | HandleContainerEnd () |
void | HandleHead1Begin (const nsIParserNode &node) |
void | HandleHeadBegin (const nsIParserNode &node) |
void | HandleHeadEnd () |
void | HandleLinkBegin (const nsIParserNode &node) |
void | HandleLinkEnd () |
void | HandleSeparator (const nsIParserNode &node) |
BookmarkImportFrame & | CurFrame () |
BookmarkImportFrame & | PreviousFrame () |
nsresult | NewFrame () |
nsresult | PopFrame () |
nsresult | SetFaviconForURI (nsIURI *aPageURI, nsIURI *aFaviconURI, const nsString &aData) |
PRInt64 | ConvertImportedIdToInternalId (const nsCString &aId) |
PRTime | ConvertImportedDateToInternalDate (const nsACString &aDate) |
Protected Attributes | |
nsCOMPtr< nsINavBookmarksService > | mBookmarksService |
nsCOMPtr< nsINavHistoryService > | mHistoryService |
nsCOMPtr< nsIAnnotationService > | mAnnotationService |
nsCOMPtr< nsILivemarkService > | mLivemarkService |
nsCOMPtr< nsIMicrosummaryService > | mMicrosummaryService |
PRBool | mAllowRootChanges |
PRBool | mIsImportDefaults |
PRBool | mFolderSpecified |
nsTArray< BookmarkImportFrame > | mFrames |
The content sink stuff is based loosely on
Definition at line 344 of file nsPlacesImportExportService.cpp.
BookmarkContentSink::BookmarkContentSink | ( | ) |
Definition at line 453 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 377 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 379 of file nsPlacesImportExportService.cpp.
NS_IMETHODIMP BookmarkContentSink::AddLeaf | ( | const nsIParserNode & | aNode | ) |
Definition at line 629 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 378 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 367 of file nsPlacesImportExportService.cpp.
NS_IMETHODIMP BookmarkContentSink::CloseContainer | ( | const nsHTMLTag | aTag | ) |
Definition at line 537 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 1378 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 1365 of file nsPlacesImportExportService.cpp.
|
inlineprotected |
Definition at line 424 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 373 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 371 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 368 of file nsPlacesImportExportService.cpp.
|
inlinevirtual |
Definition at line 361 of file nsPlacesImportExportService.cpp.
|
inlinevirtual |
Definition at line 363 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 661 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 674 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 700 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 730 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 799 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 812 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 1024 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 1124 of file nsPlacesImportExportService.cpp.
nsresult BookmarkContentSink::Init | ( | PRBool | aAllowRootChanges, |
nsINavBookmarksService * | bookmarkService, | ||
PRInt64 | aFolder, | ||
PRBool | aIsImportDefaults | ||
) |
Definition at line 464 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 369 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 1164 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 380 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 381 of file nsPlacesImportExportService.cpp.
NS_IMETHOD BookmarkContentSink::OpenContainer | ( | const nsIParserNode & | aNode | ) |
|
inline |
Definition at line 366 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 1273 of file nsPlacesImportExportService.cpp.
|
inlineprotected |
Definition at line 429 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 362 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 1299 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 360 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 358 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 357 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 372 of file nsPlacesImportExportService.cpp.
|
inline |
Definition at line 359 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 396 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 386 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 384 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 408 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 423 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 385 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 403 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 387 of file nsPlacesImportExportService.cpp.
|
protected |
Definition at line 388 of file nsPlacesImportExportService.cpp.