org.sblim.cimclient.internal.cimxml.sax
public class XMLDefaultHandlerImpl extends DefaultHandler
Constructor and Description |
---|
XMLDefaultHandlerImpl()
Ctor.
|
XMLDefaultHandlerImpl(CIMObjectPath pLocalPath)
Ctor.
|
XMLDefaultHandlerImpl(CIMObjectPath pLocalPath,
boolean pAnyRoot)
Ctor.
|
XMLDefaultHandlerImpl(SAXSession pSession,
boolean pAnyRoot)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endDocument() |
void |
endElement(String uri,
String localName,
String qName) |
CIMNode |
getCIMNode()
getCIMNode
|
int |
getNodePoolHits()
getNodePoolHits
|
int |
getNodePoolMisses()
getNodePoolMisses
|
Node |
getRootNode()
getRootNode
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public XMLDefaultHandlerImpl(SAXSession pSession, boolean pAnyRoot)
pSession
- - stores common variables for the whole parsing sessionpAnyRoot
- - if true any CIM-XML element can be the root element of the
XML streampublic XMLDefaultHandlerImpl(CIMObjectPath pLocalPath, boolean pAnyRoot)
pLocalPath
- - CIMObjectPathes without local paths will be extended by this
valuepAnyRoot
- - if true any CIM-XML element can be the root element of the
XML streampublic XMLDefaultHandlerImpl(CIMObjectPath pLocalPath)
pLocalPath
- - CIMObjectPathes without local paths will be extended by this
valuepublic XMLDefaultHandlerImpl()
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
uri
- localName
- SAXException
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
uri
- localName
- SAXException
public void endDocument()
endDocument
in interface ContentHandler
endDocument
in class DefaultHandler
public CIMNode getCIMNode()
public Node getRootNode()
public int getNodePoolHits()
public int getNodePoolMisses()
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.