All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gov.nasa.worldwind.ogc.collada.ColladaInput Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2012 United States Government as represented by the Administrator of the
 * National Aeronautics and Space Administration.
 * All Rights Reserved.
 */

package gov.nasa.worldwind.ogc.collada;

/**
 * Represents the COLLADA input element and provides access to its contents.
 *
 * @author pabercrombie
 * @version $Id: ColladaInput.java 654 2012-06-25 04:15:52Z pabercrombie $
 */
public class ColladaInput extends ColladaAbstractObject
{
    public ColladaInput(String ns)
    {
        super(ns);
    }

    public int getOffset()
    {
        return Integer.parseInt((String) this.getField("offset"));
    }

    public String getSource()
    {
        return (String) this.getField("source");
    }

    public String getSemantic()
    {
        return (String) this.getField("semantic");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy