webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | List of all members
WebCore::StyledMarkupAccumulator Class Referencefinal
Inheritance diagram for WebCore::StyledMarkupAccumulator:
WebCore::MarkupAccumulator

Public Types

enum  RangeFullySelectsNode { DoesFullySelectNode, DoesNotFullySelectNode }
 

Public Member Functions

 StyledMarkupAccumulator (Vector< Node *> *nodes, EAbsoluteURLs, EAnnotateForInterchange, const Range *, bool needsPositionStyleConversion, Node *highestNodeToBeSerialized=nullptr)
 
NodeserializeNodes (Node *startNode, Node *pastEnd)
 
void wrapWithNode (Node &, bool convertBlocksToInlines=false, RangeFullySelectsNode=DoesFullySelectNode)
 
void wrapWithStyleNode (StyleProperties *, Document &, bool isBlock=false)
 
String takeResults ()
 
bool needRelativeStyleWrapper () const
 
bool needClearingDiv () const
 
- Public Member Functions inherited from WebCore::MarkupAccumulator
 MarkupAccumulator (Vector< Node *> *, EAbsoluteURLs, const Range *=nullptr, EFragmentSerialization=HTMLFragmentSerialization)
 
virtual ~MarkupAccumulator ()
 
String serializeNodes (Node &targetNode, EChildrenOnly, Vector< QualifiedName > *tagNamesToSkip=nullptr)
 

Additional Inherited Members

- Static Public Member Functions inherited from WebCore::MarkupAccumulator
static void appendCharactersReplacingEntities (StringBuilder &, const String &, unsigned, unsigned, EntityMask)
 
- Protected Member Functions inherited from WebCore::MarkupAccumulator
size_t length () const
 
void concatenateMarkup (StringBuilder &)
 
void appendString (const String &)
 
void appendEndTag (const Node &node)
 
virtual void appendEndTag (const Element &)
 
void appendStartTag (const Node &, Namespaces *=nullptr)
 
void appendOpenTag (StringBuilder &, const Element &, Namespaces *)
 
void appendCloseTag (StringBuilder &, const Element &)
 
void appendStartMarkup (StringBuilder &, const Node &, Namespaces *)
 
void appendEndMarkup (StringBuilder &, const Element &)
 
void appendAttributeValue (StringBuilder &, const String &, bool)
 
void appendNamespace (StringBuilder &, const AtomicString &prefix, const AtomicString &namespaceURI, Namespaces &, bool allowEmptyDefaultNS=false)
 
void appendXMLDeclaration (StringBuilder &, const Document &)
 
void appendDocumentType (StringBuilder &, const DocumentType &)
 
void appendProcessingInstruction (StringBuilder &, const String &target, const String &data)
 
void appendAttribute (StringBuilder &, const Element &, const Attribute &, Namespaces *)
 
void appendCDATASection (StringBuilder &, const String &)
 
bool shouldAddNamespaceElement (const Element &)
 
bool shouldAddNamespaceAttribute (const Attribute &, Namespaces &)
 
bool shouldSelfClose (const Element &)
 
bool elementCannotHaveEndTag (const Node &)
 
EntityMask entityMaskForText (const Text &) const
 
- Static Protected Member Functions inherited from WebCore::MarkupAccumulator
static size_t totalLength (const Vector< String > &)
 
- Protected Attributes inherited from WebCore::MarkupAccumulator
Vector< Node * > *const m_nodes
 
const Range *const m_range
 

Member Enumeration Documentation

◆ RangeFullySelectsNode

Enumerator
DoesFullySelectNode 
DoesNotFullySelectNode 

Constructor & Destructor Documentation

◆ StyledMarkupAccumulator()

WebCore::StyledMarkupAccumulator::StyledMarkupAccumulator ( Vector< Node *> *  nodes,
EAbsoluteURLs  shouldResolveURLs,
EAnnotateForInterchange  shouldAnnotate,
const Range range,
bool  needsPositionStyleConversion,
Node highestNodeToBeSerialized = nullptr 
)
inline

Member Function Documentation

◆ needClearingDiv()

bool WebCore::StyledMarkupAccumulator::needClearingDiv ( ) const
inline

◆ needRelativeStyleWrapper()

bool WebCore::StyledMarkupAccumulator::needRelativeStyleWrapper ( ) const
inline

◆ serializeNodes()

Node * WebCore::StyledMarkupAccumulator::serializeNodes ( Node startNode,
Node pastEnd 
)

◆ takeResults()

String WebCore::StyledMarkupAccumulator::takeResults ( )

◆ wrapWithNode()

void WebCore::StyledMarkupAccumulator::wrapWithNode ( Node node,
bool  convertBlocksToInlines = false,
RangeFullySelectsNode  rangeFullySelectsNode = DoesFullySelectNode 
)

◆ wrapWithStyleNode()

void WebCore::StyledMarkupAccumulator::wrapWithStyleNode ( StyleProperties style,
Document document,
bool  isBlock = false 
)

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