Class MetadataIO.Parser.InstallableUnitsHandler

  • All Implemented Interfaces:
    org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
    Enclosing class:
    MetadataIO.Parser

    private final class MetadataIO.Parser.InstallableUnitsHandler
    extends org.xml.sax.helpers.DefaultHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.List<org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription> units  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription> getUnits()  
      protected void handleRootAttributes​(org.xml.sax.Attributes attributes)  
      void startElement​(java.lang.String name, org.xml.sax.Attributes attributes)  
      • Methods inherited from class org.xml.sax.helpers.DefaultHandler

        endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • units

        private java.util.List<org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription> units
    • Constructor Detail

      • InstallableUnitsHandler

        private InstallableUnitsHandler()
    • Method Detail

      • handleRootAttributes

        protected void handleRootAttributes​(org.xml.sax.Attributes attributes)
      • getUnits

        public java.util.List<org.eclipse.equinox.p2.metadata.MetadataFactory.InstallableUnitDescription> getUnits()
      • startElement

        public void startElement​(java.lang.String name,
                                 org.xml.sax.Attributes attributes)
                          throws org.xml.sax.SAXException
        Throws:
        org.xml.sax.SAXException