|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.sblim.cimclient.internal.cimxml.sax.XMLDefaultHandlerImpl
public class XMLDefaultHandlerImpl
Class XMLDefaultHandlerImpl is DefaultHandler implementation which is used for SAX and PULL style XML parsing.
| Constructor Summary | |
|---|---|
XMLDefaultHandlerImpl()
Ctor. |
|
XMLDefaultHandlerImpl(CIMObjectPath pLocalPath)
Ctor. |
|
XMLDefaultHandlerImpl(CIMObjectPath pLocalPath,
boolean pAnyRoot)
Ctor. |
|
XMLDefaultHandlerImpl(SAXSession pSession,
boolean pAnyRoot)
Ctor. |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
|---|
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 stream
public 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()
| Method Detail |
|---|
public void startElement(String uri,
String localName,
String qName,
Attributes attributes)
throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandleruri - localName -
SAXException
public void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class DefaultHandler
public 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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||