The following features are supported:
101102103104105106107108109110111112113114115116117118119120
{ Iterator<DCPType> iterator2 = next.getDCP().iterator(); while (iterator2.hasNext()) { DCPType next2 = (DCPType) iterator2.next(); HTTPType http = next2.getHTTP(); if (getGet && !http.getGet().isEmpty()) { RequestMethodType rmt = (RequestMethodType) http.getGet().get(0); return makeURL(rmt.getHref()); } else if (!http.getPost().isEmpty()) { RequestMethodType rmt = (RequestMethodType) http.getPost().get(0); return makeURL(rmt.getHref()); } }
7071727374757677787980
caps.setServiceIdentification( si ); si.getTitle().add( Ows11Util.languageString( wps.getTitle() ) ); si.getAbstract().add( Ows11Util.languageString( wps.getAbstract() ) ); KeywordsType kw = Ows11Util.keywords( wps.getKeywords( ) ); ; if ( kw != null ) { si.getKeywords().add( kw ); } si.setServiceType( Ows11Util.code( "WPS" ) );
4344454647484950515253
public static KeywordsType keywords( List<String> keywords) { if ( keywords == null || keywords.size() == 0 ) { return null; } KeywordsType kw = f.createKeywordsType(); for ( String keyword : keywords ) { kw.getKeyword().add( languageString( keyword ) ); } return kw; }
343536373839404142
public static LanguageStringType languageString( InternationalString value ) { return languageString( value.toString( Locale.getDefault() ) ); } public static LanguageStringType languageString( String value ) { LanguageStringType ls = f.createLanguageStringType(); ls.setValue( value ); return ls; }
160161162163164165166167168169170
* <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetTitle(LanguageStringType newTitle, NotificationChain msgs) { LanguageStringType oldTitle = title; title = newTitle; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wps10Package.DESCRIPTION_TYPE__TITLE, oldTitle, newTitle); if (msgs == null) msgs = notification; else msgs.add(notification); }
203204205206207208209210211212213
* <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetAbstract(LanguageStringType newAbstract, NotificationChain msgs) { LanguageStringType oldAbstract = abstract_; abstract_ = newAbstract; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wps10Package.DESCRIPTION_TYPE__ABSTRACT, oldAbstract, newAbstract); if (msgs == null) msgs = notification; else msgs.add(notification); }
115116117118119120121122123124125
* <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetTitle(LanguageStringType newTitle, NotificationChain msgs) { LanguageStringType oldTitle = title; title = newTitle; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wps10Package.DOCUMENT_OUTPUT_DEFINITION_TYPE__TITLE, oldTitle, newTitle); if (msgs == null) msgs = notification; else msgs.add(notification); }
158159160161162163164165166167168
* <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetAbstract(LanguageStringType newAbstract, NotificationChain msgs) { LanguageStringType oldAbstract = abstract_; abstract_ = newAbstract; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wps10Package.DOCUMENT_OUTPUT_DEFINITION_TYPE__ABSTRACT, oldAbstract, newAbstract); if (msgs == null) msgs = notification; else msgs.add(notification); }
165166167168169170171172173174175
* <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetTitle(LanguageStringType newTitle, NotificationChain msgs) { LanguageStringType oldTitle = title; title = newTitle; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wps10Package.INPUT_TYPE__TITLE, oldTitle, newTitle); if (msgs == null) msgs = notification; else msgs.add(notification); }
208209210211212213214215216217218
* <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain basicSetAbstract(LanguageStringType newAbstract, NotificationChain msgs) { LanguageStringType oldAbstract = abstract_; abstract_ = newAbstract; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, Wps10Package.INPUT_TYPE__ABSTRACT, oldAbstract, newAbstract); if (msgs == null) msgs = notification; else msgs.add(notification); }