org.sblim.cimclient.internal.cimxml.sax

Class NodeFactory

public class NodeFactory extends Object implements NodeConstIf

Class NodeFactory is responsible for Node instance construction.
Method Summary
static StringgetEnum(String pNodeName)
getEnum
static NodegetNodeInstance(String pNodeName)
getNodeInstance

Method Detail

getEnum

public static String getEnum(String pNodeName)
getEnum

Parameters: pNodeName

Returns: The corresponding String constant for an XML element name. It must be used, because the Node subclasses use reference based equals comparisons (==).

getNodeInstance

public static Node getNodeInstance(String pNodeName)
getNodeInstance

Parameters: pNodeName Should be an XML element name constant which is defined in NodeConstIf

Returns: the Node subclass which implements the parsing of pNodeName named XML Element.

Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.