webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Static Public Member Functions | List of all members
WebCore::XMLDocumentParser Class Referencefinal

#include <XMLDocumentParser.h>

Inheritance diagram for WebCore::XMLDocumentParser:
WebCore::ScriptableDocumentParser WebCore::PendingScriptClient WebCore::DecodedDataDocumentParser WebCore::DocumentParser WTF::RefCounted< DocumentParser > WTF::RefCounted< DocumentParser > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Member Functions

 ~XMLDocumentParser ()
 
void handleError (XMLErrors::ErrorType, const char *message, TextPosition)
 
void setIsXHTMLDocument (bool isXHTML)
 
bool isXHTMLDocument () const
 
bool wellFormed () const final
 
void error (XMLErrors::ErrorType, const char *message, va_list args) WTF_ATTRIBUTE_PRINTF(3
 
void void startElementNs (const xmlChar *xmlLocalName, const xmlChar *xmlPrefix, const xmlChar *xmlURI, int numNamespaces, const xmlChar **namespaces, int numAttributes, int numDefaulted, const xmlChar **libxmlAttributes)
 
void endElementNs ()
 
void characters (const xmlChar *, int length)
 
void processingInstruction (const xmlChar *target, const xmlChar *data)
 
void cdataBlock (const xmlChar *, int length)
 
void comment (const xmlChar *)
 
void startDocument (const xmlChar *version, const xmlChar *encoding, int standalone)
 
void internalSubset (const xmlChar *name, const xmlChar *externalID, const xmlChar *systemID)
 
void endDocument ()
 
bool isParsingEntityDeclaration () const
 
void setIsParsingEntityDeclaration (bool value)
 
int depthTriggeringEntityExpansion () const
 
void setDepthTriggeringEntityExpansion (int depth)
 
- Public Member Functions inherited from WebCore::ScriptableDocumentParser
virtual bool isExecutingScript () const
 
virtual bool hasScriptsWaitingForStylesheets () const
 
void executeScriptsWaitingForStylesheetsSoon ()
 
void setWasCreatedByScript (bool wasCreatedByScript)
 
bool wasCreatedByScript () const
 
ParserContentPolicy parserContentPolicy ()
 
- Public Member Functions inherited from WebCore::DocumentParser
virtual ~DocumentParser ()
 
virtual bool hasInsertionPoint ()
 
virtual bool processingData () const
 
Documentdocument () const
 
bool isParsing () const
 
bool isStopping () const
 
bool isStopped () const
 
bool isDetached () const
 
virtual void startParsing ()
 
virtual void prepareToStopParsing ()
 
void setDocumentWasLoadedAsPartOfNavigation ()
 
bool documentWasLoadedAsPartOfNavigation () const
 
virtual void suspendScheduledTasks ()
 
virtual void resumeScheduledTasks ()
 
virtual ~DocumentParser ()
 
virtual bool hasInsertionPoint ()
 
virtual bool processingData () const
 
Documentdocument () const
 
bool isParsing () const
 
bool isStopping () const
 
bool isStopped () const
 
bool isDetached () const
 
virtual void startParsing ()
 
virtual void prepareToStopParsing ()
 
void setDocumentWasLoadedAsPartOfNavigation ()
 
bool documentWasLoadedAsPartOfNavigation () const
 
virtual void suspendScheduledTasks ()
 
virtual void resumeScheduledTasks ()
 
- Public Member Functions inherited from WTF::RefCounted< DocumentParser >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
- Public Member Functions inherited from WebCore::PendingScriptClient
virtual ~PendingScriptClient ()
 

Static Public Member Functions

static Ref< XMLDocumentParsercreate (Document &document, FrameView *view)
 
static Ref< XMLDocumentParsercreate (DocumentFragment &fragment, Element *element, ParserContentPolicy parserContentPolicy)
 
static bool parseDocumentFragment (const String &, DocumentFragment &, Element *parent=nullptr, ParserContentPolicy=AllowScriptingContent)
 
static bool supportsXMLVersion (const String &)
 

Additional Inherited Members

- Protected Member Functions inherited from WebCore::ScriptableDocumentParser
 ScriptableDocumentParser (Document &, ParserContentPolicy=AllowScriptingContent)
 
virtual void executeScriptsWaitingForStylesheets ()
 
- Protected Member Functions inherited from WebCore::DecodedDataDocumentParser
 DecodedDataDocumentParser (Document &)
 
- Protected Member Functions inherited from WebCore::DocumentParser
 DocumentParser (Document &)
 
 DocumentParser (Document &)
 
- Protected Member Functions inherited from WTF::RefCounted< DocumentParser >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Constructor & Destructor Documentation

◆ ~XMLDocumentParser()

WebCore::XMLDocumentParser::~XMLDocumentParser ( )

Member Function Documentation

◆ cdataBlock()

void WebCore::XMLDocumentParser::cdataBlock ( const xmlChar *  s,
int  length 
)

◆ characters()

void WebCore::XMLDocumentParser::characters ( const xmlChar *  characters,
int  length 
)

◆ comment()

void WebCore::XMLDocumentParser::comment ( const xmlChar *  s)

◆ create() [1/2]

static Ref<XMLDocumentParser> WebCore::XMLDocumentParser::create ( Document document,
FrameView view 
)
inlinestatic

◆ create() [2/2]

static Ref<XMLDocumentParser> WebCore::XMLDocumentParser::create ( DocumentFragment fragment,
Element element,
ParserContentPolicy  parserContentPolicy 
)
inlinestatic

◆ depthTriggeringEntityExpansion()

int WebCore::XMLDocumentParser::depthTriggeringEntityExpansion ( ) const
inline

◆ endDocument()

void WebCore::XMLDocumentParser::endDocument ( )

◆ endElementNs()

void WebCore::XMLDocumentParser::endElementNs ( )

◆ error()

void WebCore::XMLDocumentParser::error ( XMLErrors::ErrorType  type,
const char *  message,
va_list  args 
)

◆ handleError()

void WebCore::XMLDocumentParser::handleError ( XMLErrors::ErrorType  type,
const char *  message,
TextPosition  position 
)

◆ internalSubset()

void WebCore::XMLDocumentParser::internalSubset ( const xmlChar *  name,
const xmlChar *  externalID,
const xmlChar *  systemID 
)

◆ isParsingEntityDeclaration()

bool WebCore::XMLDocumentParser::isParsingEntityDeclaration ( ) const
inline

◆ isXHTMLDocument()

bool WebCore::XMLDocumentParser::isXHTMLDocument ( ) const
inline

◆ parseDocumentFragment()

bool WebCore::XMLDocumentParser::parseDocumentFragment ( const String chunk,
DocumentFragment fragment,
Element parent = nullptr,
ParserContentPolicy  parserContentPolicy = AllowScriptingContent 
)
static

◆ processingInstruction()

void WebCore::XMLDocumentParser::processingInstruction ( const xmlChar *  target,
const xmlChar *  data 
)

◆ setDepthTriggeringEntityExpansion()

void WebCore::XMLDocumentParser::setDepthTriggeringEntityExpansion ( int  depth)
inline

◆ setIsParsingEntityDeclaration()

void WebCore::XMLDocumentParser::setIsParsingEntityDeclaration ( bool  value)
inline

◆ setIsXHTMLDocument()

void WebCore::XMLDocumentParser::setIsXHTMLDocument ( bool  isXHTML)
inline

◆ startDocument()

void WebCore::XMLDocumentParser::startDocument ( const xmlChar *  version,
const xmlChar *  encoding,
int  standalone 
)

◆ startElementNs()

void WebCore::XMLDocumentParser::startElementNs ( const xmlChar *  xmlLocalName,
const xmlChar *  xmlPrefix,
const xmlChar *  xmlURI,
int  numNamespaces,
const xmlChar **  namespaces,
int  numAttributes,
int  numDefaulted,
const xmlChar **  libxmlAttributes 
)

◆ supportsXMLVersion()

bool WebCore::XMLDocumentParser::supportsXMLVersion ( const String version)
static

◆ wellFormed()

bool WebCore::XMLDocumentParser::wellFormed ( ) const
inlinefinalvirtual

The documentation for this class was generated from the following files: