APIdia Launch Partner
Top Fields Constructors Methods
jdk.jfr.internal.jfc

pack-priv final Class JFCParserHandler

extends DefaultHandler
Class Inheritance
Imports
java.util.LinkedHashMap, .Map, jdk.internal.org.xml.sax.Attributes, .SAXException, jdk.internal.org.xml.sax.helpers.DefaultHandler

Field Summary

Modifier and TypeField and Description
private static final String
private static final String
private static final String
private static final String
private static final String
private final StringBuilder
private String
private String
pack-priv String
private static final String
private static final String
private static final String
pack-priv String
pack-priv String
pack-priv final Map<String, String>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
characters(char[] ch, int start, int length)

Overrides jdk.internal.org.xml.sax.helpers.DefaultHandler.characters.

Implements jdk.internal.org.xml.sax.ContentHandler.characters.

Receive notification of character data inside an element.

public void
endElement(String uri, String localName, String qName)

Overrides jdk.internal.org.xml.sax.helpers.DefaultHandler.endElement.

Implements jdk.internal.org.xml.sax.ContentHandler.endElement.

Receive notification of the end of an element.

private String
getOptional(Attributes attributes, String name, String defaultValue)

public void
startElement(String uri, String localName, String qName, Attributes attributes)

Overrides jdk.internal.org.xml.sax.helpers.DefaultHandler.startElement.

Implements jdk.internal.org.xml.sax.ContentHandler.startElement.

Receive notification of the start of an element.

Inherited from jdk.internal.org.xml.sax.helpers.DefaultHandler:
endDocumentendPrefixMappingerrorfatalErrorignorableWhitespacenotationDeclprocessingInstructionresolveEntitysetDocumentLocatorskippedEntitystartDocumentstartPrefixMappingunparsedEntityDeclwarning

Field Detail

ATTRIBUTE_DESCRIPTIONback to summary
private static final String ATTRIBUTE_DESCRIPTION
ATTRIBUTE_LABELback to summary
private static final String ATTRIBUTE_LABEL
ATTRIBUTE_NAMEback to summary
private static final String ATTRIBUTE_NAME
ATTRIBUTE_PROVIDERback to summary
private static final String ATTRIBUTE_PROVIDER
ATTRIBUTE_VERSIONback to summary
private static final String ATTRIBUTE_VERSION
currentCharactersback to summary
private final StringBuilder currentCharacters
currentEventNameback to summary
private String currentEventName
currentSettingsNameback to summary
private String currentSettingsName
descriptionback to summary
pack-priv String description
ELEMENT_CONFIGURATIONback to summary
private static final String ELEMENT_CONFIGURATION
ELEMENT_EVENT_TYPEback to summary
private static final String ELEMENT_EVENT_TYPE
ELEMENT_SETTINGback to summary
private static final String ELEMENT_SETTING
labelback to summary
pack-priv String label
providerback to summary
pack-priv String provider
settingsback to summary
pack-priv final Map<String, String> settings

Constructor Detail

JFCParserHandlerback to summary
pack-priv JFCParserHandler()

Method Detail

charactersback to summary
public void characters(char[] ch, int start, int length) throws SAXException

Overrides jdk.internal.org.xml.sax.helpers.DefaultHandler.characters.

Implements jdk.internal.org.xml.sax.ContentHandler.characters.

Doc from jdk.internal.org.xml.sax.helpers.DefaultHandler.characters.

Receive notification of character data inside an element.

By default, do nothing. Application writers may override this method to take specific actions for each chunk of character data (such as adding the data to a node or buffer, or printing it to a file).

Annotations
@Override
Exceptions
SAXException:
Any SAX exception, possibly wrapping another exception.
endElementback to summary
public void endElement(String uri, String localName, String qName)

Overrides jdk.internal.org.xml.sax.helpers.DefaultHandler.endElement.

Implements jdk.internal.org.xml.sax.ContentHandler.endElement.

Doc from jdk.internal.org.xml.sax.helpers.DefaultHandler.endElement.

Receive notification of the end of an element.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the end of each element (such as finalising a tree node or writing output to a file).

Annotations
@Override
getOptionalback to summary
private String getOptional(Attributes attributes, String name, String defaultValue)
startElementback to summary
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException

Overrides jdk.internal.org.xml.sax.helpers.DefaultHandler.startElement.

Implements jdk.internal.org.xml.sax.ContentHandler.startElement.

Doc from jdk.internal.org.xml.sax.helpers.DefaultHandler.startElement.

Receive notification of the start of an element.

By default, do nothing. Application writers may override this method in a subclass to take specific actions at the start of each element (such as allocating a new tree node or writing output to a file).

Annotations
@Override
Exceptions
SAXException:
Any SAX exception, possibly wrapping another exception.