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(HtmlPage page,
String tagName,
Attributes attributes)
Create an HtmlElement for the specified xmlElement, contained in the specified page.
|
HtmlElement |
createElementNS(HtmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
create an element according to this factory's specification.
|
protected org.apache.commons.logging.Log |
getLog()
Return the log that is being used for all scripting objects
|
public static final InputElementFactory instance
public HtmlElement createElement(HtmlPage page, String tagName, Attributes attributes)
createElement in interface IElementFactorypage - The page that this element will belong to.tagName - the HTML tag nameattributes - the SAX attributespublic HtmlElement createElementNS(HtmlPage page, String namespaceURI, String qualifiedName, Attributes attributes)
createElementNS in interface IElementFactorypage - 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 specifiedprotected org.apache.commons.logging.Log getLog()
Copyright © 2002-2012 Gargoyle Software Inc.. All Rights Reserved.