|
||||||||||
| 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(SgmlPage page,
String tagName,
Attributes attributes)
Creates an HtmlElement for the specified xmlElement, contained in the specified page. |
HtmlElement |
createElementNS(SgmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
Creates an element according to this factory's specification. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final InputElementFactory instance
| Method Detail |
|---|
public HtmlElement createElement(SgmlPage page,
String tagName,
Attributes attributes)
createElement in interface IElementFactorypage - the page that this element will belong totagName - the HTML tag nameattributes - the SAX attributes
public HtmlElement createElementNS(SgmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
createElementNS in interface IElementFactorypage - the enclosing page for the new elementnamespaceURI - the URI that identifies an XML namespacequalifiedName - 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 | |||||||||