Class FeatureParser.FeatureHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.apache.ivy.osgi.util.DelegatingHandler
-
- org.apache.ivy.osgi.updatesite.xml.FeatureParser.FeatureHandler
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler
,org.xml.sax.DTDHandler
,org.xml.sax.EntityResolver
,org.xml.sax.ErrorHandler
- Enclosing class:
- FeatureParser
static class FeatureParser.FeatureHandler extends DelegatingHandler
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.ivy.osgi.util.DelegatingHandler
DelegatingHandler.ChildElementHandler<DH extends DelegatingHandler>
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
APPLICATION
private static java.lang.String
ARCH
private static java.lang.String
COLOCATION_AFFINITY
private static java.lang.String
EXCLUSIVE
(package private) EclipseFeature
feature
private static java.lang.String
FEATURE
private static java.lang.String
ID
private static java.lang.String
IMAGE
private static java.lang.String
LABEL
private static java.lang.String
NL
private static java.lang.String
OS
private static java.lang.String
PLUGIN
private static java.lang.String
PRIMARY
private static java.lang.String
PROVIDER_NAME
private static java.lang.String
VERSION
private static java.lang.String
WS
-
Constructor Summary
Constructors Constructor Description FeatureHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handleAttributes(org.xml.sax.Attributes atts)
Called when the expected node is achieved; nothing to do by default.-
Methods inherited from class org.apache.ivy.osgi.util.DelegatingHandler
addChild, characters, doCharacters, doEndDocument, doEndElement, doEndPrefixMapping, doError, doFatalError, doIgnorableWhitespace, doNotationDecl, doProcessingInstruction, doSkippedEntity, doStartDocument, doStartElement, doStartPrefixMapping, doUnparsedEntityDecl, doWarning, endDocument, endElement, endPrefixMapping, error, fatalError, getBufferedChars, getCurrentElementIdentifier, getLocation, getLocator, getName, getOptionalAttribute, getOptionalBooleanAttribute, getOptionalIntAttribute, getOptionalLongAttribute, getParent, getRequiredAttribute, getRequiredBooleanAttribute, getRequiredIntAttribute, getRequiredLongAttribute, ignorableWhitespace, isBufferingChar, log, log, notationDecl, processingInstruction, setBufferingChar, setDocumentLocator, setSkipOnError, skip, skippedEntity, startDocument, startElement, startPrefixMapping, stopDelegating, unparsedEntityDecl, warning
-
-
-
-
Field Detail
-
FEATURE
private static final java.lang.String FEATURE
- See Also:
- Constant Field Values
-
COLOCATION_AFFINITY
private static final java.lang.String COLOCATION_AFFINITY
- See Also:
- Constant Field Values
-
PRIMARY
private static final java.lang.String PRIMARY
- See Also:
- Constant Field Values
-
EXCLUSIVE
private static final java.lang.String EXCLUSIVE
- See Also:
- Constant Field Values
-
PLUGIN
private static final java.lang.String PLUGIN
- See Also:
- Constant Field Values
-
APPLICATION
private static final java.lang.String APPLICATION
- See Also:
- Constant Field Values
-
ARCH
private static final java.lang.String ARCH
- See Also:
- Constant Field Values
-
NL
private static final java.lang.String NL
- See Also:
- Constant Field Values
-
WS
private static final java.lang.String WS
- See Also:
- Constant Field Values
-
OS
private static final java.lang.String OS
- See Also:
- Constant Field Values
-
VERSION
private static final java.lang.String VERSION
- See Also:
- Constant Field Values
-
ID
private static final java.lang.String ID
- See Also:
- Constant Field Values
-
PROVIDER_NAME
private static final java.lang.String PROVIDER_NAME
- See Also:
- Constant Field Values
-
LABEL
private static final java.lang.String LABEL
- See Also:
- Constant Field Values
-
IMAGE
private static final java.lang.String IMAGE
- See Also:
- Constant Field Values
-
feature
EclipseFeature feature
-
-
Method Detail
-
handleAttributes
protected void handleAttributes(org.xml.sax.Attributes atts) throws org.xml.sax.SAXException
Description copied from class:DelegatingHandler
Called when the expected node is achieved; nothing to do by default.- Overrides:
handleAttributes
in classDelegatingHandler
- Parameters:
atts
- the xml attributes attached to the expected node- Throws:
org.xml.sax.SAXException
- in case the parsing should be completely stopped
-
-