
org.opengis.cite.gmljpx20.SuiteAttribute Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ets-gmljpx20 Show documentation
Show all versions of ets-gmljpx20 Show documentation
Checks JPEG 2000 codestreams for conformance against "OGC GML
in JPEG 2000 (GMLJP2) Encoding Standard Part 1" (OGC 08-085r4) and related
specifications.
The newest version!
package org.opengis.cite.gmljpx20;
import org.w3c.dom.Document;
import jakarta.ws.rs.client.Client;
/**
* An enumerated type defining ISuite attributes that may be set to constitute a shared
* test fixture.
*/
@SuppressWarnings("rawtypes")
public enum SuiteAttribute {
/**
* A client component for interacting with HTTP endpoints.
*/
CLIENT("httpClient", Client.class),
/**
* A DOM Document representation of the test subject or metadata about it.
*/
TEST_SUBJECT("testSubject", Document.class);
private final Class attrType;
private final String attrName;
private SuiteAttribute(String attrName, Class attrType) {
this.attrName = attrName;
this.attrType = attrType;
}
/**
*
* getType.
*
* @return a {@link java.lang.Class} object
*/
public Class getType() {
return attrType;
}
/**
*
* getName.
*
* @return a {@link java.lang.String} object
*/
public String getName() {
return attrName;
}
/** {@inheritDoc} */
@Override
public String toString() {
StringBuilder sb = new StringBuilder(attrName);
sb.append('(').append(attrType.getName()).append(')');
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy