Package 

Object PathFormats.ReferencePath

  • All Implemented Interfaces:
    icu.windea.breezeframework.core.component.Component , icu.windea.breezeframework.core.component.PathFormat

    
    public class PathFormats.ReferencePath
    extends AbstractPathFormat
                        

    引用路径。

    规则:

    • .作为分隔符,可以在索引之前省略。

    • [index] 匹配索引indexindex是整数。

    • name 匹配名字、键name

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String normalize(String path) 标准化指定的路径。将会去除其中的空白以及尾随的分隔符。
      Boolean matches(String value, String path) 判断指定的字符串是否匹配指定的路径。
      Map<String, String> resolveVariables(String value, String path) 解析路径变量。如果路径不匹配,则返回空结果。
      String getComponentId()
      Map<String, Object> getComponentParams()
      • Methods inherited from class icu.windea.breezeframework.core.component.PathFormats.ReferencePath

        equals, get, getOrDefault, getOrElse, getOrNull, hashCode, joinToString, joinToString, joinToString, query, split, splitToSequence, toString
      • Methods inherited from class icu.windea.breezeframework.core.component.AbstractPathFormat

        componentCopy
      • Methods inherited from class icu.windea.breezeframework.core.component.PathFormat

        componentEquals, componentHashcode, componentToString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait