diff --git a/src/main/java/eu/europa/ted/efx/interfaces/MarkupGenerator.java b/src/main/java/eu/europa/ted/efx/interfaces/MarkupGenerator.java index c6d76d3f..3a9800db 100644 --- a/src/main/java/eu/europa/ted/efx/interfaces/MarkupGenerator.java +++ b/src/main/java/eu/europa/ted/efx/interfaces/MarkupGenerator.java @@ -176,8 +176,8 @@ public interface MarkupGenerator { /** * Returns the markup that represents a line break in the target template. * - * For example, in EFX to XSLT, translation this would return a
HTML - * element if your target is rendering HTML, or an + * For example, in EFX to XSLT, translation this would return a {@code
} HTML + * element if your target is rendering HTML, or an {@code } * (which is the XSLT equivalent of a line feed) if you are not targeting HTML. * * @return the markup that represents a line break in the target template. @@ -258,14 +258,13 @@ default Markup renderFragmentInvocation(final String name, final PathExpression * * The EfxTemplateTranslator will call this method to generate the * fragment invocation code and then will pass the generated Markup to the - * {@link #renderContextLoop(String, PathExpression, Markup, Set)}. + * {@link #renderContextLoop(PathExpression, Markup, Set)}. * * In EFX to XSLT translation, this method would generate the xsl:call-template * that will invoke the fragment. * * @param name the name of the fragment. - * @param context the context of the fragment. - * @param variables the variables of the fragment. + * @param arguments the arguments of the fragment. * @return the code that invokes (uses) the fragment. */ Markup renderFragmentInvocation(final String name, final Set arguments); @@ -273,13 +272,12 @@ default Markup renderFragmentInvocation(final String name, final PathExpression /** * Given an evaluation context, and some pre-rendered content, this method returns the code that * iterates over the context and repeats the content for each item in the context. - * - * As of version 2.0.0-alpha.4, the method composeFragmentInvocation(String, Set) + * As of version 2.0.0-alpha.4, the method composeFragmentInvocation(String, Set) * has been split into two methods: - * 1. {@link #renderFragmentInvocation(String, Set)} + * 1. {@link #renderFragmentInvocation(String, Set)} * for rendering the fragment invocation itself, which is the used by the * context loop. - * 2. {@link #renderContextLoop(PathExpression, Markup, Set)} + * 2. {@link #renderContextLoop(PathExpression, Markup, Set)} * for rendering the context loop that invokes the fragment. * * The EfxTemplateTranslator will call these two methods in sequence to generate the diff --git a/src/main/java/eu/europa/ted/efx/model/expressions/path/PathExpression.java b/src/main/java/eu/europa/ted/efx/model/expressions/path/PathExpression.java index 7010f117..ae3f06e0 100644 --- a/src/main/java/eu/europa/ted/efx/model/expressions/path/PathExpression.java +++ b/src/main/java/eu/europa/ted/efx/model/expressions/path/PathExpression.java @@ -114,6 +114,8 @@ static T from(TypedExpression source, Class return /** * A base class for {@link PathExpression} implementations. + * + * @param the EFX data type for the expression. */ @EfxExpressionTypeAssociation(expressionType = EfxExpressionType.Path.class) public abstract class Impl extends TypedExpression.Impl diff --git a/src/main/java/eu/europa/ted/efx/model/expressions/scalar/ScalarExpression.java b/src/main/java/eu/europa/ted/efx/model/expressions/scalar/ScalarExpression.java index e54e5ca0..6cc4bdbc 100644 --- a/src/main/java/eu/europa/ted/efx/model/expressions/scalar/ScalarExpression.java +++ b/src/main/java/eu/europa/ted/efx/model/expressions/scalar/ScalarExpression.java @@ -84,6 +84,8 @@ static ScalarExpression instantiate(String script, Class /** * A base class for {@link ScalarExpression} implementations. + * + * @param the EFX data type for the expression. */ @EfxExpressionTypeAssociation(expressionType = EfxExpressionType.Scalar.class) public abstract class Impl extends TypedExpression.Impl diff --git a/src/main/java/eu/europa/ted/efx/model/expressions/sequence/SequenceExpression.java b/src/main/java/eu/europa/ted/efx/model/expressions/sequence/SequenceExpression.java index 5b1822c7..7908c689 100644 --- a/src/main/java/eu/europa/ted/efx/model/expressions/sequence/SequenceExpression.java +++ b/src/main/java/eu/europa/ted/efx/model/expressions/sequence/SequenceExpression.java @@ -82,6 +82,8 @@ static SequenceExpression instantiate(String script, Class the data type of the sequence expression result */ @EfxExpressionTypeAssociation(expressionType = EfxExpressionType.Sequence.class) public abstract class Impl extends TypedExpression.Impl diff --git a/src/main/java/eu/europa/ted/efx/model/templates/ContentBlockStack.java b/src/main/java/eu/europa/ted/efx/model/templates/ContentBlockStack.java index 7015a4a3..16aa28db 100644 --- a/src/main/java/eu/europa/ted/efx/model/templates/ContentBlockStack.java +++ b/src/main/java/eu/europa/ted/efx/model/templates/ContentBlockStack.java @@ -33,9 +33,10 @@ public void pushChild(final int number, final Context context, final Variables v * sibling is later removed, their parent block will return to the top of the stack again. * * @param number the outline number of the sibling block. - * @param context the context of the sibling block. - * @param variables the variables of the sibling block. - * @param defaultContent the content of the sibling block. + * @param context the context of the sibling block. + * @param variables the variables of the sibling block. + * @param conditionals the conditionals of the sibling block. + * @param defaultContent the content of the sibling block. */ public void pushSibling(final int number, Context context, final Variables variables, final Conditionals conditionals, final Markup defaultContent) {