Class ElementFactoryImpl
public class ElementFactoryImpl implements ElementFactory
{
// Constructors
public ElementFactoryImpl();
// Methods
public Element createElement(int type, Name tag);
public void parsed(Element elem);
}
This class represents the default implementation for the element factory. This is what the XML parser uses if no other factory is specified.
public ElementFactoryImpl();
Constructs the factory object.
public Element createElement(int type, Name tag);
Retrieves a new element for the specified tag and type.
Return Value:
Returns the newly created element.
Parameter | Description |
type
| The element type.
|
tag
| The element name.
|
public void parsed(Element elem);
This method is called when the element is fully parsed.
Return Value:
No return value.
Parameter | Description |
elem
| The element parsed.
|
See Also: com.ms.xml.om.Element