|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IElementFactory
Specification of a factory capable of creating HtmlElement
objects.
Method Summary | |
---|---|
HtmlElement |
createElement(SgmlPage page,
java.lang.String tagName,
org.xml.sax.Attributes attributes)
Creates an element according to this factory's specification. |
HtmlElement |
createElementNS(SgmlPage page,
java.lang.String namespaceURI,
java.lang.String qualifiedName,
org.xml.sax.Attributes attributes)
Creates an element according to this factory's specification. |
Method Detail |
---|
HtmlElement createElement(SgmlPage page, java.lang.String tagName, org.xml.sax.Attributes attributes)
page
- the enclosing page for the new elementtagName
- the tag name (most factories will be responsible for a specific tag, but this
parameter is passed in for factories that don't follow this rule)attributes
- the attributes encountered during XML/HTML parsing (possibly null
if no attributes specified
HtmlElement createElementNS(SgmlPage page, java.lang.String namespaceURI, java.lang.String qualifiedName, org.xml.sax.Attributes attributes)
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 specified
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |