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

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

本文整理了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

  1. /**
  2. * Set the path for this URI. If the supplied path is null, then the
  3. * query string and fragment are set to null as well. If the supplied
  4. * path includes a query string and/or fragment, these fields will be
  5. * parsed and set as well. Note that, for URIs following the "generic
  6. * URI" syntax, the path specified should start with a slash.
  7. * For URIs that do not follow the generic URI syntax, this method
  8. * sets the scheme-specific part.
  9. *
  10. * @param p_path the path for this URI (may be null)
  11. *
  12. * @throws MalformedURIException if p_path contains invalid
  13. * characters
  14. */
  15. public void setPath(String p_path) throws MalformedURIException
  16. {
  17. if (p_path == null)
  18. {
  19. m_path = null;
  20. m_queryString = null;
  21. m_fragment = null;
  22. }
  23. else
  24. {
  25. initializePath(p_path);
  26. }
  27. }

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

  1. /**
  2. * Set the path for this URI. If the supplied path is null, then the
  3. * query string and fragment are set to null as well. If the supplied
  4. * path includes a query string and/or fragment, these fields will be
  5. * parsed and set as well. Note that, for URIs following the "generic
  6. * URI" syntax, the path specified should start with a slash.
  7. * For URIs that do not follow the generic URI syntax, this method
  8. * sets the scheme-specific part.
  9. *
  10. * @param p_path the path for this URI (may be null)
  11. *
  12. * @throws MalformedURIException if p_path contains invalid
  13. * characters
  14. */
  15. public void setPath(String p_path) throws MalformedURIException
  16. {
  17. if (p_path == null)
  18. {
  19. m_path = null;
  20. m_queryString = null;
  21. m_fragment = null;
  22. }
  23. else
  24. {
  25. initializePath(p_path);
  26. }
  27. }

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

  1. initializePath(uriSpec.substring(index));

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

  1. initializePath(uriSpec.substring(index));

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

  1. /**
  2. * Set the path for this URI. If the supplied path is null, then the
  3. * query string and fragment are set to null as well. If the supplied
  4. * path includes a query string and/or fragment, these fields will be
  5. * parsed and set as well. Note that, for URIs following the "generic
  6. * URI" syntax, the path specified should start with a slash.
  7. * For URIs that do not follow the generic URI syntax, this method
  8. * sets the scheme-specific part.
  9. *
  10. * @param p_path the path for this URI (may be null)
  11. *
  12. * @throws MalformedURIException if p_path contains invalid
  13. * characters
  14. */
  15. public void setPath(String p_path) throws MalformedURIException
  16. {
  17. if (p_path == null)
  18. {
  19. m_path = null;
  20. m_queryString = null;
  21. m_fragment = null;
  22. }
  23. else
  24. {
  25. initializePath(p_path);
  26. }
  27. }

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

  1. /**
  2. * Set the path for this URI. If the supplied path is null, then the
  3. * query string and fragment are set to null as well. If the supplied
  4. * path includes a query string and/or fragment, these fields will be
  5. * parsed and set as well. Note that, for URIs following the "generic
  6. * URI" syntax, the path specified should start with a slash.
  7. * For URIs that do not follow the generic URI syntax, this method
  8. * sets the scheme-specific part.
  9. *
  10. * @param p_path the path for this URI (may be null)
  11. *
  12. * @throws MalformedURIException if p_path contains invalid
  13. * characters
  14. */
  15. public void setPath(String p_path) throws MalformedURIException
  16. {
  17. if (p_path == null)
  18. {
  19. m_path = null;
  20. m_queryString = null;
  21. m_fragment = null;
  22. }
  23. else
  24. {
  25. initializePath(p_path);
  26. }
  27. }

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

  1. /**
  2. * Set the path for this URI. If the supplied path is null, then the
  3. * query string and fragment are set to null as well. If the supplied
  4. * path includes a query string and/or fragment, these fields will be
  5. * parsed and set as well. Note that, for URIs following the "generic
  6. * URI" syntax, the path specified should start with a slash.
  7. * For URIs that do not follow the generic URI syntax, this method
  8. * sets the scheme-specific part.
  9. *
  10. * @param p_path the path for this URI (may be null)
  11. *
  12. * @throws MalformedURIException if p_path contains invalid
  13. * characters
  14. */
  15. public void setPath(String p_path) throws MalformedURIException
  16. {
  17. if (p_path == null)
  18. {
  19. m_path = null;
  20. m_queryString = null;
  21. m_fragment = null;
  22. }
  23. else
  24. {
  25. initializePath(p_path);
  26. }
  27. }

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

  1. /**
  2. * Set the path for this URI. If the supplied path is null, then the
  3. * query string and fragment are set to null as well. If the supplied
  4. * path includes a query string and/or fragment, these fields will be
  5. * parsed and set as well. Note that, for URIs following the "generic
  6. * URI" syntax, the path specified should start with a slash.
  7. * For URIs that do not follow the generic URI syntax, this method
  8. * sets the scheme-specific part.
  9. *
  10. * @param p_path the path for this URI (may be null)
  11. *
  12. * @throws MalformedURIException if p_path contains invalid
  13. * characters
  14. */
  15. public void setPath(String p_path) throws MalformedURIException
  16. {
  17. if (p_path == null)
  18. {
  19. m_path = null;
  20. m_queryString = null;
  21. m_fragment = null;
  22. }
  23. else
  24. {
  25. initializePath(p_path);
  26. }
  27. }

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

  1. /**
  2. * Set the path for this URI. If the supplied path is null, then the
  3. * query string and fragment are set to null as well. If the supplied
  4. * path includes a query string and/or fragment, these fields will be
  5. * parsed and set as well. Note that, for URIs following the "generic
  6. * URI" syntax, the path specified should start with a slash.
  7. * For URIs that do not follow the generic URI syntax, this method
  8. * sets the scheme-specific part.
  9. *
  10. * @param p_path the path for this URI (may be null)
  11. *
  12. * @throws MalformedURIException if p_path contains invalid
  13. * characters
  14. */
  15. public void setPath(String p_path) throws MalformedURIException
  16. {
  17. if (p_path == null)
  18. {
  19. m_path = null;
  20. m_queryString = null;
  21. m_fragment = null;
  22. }
  23. else
  24. {
  25. initializePath(p_path);
  26. }
  27. }

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

  1. /**
  2. * Set the path for this URI. If the supplied path is null, then the
  3. * query string and fragment are set to null as well. If the supplied
  4. * path includes a query string and/or fragment, these fields will be
  5. * parsed and set as well. Note that, for URIs following the "generic
  6. * URI" syntax, the path specified should start with a slash.
  7. * For URIs that do not follow the generic URI syntax, this method
  8. * sets the scheme-specific part.
  9. *
  10. * @param p_path the path for this URI (may be null)
  11. *
  12. * @throws MalformedURIException if p_path contains invalid
  13. * characters
  14. */
  15. public void setPath(String p_path) throws MalformedURIException
  16. {
  17. if (p_path == null)
  18. {
  19. m_path = null;
  20. m_queryString = null;
  21. m_fragment = null;
  22. }
  23. else
  24. {
  25. initializePath(p_path);
  26. }
  27. }

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

  1. /**
  2. * Set the path for this URI. If the supplied path is null, then the
  3. * query string and fragment are set to null as well. If the supplied
  4. * path includes a query string and/or fragment, these fields will be
  5. * parsed and set as well. Note that, for URIs following the "generic
  6. * URI" syntax, the path specified should start with a slash.
  7. * For URIs that do not follow the generic URI syntax, this method
  8. * sets the scheme-specific part.
  9. *
  10. * @param p_path the path for this URI (may be null)
  11. *
  12. * @throws MalformedURIException if p_path contains invalid
  13. * characters
  14. */
  15. public void setPath(String p_path) throws MalformedURIException
  16. {
  17. if (p_path == null)
  18. {
  19. m_path = null;
  20. m_queryString = null;
  21. m_fragment = null;
  22. }
  23. else
  24. {
  25. initializePath(p_path);
  26. }
  27. }

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

  1. /**
  2. * Set the path for this URI. If the supplied path is null, then the
  3. * query string and fragment are set to null as well. If the supplied
  4. * path includes a query string and/or fragment, these fields will be
  5. * parsed and set as well. Note that, for URIs following the "generic
  6. * URI" syntax, the path specified should start with a slash.
  7. * For URIs that do not follow the generic URI syntax, this method
  8. * sets the scheme-specific part.
  9. *
  10. * @param p_path the path for this URI (may be null)
  11. *
  12. * @throws MalformedURIException if p_path contains invalid
  13. * characters
  14. */
  15. public void setPath(String p_path) throws MalformedURIException
  16. {
  17. if (p_path == null)
  18. {
  19. m_path = null;
  20. m_queryString = null;
  21. m_fragment = null;
  22. }
  23. else
  24. {
  25. initializePath(p_path);
  26. }
  27. }

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

  1. /**
  2. * Set the path for this URI. If the supplied path is null, then the
  3. * query string and fragment are set to null as well. If the supplied
  4. * path includes a query string and/or fragment, these fields will be
  5. * parsed and set as well. Note that, for URIs following the "generic
  6. * URI" syntax, the path specified should start with a slash.
  7. * For URIs that do not follow the generic URI syntax, this method
  8. * sets the scheme-specific part.
  9. *
  10. * @param p_path the path for this URI (may be null)
  11. *
  12. * @throws MalformedURIException if p_path contains invalid
  13. * characters
  14. */
  15. public void setPath(String p_path) throws MalformedURIException
  16. {
  17. if (p_path == null)
  18. {
  19. m_path = null;
  20. m_queryString = null;
  21. m_fragment = null;
  22. }
  23. else
  24. {
  25. initializePath(p_path);
  26. }
  27. }

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

  1. initializePath(uriSpec.substring(index));

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

  1. initializePath(uriSpec.substring(index));

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

  1. initializePath(uriSpec.substring(index));

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

  1. initializePath(uriSpec.substring(index));

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

  1. initializePath(uriSpec.substring(index));

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

  1. initializePath(uriSpec.substring(index));

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

  1. initializePath(uriSpec.substring(index));

相关文章