org.apache.xml.utils.URI.initializePath()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(8.4k)|赞(0)|评价(0)|浏览(97)

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

URI.initializePath介绍

[英]Initialize the path for this URI from a URI string spec.
[中]从URI字符串规范初始化此URI的路径。

代码示例

代码示例来源:origin: robovm/robovm

/**
 * Set the path for this URI. If the supplied path is null, then the
 * query string and fragment are set to null as well. If the supplied
 * path includes a query string and/or fragment, these fields will be
 * parsed and set as well. Note that, for URIs following the "generic
 * URI" syntax, the path specified should start with a slash.
 * For URIs that do not follow the generic URI syntax, this method
 * sets the scheme-specific part.
 *
 * @param p_path the path for this URI (may be null)
 *
 * @throws MalformedURIException if p_path contains invalid
 *                                  characters
 */
public void setPath(String p_path) throws MalformedURIException
{
 if (p_path == null)
 {
  m_path = null;
  m_queryString = null;
  m_fragment = null;
 }
 else
 {
  initializePath(p_path);
 }
}

代码示例来源:origin: xalan/xalan

/**
 * Set the path for this URI. If the supplied path is null, then the
 * query string and fragment are set to null as well. If the supplied
 * path includes a query string and/or fragment, these fields will be
 * parsed and set as well. Note that, for URIs following the "generic
 * URI" syntax, the path specified should start with a slash.
 * For URIs that do not follow the generic URI syntax, this method
 * sets the scheme-specific part.
 *
 * @param p_path the path for this URI (may be null)
 *
 * @throws MalformedURIException if p_path contains invalid
 *                                  characters
 */
public void setPath(String p_path) throws MalformedURIException
{
 if (p_path == null)
 {
  m_path = null;
  m_queryString = null;
  m_fragment = null;
 }
 else
 {
  initializePath(p_path);
 }
}

代码示例来源:origin: robovm/robovm

initializePath(uriSpec.substring(index));

代码示例来源:origin: xalan/xalan

initializePath(uriSpec.substring(index));

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

/**
 * Set the path for this URI. If the supplied path is null, then the
 * query string and fragment are set to null as well. If the supplied
 * path includes a query string and/or fragment, these fields will be
 * parsed and set as well. Note that, for URIs following the "generic
 * URI" syntax, the path specified should start with a slash.
 * For URIs that do not follow the generic URI syntax, this method
 * sets the scheme-specific part.
 *
 * @param p_path the path for this URI (may be null)
 *
 * @throws MalformedURIException if p_path contains invalid
 *                                  characters
 */
public void setPath(String p_path) throws MalformedURIException
{
 if (p_path == null)
 {
  m_path = null;
  m_queryString = null;
  m_fragment = null;
 }
 else
 {
  initializePath(p_path);
 }
}

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

/**
 * Set the path for this URI. If the supplied path is null, then the
 * query string and fragment are set to null as well. If the supplied
 * path includes a query string and/or fragment, these fields will be
 * parsed and set as well. Note that, for URIs following the "generic
 * URI" syntax, the path specified should start with a slash.
 * For URIs that do not follow the generic URI syntax, this method
 * sets the scheme-specific part.
 *
 * @param p_path the path for this URI (may be null)
 *
 * @throws MalformedURIException if p_path contains invalid
 *                                  characters
 */
public void setPath(String p_path) throws MalformedURIException
{
 if (p_path == null)
 {
  m_path = null;
  m_queryString = null;
  m_fragment = null;
 }
 else
 {
  initializePath(p_path);
 }
}

代码示例来源:origin: MobiVM/robovm

/**
 * Set the path for this URI. If the supplied path is null, then the
 * query string and fragment are set to null as well. If the supplied
 * path includes a query string and/or fragment, these fields will be
 * parsed and set as well. Note that, for URIs following the "generic
 * URI" syntax, the path specified should start with a slash.
 * For URIs that do not follow the generic URI syntax, this method
 * sets the scheme-specific part.
 *
 * @param p_path the path for this URI (may be null)
 *
 * @throws MalformedURIException if p_path contains invalid
 *                                  characters
 */
public void setPath(String p_path) throws MalformedURIException
{
 if (p_path == null)
 {
  m_path = null;
  m_queryString = null;
  m_fragment = null;
 }
 else
 {
  initializePath(p_path);
 }
}

代码示例来源:origin: com.gluonhq/robovm-rt

/**
 * Set the path for this URI. If the supplied path is null, then the
 * query string and fragment are set to null as well. If the supplied
 * path includes a query string and/or fragment, these fields will be
 * parsed and set as well. Note that, for URIs following the "generic
 * URI" syntax, the path specified should start with a slash.
 * For URIs that do not follow the generic URI syntax, this method
 * sets the scheme-specific part.
 *
 * @param p_path the path for this URI (may be null)
 *
 * @throws MalformedURIException if p_path contains invalid
 *                                  characters
 */
