Examples of identify()


Examples of org.apache.isis.viewer.dnd.view.View.identify()

            getViewManager().getSpy().addTrace(this, "mouse location within node view", location);
            getViewManager().getSpy().addTrace("----");
            return getView();
        } else {
            location.subtract(subview.getLocation());
            return subview.identify(location);
        }
    }

    @Override
    public void invalidateContent() {
View Full Code Here

Examples of org.apache.isis.viewer.dnd.view.View.identify()

            getViewManager().getSpy().addTrace(this, "mouse location within node view", location);
            getViewManager().getSpy().addTrace("----");
            return getView();
        } else {
            location.subtract(subview.getLocation());
            return subview.identify(location);
        }
    }

    @Override
    public void invalidateContent() {
View Full Code Here

Examples of org.apache.juddi.v3.auth.Authenticator.identify()

   
    if (modelAuthToken.getTokenState() == AUTHTOKEN_RETIRED)
      throw new AuthTokenRequiredException(new ErrorMessage("errors.auth.AuthInvalid"));
   
    Authenticator authenticator = AuthenticatorFactory.getAuthenticator();
    UddiEntityPublisher entityPublisher = authenticator.identify(authInfo, modelAuthToken.getAuthorizedName());
   
    // Must make sure the returned publisher has all the necessary fields filled
    if (entityPublisher == null)
      throw new AuthTokenRequiredException(new ErrorMessage("errors.auth.AuthInvalid"));
View Full Code Here

Examples of org.apache.juddi.v3.auth.Authenticator.identify()

                        logger.error("unexpected error caught looking up requestor's ip address", ex);
                    }
                   
                }
    Authenticator authenticator = AuthenticatorFactory.getAuthenticator();
    UddiEntityPublisher entityPublisher = authenticator.identify(authInfo, modelAuthToken.getAuthorizedName());
   
    // Must make sure the returned publisher has all the necessary fields filled
    if (entityPublisher == null) {
                    logger.warn("AUDIT FAILURE - Auth token invalided, publisher does not exist "+ getRequestorsIPAddress());
      throw new AuthTokenRequiredException(new ErrorMessage("errors.auth.AuthInvalid"));
View Full Code Here

Examples of org.apache.juddi.v3.auth.Authenticator.identify()

    if (modelAuthToken.getTokenState() == AUTHTOKEN_RETIRED)
      throw new AuthTokenExpiredException(new ErrorMessage("errors.auth.AuthTokenExpired"));
   
    Authenticator authenticator = AuthenticatorFactory.getAuthenticator();
    UddiEntityPublisher entityPublisher = authenticator.identify(authInfo, modelAuthToken.getAuthorizedName());
   
    // Must make sure the returned publisher has all the necessary fields filled
    if (entityPublisher == null)
      throw new AuthTokenRequiredException(new ErrorMessage("errors.auth.AuthInvalid"));
View Full Code Here

Examples of org.apache.juddi.v3.auth.Authenticator.identify()

   
    if (modelAuthToken.getTokenState() == AUTHTOKEN_RETIRED)
      throw new AuthTokenRequiredException(new ErrorMessage("errors.auth.AuthInvalid"));
   
    Authenticator authenticator = AuthenticatorFactory.getAuthenticator();
    UddiEntityPublisher entityPublisher = authenticator.identify(authInfo, modelAuthToken.getAuthorizedName());
   
    // Must make sure the returned publisher has all the necessary fields filled
    if (entityPublisher == null)
      throw new AuthTokenRequiredException(new ErrorMessage("errors.auth.AuthInvalid"));
View Full Code Here

Examples of org.apache.nutch.analysis.lang.custom.LanguageIdentifier.identify()

   * @return detected language
   */
  public static String detectLanguage(String text) {
    LanguageIdentifier li = getLIInstance();

    return li.identify(text);
  }

  /**
   * Detect language from an input stream
   * @param is
View Full Code Here

Examples of org.apache.nutch.analysis.lang.custom.LanguageIdentifier.identify()

   * @return detected language
   * @throws IOException
   */
  public static String detectLanguage(InputStream is) throws IOException {
    LanguageIdentifier li = getLIInstance();
    return li.identify(is);
  }

  /**
   * Detect language from an input stream
   * @param is
View Full Code Here

Examples of org.apache.nutch.analysis.lang.custom.LanguageIdentifier.identify()

   * @return detected language
   * @throws IOException
   */
  public static String detectLanguage(InputStream is, String charset) throws IOException {
    LanguageIdentifier li = getLIInstance();
    return li.identify(is, charset);
  }

  private static LanguageIdentifier getLIInstance() {
    if (langID == null) {
      langID = new LanguageIdentifier();
View Full Code Here

Examples of org.geoserver.wms.featureinfo.LayerIdentifier.identify()

        List<LayerIdentifier> identifiers = GeoServerExtensions.extensions(LayerIdentifier.class);
        for (int i = 0; i < requestedLayers.size(); i++) {
            final MapLayerInfo layer = requestedLayers.get(i);

            LayerIdentifier identifier = getLayerIdentifier(layer, identifiers);
            List<FeatureCollection> identifiedCollections = identifier.identify(requestParams,
                    maxFeatures);
            if (identifiedCollections != null) {
                for (FeatureCollection identifierCollection : identifiedCollections) {
                    FeatureCollection fc = selectProperties(requestParams, identifierCollection);
                    maxFeatures = addToResults(fc, results, layer, request, maxFeatures);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.