org.apache.wicket.markup.parser.XmlTag.toString()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(3.7k)|赞(0)|评价(0)|浏览(119)

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

XmlTag.toString介绍

[英]Converts this object to a string representation.
[中]将此对象转换为字符串表示形式。

代码示例

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

/**
 * Converts this object to a string representation.
 * 
 * @return String version of this object
 */
@Override
public final String toString()
{
  return "" + httpTagType + ": '" + xmlTag.toString() + "'";
}

代码示例来源:origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * Converts this object to a string representation.
 * 
 * @return String version of this object
 */
public String toUserDebugString()
{
  return "'" + toString() + "' (line " + lineNumber + ", column " + columnNumber + ")";
}

代码示例来源:origin: apache/wicket

/**
 * Converts this object to a string representation.
 * 
 * @return String version of this object
 */
@Override
public final String toString()
{
  return "" + httpTagType + ": '" + xmlTag.toString() + "'";
}

代码示例来源:origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Converts this object to a string representation.
 * 
 * @return String version of this object
 */
@Override
public String toUserDebugString()
{
  return "'" + toString() + "' (line " + lineNumber + ", column " + columnNumber + ")";
}

代码示例来源:origin: apache/wicket

/**
 * String representation with line and column number
 * 
 * @return String version of this object
 */
public String toUserDebugString()
{
  return " '" + toString() + "' (line " + getLineNumber() + ", column " + getColumnNumber() +
    ")";
}

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

/**
 * String representation with line and column number
 * 
 * @return String version of this object
 */
public String toUserDebugString()
{
  return " '" + toString() + "' (line " + getLineNumber() + ", column " + getColumnNumber() +
    ")";
}

代码示例来源:origin: org.wicketstuff/tinymce

@Override
  public void onImageUploaded(ImageFileDescription pImageFileDescription, AjaxRequestTarget pTarget) {
    modalWindow.close(pTarget);
    resetModalContent();
    CharSequence url = ImageUploadPanel.this.urlFor(IResourceListener.INTERFACE);
    XmlTag xmlImageTag = ImageUploadHelper.createImageTag(pImageFileDescription, url);
    pTarget.appendJavascript("putImage('"+xmlImageTag.toString()+"');");
  }
};

代码示例来源:origin: org.wicketstuff/wicketstuff-tinymce

@Override
  public void onImageUploaded(
      ImageFileDescription pImageFileDescription,
      AjaxRequestTarget pTarget) {
    modalWindow.close(pTarget);
    resetModalContent();
    CharSequence url = ImageUploadPanel.this
        .urlFor(IResourceListener.INTERFACE, null);
    XmlTag xmlImageTag = ImageUploadHelper.createImageTag(
        pImageFileDescription, url);
    pTarget.appendJavaScript("putImage('"
        + xmlImageTag.toString() + "');");
  }
};

代码示例来源:origin: org.wicketstuff/wicketstuff-tinymce4

@Override
  public void onImageUploaded(
      ImageFileDescription pImageFileDescription,
      AjaxRequestTarget pTarget) {
    modalWindow.close(pTarget);
    resetModalContent();
    CharSequence url = ImageUploadPanel.this
        .urlForListener(new PageParameters());
    XmlTag xmlImageTag = ImageUploadHelper.createImageTag(
        pImageFileDescription, url);
    pTarget.appendJavaScript("putImage('"
        + xmlImageTag.toString() + "');");
  }
};

代码示例来源:origin: org.wicketstuff/wicketstuff-tinymce3

@Override
  public void onImageUploaded(
      ImageFileDescription pImageFileDescription,
      AjaxRequestTarget pTarget) {
    modalWindow.close(pTarget);
    resetModalContent();
    CharSequence url = ImageUploadPanel.this
        .urlForListener(new PageParameters());
    XmlTag xmlImageTag = ImageUploadHelper.createImageTag(
        pImageFileDescription, url);
    pTarget.appendJavaScript("putImage('"
        + xmlImageTag.toString() + "');");
  }
};

相关文章