class LandsatLevel2Metadata extends XmlMetadata {

    public Point2D.Double getUpperLeft() {
        MetadataElement[] metadataElements = getRootElement().getElement("global_metadata").getElement("projection_information").getElements();
        for (MetadataElement corner_point : metadataElements) {
            if(!corner_point.getName().equals("corner_point")) {
                continue;
            }
            if(corner_point.getAttribute("location").getData().toString().equals("UL")) {
                double x = Double.parseDouble(corner_point.getAttribute("x").getData().toString());
                double y = Double.parseDouble(corner_point.getAttribute("y").getData().toString());
                return new Point2D.Double(x, y);
            }
        }

        return null;
    }

    public  LandsatLevel2Metadata(String name);

}