Package org.apache.ivy.osgi.obr.xml
Class OBRXMLParser.RepositoryHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.apache.ivy.osgi.util.DelegatingHandler
-
- org.apache.ivy.osgi.obr.xml.OBRXMLParser.RepositoryHandler
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler,org.xml.sax.DTDHandler,org.xml.sax.EntityResolver,org.xml.sax.ErrorHandler
- Enclosing class:
- OBRXMLParser
static class OBRXMLParser.RepositoryHandler 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 java.net.URIbaseUri(package private) static java.lang.StringLASTMODIFIED(package private) static java.lang.StringNAME(package private) BundleRepoDescriptorrepo(package private) static java.lang.StringREPOSITORY
-
Constructor Summary
Constructors Constructor Description RepositoryHandler(java.net.URI baseUri)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhandleAttributes(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
-
REPOSITORY
static final java.lang.String REPOSITORY
- See Also:
- Constant Field Values
-
LASTMODIFIED
static final java.lang.String LASTMODIFIED
- See Also:
- Constant Field Values
-
NAME
static final java.lang.String NAME
- See Also:
- Constant Field Values
-
repo
BundleRepoDescriptor repo
-
baseUri
private final java.net.URI baseUri
-
-
Method Detail
-
handleAttributes
protected void handleAttributes(org.xml.sax.Attributes atts)
Description copied from class:DelegatingHandlerCalled when the expected node is achieved; nothing to do by default.- Overrides:
handleAttributesin classDelegatingHandler- Parameters:
atts- the xml attributes attached to the expected node
-
-