|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.svg.SvgElementFactory
public class SvgElementFactory
Element factory which creates elements by calling the constructor on a
given SvgElement subclass.
| Constructor Summary | |
|---|---|
SvgElementFactory()
|
|
| Method Summary | |
|---|---|
DomElement |
createElement(SgmlPage page,
String tagName,
Attributes attributes)
Creates an element according to this factory's specification. |
DomElement |
createElementNS(SgmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes)
Creates an element according to this factory's specification. |
DomElement |
createElementNS(SgmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes,
boolean checkBrowserCompatibility)
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 |
| Constructor Detail |
|---|
public SvgElementFactory()
| Method Detail |
|---|
public DomElement createElement(SgmlPage page,
String tagName,
Attributes attributes)
createElement in interface ElementFactorypage - 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
public DomElement 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 specified
public DomElement createElementNS(SgmlPage page,
String namespaceURI,
String qualifiedName,
Attributes attributes,
boolean checkBrowserCompatibility)
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 specifiedcheckBrowserCompatibility - if true and the page doesn't support this element, return null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||