javax.faces.view.Location.toString()方法的使用及代码示例

x33g5p2x  于2022-01-24 转载在 其他  
字(4.9k)|赞(0)|评价(0)|浏览(128)

本文整理了Java中javax.faces.view.Location.toString()方法的一些代码示例,展示了Location.toString()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Location.toString()方法的具体详情如下:
包路径:javax.faces.view.Location
类名称:Location
方法名:toString

Location.toString介绍

暂无

代码示例

代码示例来源:origin: org.apache.myfaces.core/myfaces-impl

private String getComponentLocation(UIComponent component)
{
  Location location = (Location) component.getAttributes()
      .get(UIComponent.VIEW_LOCATION_KEY);
  if (location != null)
  {
    return location.toString();
  }
  return null;
}

代码示例来源:origin: org.icefaces/icefaces-ace

private String getComponentLocation(UIComponent component) {
  Location location = (Location) component.getAttributes().get(UIComponent.VIEW_LOCATION_KEY);
  if (location != null) {
    return location.toString();
  }
  return null;
}

代码示例来源:origin: org.apache.myfaces.core/myfaces-api

private String getComponentLocation(UIComponent component)
{
  Location location = (Location) component.getAttributes()
      .get(UIComponent.VIEW_LOCATION_KEY);
  if (location != null)
  {
    return location.toString();
  }
  return null;
}

代码示例来源:origin: org.icefaces/icefaces-ace

/**
 * Logic for this method is borrowed from MyFaces
 *
 * @param component
 * @return
 */
private String getComponentLocation(UIComponent component) {
  Location location = (Location) component.getAttributes().get(UIComponent.VIEW_LOCATION_KEY);
  if (location != null) {
    return location.toString();
  }
  return null;
}

代码示例来源:origin: org.icefaces/icefaces

/**
 * Logic for this method is borrowed from MyFaces
 *
 * @param component
 * @return
 */
private String getComponentLocation(UIComponent component) {
  Location location = (Location) component.getAttributes().get(UIComponent.VIEW_LOCATION_KEY);
  if (location != null) {
    return location.toString();
  }
  return null;
}

代码示例来源:origin: org.apache.myfaces.core/myfaces-api

/**
 * Gets the Location of the given UIComponent from its attribute map.
 * @param component
 * @return
 */
private String getComponentLocation(UIComponent component)
{
  Location location = (Location) component.getAttributes()
      .get(UIComponent.VIEW_LOCATION_KEY);
  if (location != null)
  {
    return location.toString();
  }
  return null;
}

代码示例来源:origin: org.apache.myfaces.core/myfaces-shaded-impl

/**
   * Gets the Location of the given UIComponent from its attribute map.
   * @param component
   * @return
   */
  private static String _getComponentLocation(UIComponent component)
  {
    Location location = (Location) component.getAttributes()
        .get(UIComponent.VIEW_LOCATION_KEY);
    if (location != null)
    {
      return location.toString();
    }
    return null;
  }
}

代码示例来源:origin: org.apache.myfaces.core.internal/myfaces-shaded-impl

/**
   * Gets the Location of the given UIComponent from its attribute map.
   * @param component
   * @return
   */
  private static String _getComponentLocation(UIComponent component)
  {
    Location location = (Location) component.getAttributes()
        .get(UIComponent.VIEW_LOCATION_KEY);
    if (location != null)
    {
      return location.toString();
    }
    return null;
  }
}

代码示例来源:origin: org.apache.myfaces.core/myfaces-impl

/**
   * Gets the Location of the given UIComponent from its attribute map.
   * @param component
   * @return
   */
  private static String _getComponentLocation(UIComponent component)
  {
    Location location = (Location) component.getAttributes()
        .get(UIComponent.VIEW_LOCATION_KEY);
    if (location != null)
    {
      return location.toString();
    }
    return null;
  }
}

代码示例来源:origin: org.apache.myfaces.core/myfaces-impl

contextAwareLocation = caex.getLocation().toString() + "    " +
            caex.getQName() + "=\"" +
            caex.getExpressionString() + "\"";
  contextAwareLocation = caex.getLocation().toString() + "    " +
              caex.getQName() + "=\"" +
              caex.getExpressionString() + "\"";

代码示例来源:origin: org.apache.myfaces.core/myfaces-impl

if (location != null)
  message += location.toString();

代码示例来源:origin: de.beyondjava/angularFaces-core

modified.add(modifiedAttribute);
if (!firstMatch) {
  LOGGER.severe("Tag " + tag.getQName() + " can't have multiple ng-models." + tag.getLocation().toString());

代码示例来源:origin: org.glassfish/jakarta.faces

LOGGER.log(Level.WARNING,
      "jsf.composite.component.insertchildren.missing.template",
      location.toString());

代码示例来源:origin: com.sun.faces/jsf-impl

LOGGER.log(Level.WARNING,
      "jsf.composite.component.insertchildren.missing.template",
      location.toString());

代码示例来源:origin: org.glassfish/javax.faces

LOGGER.log(Level.WARNING,
      "jsf.composite.component.insertchildren.missing.template",
      location.toString());

代码示例来源:origin: eclipse-ee4j/mojarra

LOGGER.log(Level.WARNING,
      "jsf.composite.component.insertchildren.missing.template",
      location.toString());

代码示例来源:origin: com.sun.faces/jsf-impl

LOGGER.log(Level.WARNING,
      "jsf.composite.component.insertfacet.missing.template",
      location.toString());

代码示例来源:origin: org.glassfish/jakarta.faces

LOGGER.log(Level.WARNING,
      "jsf.composite.component.insertfacet.missing.template",
      location.toString());

代码示例来源:origin: eclipse-ee4j/mojarra

LOGGER.log(Level.WARNING,
      "jsf.composite.component.insertfacet.missing.template",
      location.toString());

代码示例来源:origin: org.glassfish/javax.faces

LOGGER.log(Level.WARNING,
      "jsf.composite.component.insertfacet.missing.template",
      location.toString());

相关文章