public void setPath(String p_path) throws MalformedURIException
{
 if (p_path == null)
 {
  m_path = null;
  m_queryString = null;
  m_fragment = null;
 }
 else
 {
  initializePath(p_path);
 }
}

代码示例来源:origin: ibinti/bugvm

/**
 * Set the path for this URI. If the supplied path is null, then the
 * query string and fragment are set to null as well. If the supplied
 * path includes a query string and/or fragment, these fields will be
 * parsed and set as well. Note that, for URIs following the "generic
 * URI" syntax, the path specified should start with a slash.
 * For URIs that do not follow the generic URI syntax, this method
 * sets the scheme-specific part.
 *
 * @param p_path the path for this URI (may be null)
 *
 * @throws MalformedURIException if p_path contains invalid
 *                                  characters
 */
public void setPath(String p_path) throws MalformedURIException
{
 if (p_path == null)
 {
  m_path = null;
  m_queryString = null;
  m_fragment = null;
 }
 else
 {
  initializePath(p_path);
 }
}

代码示例来源:origin: FlexoVM/flexovm

/**
 * Set the path for this URI. If the supplied path is null, then the
 * query string and fragment are set to null as well. If the supplied
 * path includes a query string and/or fragment, these fields will be
 * parsed and set as well. Note that, for URIs following the "generic
 * URI" syntax, the path specified should start with a slash.
 * For URIs that do not follow the generic URI syntax, this method
 * sets the scheme-specific part.
 *
 * @param p_path the path for this URI (may be null)
 *
 * @throws MalformedURIException if p_path contains invalid
 *                                  characters
 */
public void setPath(String p_path) throws MalformedURIException
{
 if (p_path == null)
 {
  m_path = null;
  m_queryString = null;
  m_fragment = null;
 }
 else
 {
  initializePath(p_path);
 }
}

代码示例来源:origin: com.bugvm/bugvm-rt

/**
 * Set the path for this URI. If the supplied path is null, then the
 * query string and fragment are set to null as well. If the supplied
 * path includes a query string and/or fragment, these fields will be
 * parsed and set as well. Note that, for URIs following the "generic
 * URI" syntax, the path specified should start with a slash.
 * For URIs that do not follow the generic URI syntax, this method
 * sets the scheme-specific part.
 *
 * @param p_path the path for this URI (may be null)
 *
 * @throws MalformedURIException if p_path contains invalid
 *                                  characters
 */
public void setPath(String p_path) throws MalformedURIException
{
 if (p_path == null)
 {
  m_path = null;
  m_queryString = null;
  m_fragment = null;
 }
 else
 {
  initializePath(p_path);
 }
}

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

/**
 * Set the path for this URI. If the supplied path is null, then the
 * query string and fragment are set to null as well. If the supplied
 * path includes a query string and/or fragment, these fields will be
 * parsed and set as well. Note that, for URIs following the "generic
 * URI" syntax, the path specified should start with a slash.
 * For URIs that do not follow the generic URI syntax, this method
 * sets the scheme-specific part.
 *
 * @param p_path the path for this URI (may be null)
 *
 * @throws MalformedURIException if p_path contains invalid
 *                                  characters
 */
public void setPath(String p_path) throws MalformedURIException
{
 if (p_path == null)
 {
  m_path = null;
  m_queryString = null;
  m_fragment = null;
 }
 else
 {
  initializePath(p_path);
 }
}

代码示例来源:origin: org.apache.karaf.bundles/org.apache.karaf.bundles.xalan-2.7.1

/**
 * Set the path for this URI. If the supplied path is null, then the
 * query string and fragment are set to null as well. If the supplied
 * path includes a query string and/or fragment, these fields will be
 * parsed and set as well. Note that, for URIs following the "generic
 * URI" syntax, the path specified should start with a slash.
 * For URIs that do not follow the generic URI syntax, this method
 * sets the scheme-specific part.
 *
 * @param p_path the path for this URI (may be null)
 *
 * @throws MalformedURIException if p_path contains invalid
 *                                  characters
 */
public void setPath(String p_path) throws MalformedURIException
{
 if (p_path == null)
 {
  m_path = null;
  m_queryString = null;
  m_fragment = null;
 }
 else
 {
  initializePath(p_path);
 }
}

代码示例来源:origin: com.bugvm/bugvm-rt

initializePath(uriSpec.substring(index));

代码示例来源:origin: MobiVM/robovm

initializePath(uriSpec.substring(index));

代码示例来源:origin: ibinti/bugvm

initializePath(uriSpec.substring(index));

代码示例来源:origin: FlexoVM/flexovm

initializePath(uriSpec.substring(index));

代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.xalan

initializePath(uriSpec.substring(index));

代码示例来源:origin: com.gluonhq/robovm-rt

initializePath(uriSpec.substring(index));

代码示例来源:origin: com.mobidevelop.robovm/robovm-rt

initializePath(uriSpec.substring(index));

相关文章