javax0.jamal.engine.macro.ParameterSegment Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jamal-engine Show documentation
Show all versions of jamal-engine Show documentation
Jamal macro library execution engine
The newest version!
package javax0.jamal.engine.macro;
import java.util.Map;
import java.util.Objects;
public class ParameterSegment extends Segment {
public ParameterSegment(Segment nextSeg, String text) {
this.nextSeg = nextSeg;
this.text = text;
}
@Override
public String content(final Map values) {
Objects.requireNonNull(values);
return values.get(text);
}
public void split(String parameter) {
// NOT SPLITTABLE
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy