Package org.apache.ivy.osgi.p2
Class P2MetadataParser.RequiredHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.apache.ivy.osgi.util.DelegatingHandler
org.apache.ivy.osgi.p2.P2MetadataParser.RequiredHandler
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Enclosing class:
- P2MetadataParser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.ivy.osgi.util.DelegatingHandler
DelegatingHandler.ChildElementHandler<DH extends DelegatingHandler>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
handleAttributes
(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
Methods inherited from class org.xml.sax.helpers.DefaultHandler
resolveEntity
-
Field Details
-
REQUIRED
- See Also:
-
NAMESPACE
- See Also:
-
NAME
- See Also:
-
RANGE
- See Also:
-
OPTIONAL
- See Also:
-
namespace
String namespace -
name
String name -
range
VersionRange range -
optional
boolean optional
-
-
Constructor Details
-
RequiredHandler
public RequiredHandler()
-
-
Method Details
-
handleAttributes
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:
SAXParseException
-