public final class InputElementFactory extends Object implements ElementFactory
| 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.
|
HtmlElement |
createElementNS(SgmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes,
boolean asdf)
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 ElementFactorypage - 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 ElementFactorypage - 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 specifiedpublic HtmlElement createElementNS(SgmlPage page, String namespaceURI, String qualifiedName, Attributes attributes, boolean asdf)
createElementNS in interface ElementFactorypage - 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 specifiedasdf - if true and the page doesn't support this element, return nullCopyright © 2002–2015 Gargoyle Software Inc.. All rights reserved.