public final class XMLPropertyConverter extends Object implements ContentHandler, ErrorHandler
| Constructor and Description |
|---|
XMLPropertyConverter() |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endDocument() |
void |
endElement(String namespaceURI,
String localName,
String rawName) |
void |
endPrefixMapping(String prefix) |
void |
error(SAXParseException exception) |
void |
fatalError(SAXParseException exception) |
IPropertyMap |
getMap() |
void |
ignorableWhitespace(char[] ch,
int start,
int length) |
void |
processingInstruction(String target,
String data) |
void |
setDocumentLocator(Locator locator) |
void |
skippedEntity(String name) |
void |
startDocument() |
void |
startElement(String namespaceURI,
String localName,
String rawName,
Attributes atts)
Creates for each element in XML a specific entry in one of the three
existing mapping objects.
|
void |
startPrefixMapping(String prefix,
String uri) |
void |
warning(SAXParseException exception) |
public void startElement(String namespaceURI, String localName, String rawName, Attributes atts) throws SAXException
startElement in interface ContentHandlerlocalName - The element name.atts - Array of attributes that belongs to element.namespaceURI - namespaceURIrawName - rawNameSAXException - Will be thrown in any case of XML error (syntax
errors, etc.)public void characters(char[] ch,
int start,
int length)
throws SAXException
characters in interface ContentHandlerch - charstart - intlength - intSAXException - Exception raised in failure situationpublic void endElement(String namespaceURI, String localName, String rawName) throws SAXException
endElement in interface ContentHandlernamespaceURI - StringlocalName - StringrawName - StringSAXException - Exception raised in failure situationpublic IPropertyMap getMap()
public void endDocument()
throws SAXException
endDocument in interface ContentHandlerSAXExceptionpublic void startDocument()
throws SAXException
startDocument in interface ContentHandlerSAXExceptionpublic void ignorableWhitespace(char[] ch,
int start,
int length)
throws SAXException
ignorableWhitespace in interface ContentHandlerSAXExceptionpublic void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping in interface ContentHandlerSAXExceptionpublic void skippedEntity(String name) throws SAXException
skippedEntity in interface ContentHandlerSAXExceptionpublic void setDocumentLocator(Locator locator)
setDocumentLocator in interface ContentHandlerpublic void processingInstruction(String target, String data) throws SAXException
processingInstruction in interface ContentHandlerSAXExceptionpublic void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping in interface ContentHandlerSAXExceptionpublic void error(SAXParseException exception) throws SAXException
error in interface ErrorHandlerSAXExceptionpublic void fatalError(SAXParseException exception) throws SAXException
fatalError in interface ErrorHandlerSAXExceptionpublic void warning(SAXParseException exception) throws SAXException
warning in interface ErrorHandlerSAXException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice