Change package for generated tags

- move all generated tag classes from j2html.tags.specialized.generated to j2html.tags.specialized
  since they are now only generated tags and in the long run there should be no difference for a user of j2html whether the classes have been generated or not
This commit is contained in:
Oliver Becker
2021-06-12 22:04:25 +02:00
parent 8b08968a6b
commit 787035f6b1
117 changed files with 118 additions and 118 deletions

View File

@@ -80,7 +80,7 @@ html(
Each HTML Tag has it's own class, which makes it possible for each Tag to have
the correct Attributes and Methods to set those Attributes.
The classes are located in `library/src/main/java/j2html/tags/specialized/generated` and follow the naming convention `tag_name + 'Tag.java'`, e.g. `BodyTag.java`.
The classes are located in `library/src/main/java/j2html/tags/specialized` and follow the naming convention `tag_name + 'Tag.java'`, e.g. `BodyTag.java`.
Notice that the first letter of the Tag is in uppercase.
Each Tag-specific class `implements` interfaces which correspond to the Attributes that can be set on these Tags.

View File

@@ -18,7 +18,7 @@ import static j2html_codegen.generators.TagCreatorCodeGenerator.emptyTags;
public final class SpecializedTagClassCodeGenerator {
private static final String relPath = "tags/specialized/generated";
private static final String relPath = "tags/specialized";
public static void generate(final Path absPath, final boolean delete) throws IOException {
@@ -102,7 +102,7 @@ public final class SpecializedTagClassCodeGenerator {
}
private static String getPackage(){
return "package j2html.tags.specialized.generated;\n";
return "package j2html.tags.specialized;\n";
}
private static String getClassTemplate(

View File

@@ -9,7 +9,7 @@ import j2html.tags.InlineStaticResource;
import j2html.tags.Tag;
import j2html.tags.Text;
import j2html.tags.UnescapedText;
import j2html.tags.specialized.generated.*;
import j2html.tags.specialized.*;
import java.util.Collection;
import java.util.List;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.EmptyTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.EmptyTag;
import j2html.tags.attributes.IHref;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.ICite;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.EmptyTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IHeight;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.EmptyTag;
import j2html.tags.attributes.ISpan;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.ISpan;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.ICite;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IOntoggle;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.EmptyTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IDisabled;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.EmptyTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.EmptyTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.EmptyTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.ICite;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.EmptyTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IFor;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IValue;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.EmptyTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IName;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IType;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.EmptyTag;
import j2html.tags.attributes.ICharset;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IReversed;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IDisabled;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IDisabled;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IFor;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.EmptyTag;
import j2html.tags.attributes.IName;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IMax;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.ICite;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.EmptyTag;
import j2html.tags.attributes.*;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IMedia;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;

View File

@@ -1,4 +1,4 @@
package j2html.tags.specialized.generated;
package j2html.tags.specialized;
import j2html.tags.ContainerTag;
import j2html.tags.attributes.IColspan;

Some files were not shown because too many files have changed in this diff Show More