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, warningpublic 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 ContentHandlerstartElement in class DefaultHandleruri - localName - SAXExceptionpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class DefaultHandlerpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandleruri - localName - SAXExceptionpublic void endDocument()
endDocument in interface ContentHandlerendDocument in class DefaultHandlerpublic CIMNode getCIMNode()
public Node getRootNode()
public int getNodePoolHits()
public int getNodePoolMisses()
Copyright © 2005, 2012 IBM Corporation. All Rights Reserved.