本文整理匯總了Java中net.opengis.gml.GridCoverageType類的典型用法代碼示例。如果您正苦於以下問題:Java GridCoverageType類的具體用法?Java GridCoverageType怎麽用?Java GridCoverageType使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
GridCoverageType類屬於net.opengis.gml包,在下文中一共展示了GridCoverageType類的5個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getText
import net.opengis.gml.GridCoverageType; //導入依賴的package包/類
/**
* This returns the label text for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public String getText(Object object) {
String label = ((GridCoverageType)object).getId();
return label == null || label.length() == 0 ?
getString("_UI_GridCoverageType_type") :
getString("_UI_GridCoverageType_type") + " " + label;
}
示例2: notifyChanged
import net.opengis.gml.GridCoverageType; //導入依賴的package包/類
/**
* This handles model notifications by calling {@link #updateChildren} to update any cached
* children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public void notifyChanged(Notification notification) {
updateChildren(notification);
switch (notification.getFeatureID(GridCoverageType.class)) {
case GmlPackage.GRID_COVERAGE_TYPE__GRID_DOMAIN:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
return;
}
super.notifyChanged(notification);
}
示例3: createFeatureCollectionWithGridCoverage
import net.opengis.gml.GridCoverageType; //導入依賴的package包/類
private void createFeatureCollectionWithGridCoverage() {
FeatureCollectionDocument doc = FeatureCollectionDocument.Factory.newInstance();
FeaturePropertyType member = doc.addNewFeatureCollection().addNewFeatureMember();
XmlUtil.qualifySubstitutionGroup(member.addNewFeature(), GridCoverageDocument.type.getDocumentElementName(), GridCoverageType.type);
XmlUtil.qualifySubstitutionGroup(doc.getFeatureCollection(), SamplingFeatureCollectionDocument.type.getDocumentElementName());
logger.debug(doc.xmlText(options));
assertTrue(XMLBeansParser.validate(doc).isEmpty());
}
示例4: createGmlGridCoverageType
import net.opengis.gml.GridCoverageType; //導入依賴的package包/類
@Provides
@Override
public GridCoverageType createGmlGridCoverageType() {
return GridCoverageType.Factory.newInstance();
}
示例5: createGmlGridCoverageType
import net.opengis.gml.GridCoverageType; //導入依賴的package包/類
public GridCoverageType createGmlGridCoverageType();