|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines an element factory for constructing new elements. An application
document may elect to use this factory to create user elements derived
from the class XMLElement
. This is an alternative to the simple
tag name to class mapping that is supported by XMLDocument
.
The createElement(org.openxml.XMLDocument, java.lang.String)
will be called to create any element and may
behave in one of three manners:
XMLElement
XMLElement
DocumentImpl.useElementFactory(org.openxml.XMLElementFactory)
,
XMLElement
Method Summary | |
XMLElement |
createElement(XMLDocument owner,
java.lang.String tagName)
Deprecated. Called to create an element with the specified tag name. |
Method Detail |
public XMLElement createElement(XMLDocument owner, java.lang.String tagName)
XMLElement
. If null is returned, an
element of type XMLElement
will be created.
When creating a new element, the parameters owner and
tagName must be passed as is to the XMLElement
constructor.
owner
- The owner documenttagName
- The element tag name
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |