/** * Placeholder that marks the last position where this {@link PlaceholderGrouping} did store something. The default implementation * always returns {@link #getPlaceholder() placeholder + "last"}, but subclasses may change the behavior. * @return the last location where something interesting happened */ protected Path getLastPlaceholder(){ return placeholder.append( "last" ); }
public Path combine( Path first, Path second ) { return first.append( second ); } };
/** * Creates a new path appending <code>segments</code> to this path. * @param segments the additional segments * @return the new path */ public Path append( String segments ){ return append( new Path( segments )); }
/** * Gets the identifier for the kind of {@link UIValue} that reads an {@link UIValue} of this type. * @param kind the kind of {@link UIValue} * @return the identifier to use in a map */ public Path getKind( Path kind ){ return new Path( key ).append( kind ); } }
/** * Gets the identifier for the kind of {@link UIValue} that reads an {@link UIValue} of this type. * @param kind the kind of {@link UIValue} * @return the identifier to use in a map */ public Path getKind( Path kind ){ return new Path( key ).append( kind ); } }