public final class InputElementFactory extends Object implements IElementFactory
Modifier and Type | Field and Description |
---|---|
static InputElementFactory |
instance
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final InputElementFactory instance
public HtmlElement createElement(SgmlPage page, String tagName, Attributes attributes)
createElement
in interface IElementFactory
page
- the page that this element will belong totagName
- the HTML tag nameattributes
- the SAX attributespublic HtmlElement createElementNS(SgmlPage page, String namespaceURI, String qualifiedName, Attributes attributes)
createElementNS
in interface IElementFactory
page
- 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 specifiedCopyright © 2002-2013 Gargoyle Software Inc.. All Rights Reserved.