Implement StringToAttribute; AttributeToString is now public

This commit is contained in:
kipp%netscape.com 1998-08-28 23:30:50 +00:00
parent c679a3de4a
commit 04f5a93e36

View File

@ -233,12 +233,6 @@ public:
static PRBool TableCaptionAlignParamToString(const nsHTMLValue& aValue,
nsString& aResult);
protected:
nsHTMLTagContent();
nsHTMLTagContent(nsIAtom* aTag);
virtual ~nsHTMLTagContent();
void SizeOfWithoutThis(nsISizeOfHandler* aHandler) const;
/**
* Helper method used by GetAttribute to map an attribute
* to a string value.
@ -247,6 +241,20 @@ protected:
nsHTMLValue& aValue,
nsString& aResult) const;
/**
* Helper method used by SetAttribute to map a string to an
* attribute value.
*/
virtual nsContentAttr StringToAttribute(nsIAtom* aAttribute,
const nsString& aValue,
nsHTMLValue& aResult);
protected:
nsHTMLTagContent();
nsHTMLTagContent(nsIAtom* aTag);
virtual ~nsHTMLTagContent();
void SizeOfWithoutThis(nsISizeOfHandler* aHandler) const;
virtual nsresult AddScriptEventListener(nsIAtom* aAttribute, nsHTMLValue& aValue, REFNSIID aIID);