- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- com.ibm.jvm.j9.dump.indexsupport.XMLIndexReader
-
- All Implemented Interfaces:
IParserNode
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
public class XMLIndexReader extends DefaultHandler implements IParserNode
-
-
Constructor Summary
Constructors Constructor Description XMLIndexReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Image
parseIndexWithDump(InputStream input, ICoreFileReader core, ClosingFileReader reader, IFileLocationResolver fileResolver)
Creates an Image from the given XML index stream and the corresponding corefileImage
parseIndexWithDump(InputStream input, ICoreFileReader core, ImageInputStream stream, IFileLocationResolver fileResolver)
Creates an Image from the given XML index stream and the corresponding corefilevoid
setJ9DumpData(long environ, String osType, String osSubType, String cpuType, int cpuCount, long bytesMem, int pointerSize, Image[] imageRef, ImageAddressSpace[] addressSpaceRef, ImageProcess[] processRef)
-
Methods declared in class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
-
Methods declared in class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods declared in interface com.ibm.jvm.j9.dump.indexsupport.IParserNode
didFinishParsing, nodeToPushAfterStarting, stringWasParsed
-
-
-
-
Method Detail
-
parseIndexWithDump
public Image parseIndexWithDump(InputStream input, ICoreFileReader core, ClosingFileReader reader, IFileLocationResolver fileResolver)
Creates an Image from the given XML index stream and the corresponding corefile- Parameters:
input
-core
-reader
- The open file that the core is built uponfileResolver
- The file location resolving agent which we can use when constructing the builder to find other files for us- Returns:
-
parseIndexWithDump
public Image parseIndexWithDump(InputStream input, ICoreFileReader core, ImageInputStream stream, IFileLocationResolver fileResolver)
Creates an Image from the given XML index stream and the corresponding corefile- Parameters:
input
-core
-reader
- The open file that the core is built uponfileResolver
- The file location resolving agent which we can use when constructing the builder to find other files for us- Returns:
-
setJ9DumpData
public void setJ9DumpData(long environ, String osType, String osSubType, String cpuType, int cpuCount, long bytesMem, int pointerSize, Image[] imageRef, ImageAddressSpace[] addressSpaceRef, ImageProcess[] processRef)
-
-