|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gargoylesoftware.htmlunit.html.InputElementFactory
public final class InputElementFactory
A specialized creator that knows how to create input objects
Field Summary | |
---|---|
static InputElementFactory |
instance
The singleton instance |
Method Summary | |
---|---|
HtmlElement |
createElement(HtmlPage page,
java.lang.String tagName,
org.xml.sax.Attributes attributes)
Create an HtmlElement for the specified xmlElement, contained in the specified page. |
HtmlElement |
createElementNS(HtmlPage page,
java.lang.String namespaceURI,
java.lang.String qualifiedName,
org.xml.sax.Attributes attributes)
create an element according to this factory's specification. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final InputElementFactory instance
Method Detail |
---|
public HtmlElement createElement(HtmlPage page, java.lang.String tagName, org.xml.sax.Attributes attributes)
createElement
in interface IElementFactory
page
- The page that this element will belong to.tagName
- the HTML tag nameattributes
- the SAX attributes
public HtmlElement createElementNS(HtmlPage page, java.lang.String namespaceURI, java.lang.String qualifiedName, org.xml.sax.Attributes attributes)
createElementNS
in interface IElementFactory
page
- the enclosing page for the new element. Note that the element is not yet added
into the DOM tree.namespaceURI
- the URI that identifies an XML namespace.qualifiedName
- The qualified name of the element type to instantiateattributes
- the attributes encountered during XML/HTML parsing. Possibly null
if no attributes specified
|
|||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |