org.sblim.cimclient.internal.cimxml.sax

Class XMLDefaultHandlerImpl

public class XMLDefaultHandlerImpl extends DefaultHandler

Class XMLDefaultHandlerImpl is DefaultHandler implementation which is used for SAX and PULL style XML parsing.
Constructor Summary
XMLDefaultHandlerImpl(SAXSession pSession, boolean pAnyRoot)
Ctor.
XMLDefaultHandlerImpl(CIMObjectPath pLocalPath, boolean pAnyRoot)
Ctor.
XMLDefaultHandlerImpl(CIMObjectPath pLocalPath)
Ctor.
XMLDefaultHandlerImpl()
Ctor.
Method Summary
CIMNodegetCIMNode()
getCIMNode
intgetNodePoolHits()
getNodePoolHits
intgetNodePoolMisses()
getNodePoolMisses
NodegetRootNode()
getRootNode

Constructor Detail

XMLDefaultHandlerImpl

public XMLDefaultHandlerImpl(SAXSession pSession, boolean pAnyRoot)
Ctor.

Parameters: pSession - stores common variables for the whole parsing session pAnyRoot - if true any CIM-XML element can be the root element of the XML stream

XMLDefaultHandlerImpl

public XMLDefaultHandlerImpl(CIMObjectPath pLocalPath, boolean pAnyRoot)
Ctor.

Parameters: pLocalPath - CIMObjectPathes without local paths will be extended by this value pAnyRoot - if true any CIM-XML element can be the root element of the XML stream

XMLDefaultHandlerImpl

public XMLDefaultHandlerImpl(CIMObjectPath pLocalPath)
Ctor.

Parameters: pLocalPath - CIMObjectPathes without local paths will be extended by this value

XMLDefaultHandlerImpl

public XMLDefaultHandlerImpl()
Ctor.

Method Detail

getCIMNode

public CIMNode getCIMNode()
getCIMNode

Returns: CIMNode, the root Element of the parsed CIM-XML document

getNodePoolHits

public int getNodePoolHits()
getNodePoolHits

Returns: int

getNodePoolMisses

public int getNodePoolMisses()
getNodePoolMisses

Returns: int

getRootNode

public Node getRootNode()
getRootNode

Returns: Node, the root element of the parsed CIM-XML stream

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