| com.gargoylesoftware.htmlunit.html.IElementFactory
All known Subclasses: com.gargoylesoftware.htmlunit.html.DefaultElementFactory, com.gargoylesoftware.htmlunit.html.UnknownElementFactory, com.gargoylesoftware.htmlunit.html.InputElementFactory,
IElementFactory | public interface IElementFactory (Code) | | specification of a factory capable of creating HtmlElement objects.
version: $Revision: 2132 $ author: Christian Sell author: Ahmed Ashour |
createElement | HtmlElement createElement(HtmlPage page, String tagName, Attributes attributes)(Code) | | create an element according to this factory's specification.
Parameters: page - the enclosing page for the new element. Note that the element is not yet addedinto the DOM tree. Parameters: tagName - the tag name. Most factories will be responsible for a specific tag, but thisparameter is passed in for factories that don't follow this rule Parameters: attributes - the attributes encountered during XML/HTML parsing. Possibly null if no attributes specified the newly created and initialized element |
createElementNS | HtmlElement createElementNS(HtmlPage page, String namespaceURI, String qualifiedName, Attributes attributes)(Code) | | create an element according to this factory's specification.
Parameters: page - the enclosing page for the new element. Note that the element is not yet addedinto the DOM tree. Parameters: namespaceURI - the URI that identifies an XML namespace. Parameters: qualifiedName - The qualified name of the element type to instantiate Parameters: attributes - the attributes encountered during XML/HTML parsing. Possibly null if no attributes specified the newly created and initialized element |
|
|