|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines a factory which can be used by documents to provide namespace-aware element creation.
A variety of implementation techniques are possible for this interface. Among them are compiled-in mappings between element names and classes, mappings defined in configuration files, ones derived from the document as it is parsed, and using namespaces to identify packages to be used with classes whose names correspond to elements.
DOM implementations will have constraints on the implementation classes returned by this factory, typically that they be subclasses of their implementation base class.
DocumentEx
Method Summary | |
ElementEx |
createElementEx(String tag)
This is like the DOM Document.createElement method, except that its return type is different. |
ElementEx |
createElementEx(String uri,
String tag)
Returns an element which may be specialized to support application specific behaviors as associated with the specified namespace. |
Method Detail |
public ElementEx createElementEx(String tag)
public ElementEx createElementEx(String uri, String tag)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |