Examples of Metadata


Examples of cz.mp.k3bg.core.Metadata

        File file = opfFileChooser.getSelectedFile();

        OpfMetadataReader opfMetaReader = new OpfMetadataReader(file);
        try {
            opfMetaReader.parse();
            Metadata metadata = opfMetaReader.getReadedMetadata();

            fillForm(metadata);
           
        } catch (XMLStreamException ex) {
            logger.warning(ex.toString());
View Full Code Here

Examples of edu.uci.jforestsx.input.sparse.MetaData

    PrintStream output = new PrintStream(new File(outputFile));
    StringBuilder sb = new StringBuilder();
    int featureCount = 0;
    while (reader.loadNextLine(line)) {
      if (line.meta) {
        MetaData metaData = MetaLineParser.parse(line.content);
        if (metaData instanceof FeatureMetaData) {
          featureCount++;
        }
      } else {
        sb.setLength(0);
View Full Code Here

Examples of eu.planets_project.services.datatypes.Metadata

    
        // Extract relevant XML code and fill metadata
    try {
      String metadata = extractPageImageSection(xml);
      if (metadata != null)
        dob.metadata(new Metadata(new URI("application/xml"), metadata));
    } catch (URISyntaxException e) {
      throw new RuntimeException(e); // Should never happen
    } catch (IOException e) {
      throw new DigitalObjectNotFoundException(e);
    }
View Full Code Here

Examples of flex.ant.types.Metadata

     *=======================================================================*/

    public Metadata createMetadata()
    {
        if (metadata == null)
            return metadata = new Metadata();
        else
            throw new BuildException("Only one nested <metadata> element is allowed in an <mxmlc> task.");
    }
View Full Code Here

Examples of flex2.compiler.abc.MetaData

        {
            Iterator bindablesIterator = bindables.iterator();

            while ( bindablesIterator.hasNext() )
            {
                MetaData metaData = (MetaData) bindablesIterator.next();

                if ("true".equals(metaData.getValue(STYLE)))
                {
                    if (watcher instanceof FunctionReturnWatcher)
                    {
                        ((FunctionReturnWatcher) watcher).setStyleWatcher(true);
                        addedBindable = true;
View Full Code Here

Examples of flex2.compiler.as3.reflect.MetaData

        return null;
    }

    private Map<String, Object> getMetaDataValues(MetaDataNode node, Context context)
    {
        MetaData metaData = new MetaData(node);
        int len = metaData.count();
        Map<String, Object> values = new HashMap<String, Object>();
        for (int i = 0; i < len; i++)
        {
            String key = metaData.getKey(i);
            String value = metaData.getValue(i);
            // FIXME: look for place where source is being added to generated Embeds remove the key.equals check
            if (key == null || key.equals(Transcoder.SOURCE))
            {
                int octothorpe = value.indexOf( "#" );
                if (octothorpe != -1)
View Full Code Here

Examples of freenet.client.Metadata

    ClientMetadata cm = new ClientMetadata(mimeType);
    boolean isMetadata = false;
    if(logMINOR) Logger.minor(this, "data = "+tempData+", uploadFrom = "+uploadFrom);
    if(uploadFrom == UploadFrom.REDIRECT) {
      this.targetURI = redirectTarget;
      Metadata m = new Metadata(DocumentType.SIMPLE_REDIRECT, null, null, targetURI, cm);
      tempData = m.toBucket(core.clientContext.getBucketFactory(isPersistentForever()));
      isMetadata = true;
    } else
      targetURI = null;

    this.data = tempData;
View Full Code Here

Examples of info.jtrac.domain.Metadata

        space.setName("Test Space");
        return space;
    }
   
    private Metadata getMetadata() {
        Metadata metadata = new Metadata();
        String xmlString = "<metadata><fields>"
                + "<field name='cusInt01' label='Test Label'/>"
                + "<field name='cusInt02' label='Test Label 2'/>"
                + "</fields></metadata>";
        metadata.setXmlString(xmlString);
        return metadata;
    }
View Full Code Here

Examples of io.fathom.auto.openstack.metadata.Metadata

    @Override
    public boolean init() {
        try {
            log.info("Checking for openstack configuration");

            Metadata metadata = getConfig().getMetadata();
            assert metadata != null;

            this.client = getConfig().getOpenstackClient();

            return true;
View Full Code Here

Examples of it.geosolutions.imageio.pam.PAMDataset.PAMRasterBand.Metadata

            List<PAMRasterBand> pamRasterBands = merged.getPAMRasterBand();
            PAMRasterBand sampleBand = samplePamRasterBands.get(0);
            List<MDI> sampleMetadata = sampleBand.getMetadata().getMDI();
            for (int i = 0; i<numBands; i++) {
                final PAMRasterBand band = new PAMRasterBand();
                final Metadata metadata = new Metadata();
                List<MDI> mdiList = metadata.getMDI();
                for (MDI mdi: sampleMetadata) {
                    MDI addedMdi = new MDI();
                    addedMdi.setKey(mdi.getKey());
                    mdiList.add(addedMdi);
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.