View Javadoc

    1   package sharin.doc.builder.xhtml1;
    2
    3   import sharin.doc.builder.DocBuilder;
    4   import sharin.doc.builder.Elem;
    5
    6   public class Xhtml1DocBuilder implements DocBuilder {
    7
    8       public static class Static {
    9
    10          private static Xhtml1DocBuilder instance = new Xhtml1DocBuilder();
    11
    12          public static Elem elem(String name, Object... nodes) {
    13              return instance.elem(name, nodes);
    14          }
    15
    16          public static AElem a(Object... nodes) {
    17              return instance.a(nodes);
    18          }
    19
    20          public static AbbrElem abbr(Object... nodes) {
    21              return instance.abbr(nodes);
    22          }
    23
    24          public static AcronymElem acronym(Object... nodes) {
    25              return instance.acronym(nodes);
    26          }
    27
    28          public static AddressElem address(Object... nodes) {
    29              return instance.address(nodes);
    30          }
    31
    32          public static AppletElem applet(Object... nodes) {
    33              return instance.applet(nodes);
    34          }
    35
    36          public static AreaElem area(Object... nodes) {
    37              return instance.area(nodes);
    38          }
    39
    40          public static BElem b(Object... nodes) {
    41              return instance.b(nodes);
    42          }
    43
    44          public static BaseElem base(Object... nodes) {
    45              return instance.base(nodes);
    46          }
    47
    48          public static BasefontElem basefont(Object... nodes) {
    49              return instance.basefont(nodes);
    50          }
    51
    52          public static BdoElem bdo(Object... nodes) {
    53              return instance.bdo(nodes);
    54          }
    55
    56          public static BigElem big(Object... nodes) {
    57              return instance.big(nodes);
    58          }
    59
    60          public static BlockquoteElem blockquote(Object... nodes) {
    61              return instance.blockquote(nodes);
    62          }
    63
    64          public static BodyElem body(Object... nodes) {
    65              return instance.body(nodes);
    66          }
    67
    68          public static BrElem br(Object... nodes) {
    69              return instance.br(nodes);
    70          }
    71
    72          public static ButtonElem button(Object... nodes) {
    73              return instance.button(nodes);
    74          }
    75
    76          public static CaptionElem caption(Object... nodes) {
    77              return instance.caption(nodes);
    78          }
    79
    80          public static CenterElem center(Object... nodes) {
    81              return instance.center(nodes);
    82          }
    83
    84          public static CiteElem cite(Object... nodes) {
    85              return instance.cite(nodes);
    86          }
    87
    88          public static CodeElem code(Object... nodes) {
    89              return instance.code(nodes);
    90          }
    91
    92          public static ColElem col(Object... nodes) {
    93              return instance.col(nodes);
    94          }
    95
    96          public static ColgroupElem colgroup(Object... nodes) {
    97              return instance.colgroup(nodes);
    98          }
    99
    100         public static DdElem dd(Object... nodes) {
    101             return instance.dd(nodes);
    102         }
    103
    104         public static DelElem del(Object... nodes) {
    105             return instance.del(nodes);
    106         }
    107
    108         public static DfnElem dfn(Object... nodes) {
    109             return instance.dfn(nodes);
    110         }
    111
    112         public static DirElem dir(Object... nodes) {
    113             return instance.dir(nodes);
    114         }
    115
    116         public static DivElem div(Object... nodes) {
    117             return instance.div(nodes);
    118         }
    119
    120         public static DlElem dl(Object... nodes) {
    121             return instance.dl(nodes);
    122         }
    123
    124         public static DtElem dt(Object... nodes) {
    125             return instance.dt(nodes);
    126         }
    127
    128         public static EmElem em(Object... nodes) {
    129             return instance.em(nodes);
    130         }
    131
    132         public static FieldsetElem fieldset(Object... nodes) {
    133             return instance.fieldset(nodes);
    134         }
    135
    136         public static FontElem font(Object... nodes) {
    137             return instance.font(nodes);
    138         }
    139
    140         public static FormElem form(Object... nodes) {
    141             return instance.form(nodes);
    142         }
    143
    144         public static FrameElem frame(Object... nodes) {
    145             return instance.frame(nodes);
    146         }
    147
    148         public static FramesetElem frameset(Object... nodes) {
    149             return instance.frameset(nodes);
    150         }
    151
    152         public static H1Elem h1(Object... nodes) {
    153             return instance.h1(nodes);
    154         }
    155
    156         public static H2Elem h2(Object... nodes) {
    157             return instance.h2(nodes);
    158         }
    159
    160         public static H3Elem h3(Object... nodes) {
    161             return instance.h3(nodes);
    162         }
    163
    164         public static H4Elem h4(Object... nodes) {
    165             return instance.h4(nodes);
    166         }
    167
    168         public static H5Elem h5(Object... nodes) {
    169             return instance.h5(nodes);
    170         }
    171
    172         public static H6Elem h6(Object... nodes) {
    173             return instance.h6(nodes);
    174         }
    175
    176         public static HeadElem head(Object... nodes) {
    177             return instance.head(nodes);
    178         }
    179
    180         public static HrElem hr(Object... nodes) {
    181             return instance.hr(nodes);
    182         }
    183
    184         public static HtmlElem html(Object... nodes) {
    185             return instance.html(nodes);
    186         }
    187
    188         public static IElem i(Object... nodes) {
    189             return instance.i(nodes);
    190         }
    191
    192         public static IframeElem iframe(Object... nodes) {
    193             return instance.iframe(nodes);
    194         }
    195
    196         public static ImgElem img(Object... nodes) {
    197             return instance.img(nodes);
    198         }
    199
    200         public static InputElem input(Object... nodes) {
    201             return instance.input(nodes);
    202         }
    203
    204         public static InsElem ins(Object... nodes) {
    205             return instance.ins(nodes);
    206         }
    207
    208         public static IsindexElem isindex(Object... nodes) {
    209             return instance.isindex(nodes);
    210         }
    211
    212         public static KbdElem kbd(Object... nodes) {
    213             return instance.kbd(nodes);
    214         }
    215
    216         public static LabelElem label(Object... nodes) {
    217             return instance.label(nodes);
    218         }
    219
    220         public static LegendElem legend(Object... nodes) {
    221             return instance.legend(nodes);
    222         }
    223
    224         public static LiElem li(Object... nodes) {
    225             return instance.li(nodes);
    226         }
    227
    228         public static LinkElem link(Object... nodes) {
    229             return instance.link(nodes);
    230         }
    231
    232         public static MapElem map(Object... nodes) {
    233             return instance.map(nodes);
    234         }
    235
    236         public static MenuElem menu(Object... nodes) {
    237             return instance.menu(nodes);
    238         }
    239
    240         public static MetaElem meta(Object... nodes) {
    241             return instance.meta(nodes);
    242         }
    243
    244         public static NoframesElem noframes(Object... nodes) {
    245             return instance.noframes(nodes);
    246         }
    247
    248         public static NoscriptElem noscript(Object... nodes) {
    249             return instance.noscript(nodes);
    250         }
    251
    252         public static ObjectElem object(Object... nodes) {
    253             return instance.object(nodes);
    254         }
    255
    256         public static OlElem ol(Object... nodes) {
    257             return instance.ol(nodes);
    258         }
    259
    260         public static OptgroupElem optgroup(Object... nodes) {
    261             return instance.optgroup(nodes);
    262         }
    263
    264         public static OptionElem option(Object... nodes) {
    265             return instance.option(nodes);
    266         }
    267
    268         public static PElem p(Object... nodes) {
    269             return instance.p(nodes);
    270         }
    271
    272         public static ParamElem param(Object... nodes) {
    273             return instance.param(nodes);
    274         }
    275
    276         public static PreElem pre(Object... nodes) {
    277             return instance.pre(nodes);
    278         }
    279
    280         public static QElem q(Object... nodes) {
    281             return instance.q(nodes);
    282         }
    283
    284         public static SElem s(Object... nodes) {
    285             return instance.s(nodes);
    286         }
    287
    288         public static SampElem samp(Object... nodes) {
    289             return instance.samp(nodes);
    290         }
    291
    292         public static ScriptElem script(Object... nodes) {
    293             return instance.script(nodes);
    294         }
    295
    296         public static SelectElem select(Object... nodes) {
    297             return instance.select(nodes);
    298         }
    299
    300         public static SmallElem small(Object... nodes) {
    301             return instance.small(nodes);
    302         }
    303
    304         public static SpanElem span(Object... nodes) {
    305             return instance.span(nodes);
    306         }
    307
    308         public static StrikeElem strike(Object... nodes) {
    309             return instance.strike(nodes);
    310         }
    311
    312         public static StrongElem strong(Object... nodes) {
    313             return instance.strong(nodes);
    314         }
    315
    316         public static StyleElem style(Object... nodes) {
    317             return instance.style(nodes);
    318         }
    319
    320         public static SubElem sub(Object... nodes) {
    321             return instance.sub(nodes);
    322         }
    323
    324         public static SupElem sup(Object... nodes) {
    325             return instance.sup(nodes);
    326         }
    327
    328         public static TableElem table(Object... nodes) {
    329             return instance.table(nodes);
    330         }
    331
    332         public static TbodyElem tbody(Object... nodes) {
    333             return instance.tbody(nodes);
    334         }
    335
    336         public static TdElem td(Object... nodes) {
    337             return instance.td(nodes);
    338         }
    339
    340         public static TextareaElem textarea(Object... nodes) {
    341             return instance.textarea(nodes);
    342         }
    343
    344         public static TfootElem tfoot(Object... nodes) {
    345             return instance.tfoot(nodes);
    346         }
    347
    348         public static ThElem th(Object... nodes) {
    349             return instance.th(nodes);
    350         }
    351
    352         public static TheadElem thead(Object... nodes) {
    353             return instance.thead(nodes);
    354         }
    355
    356         public static TitleElem title(Object... nodes) {
    357             return instance.title(nodes);
    358         }
    359
    360         public static TrElem tr(Object... nodes) {
    361             return instance.tr(nodes);
    362         }
    363
    364         public static TtElem tt(Object... nodes) {
    365             return instance.tt(nodes);
    366         }
    367
    368         public static UElem u(Object... nodes) {
    369             return instance.u(nodes);
    370         }
    371
    372         public static UlElem ul(Object... nodes) {
    373             return instance.ul(nodes);
    374         }
    375
    376         public static VarElem var(Object... nodes) {
    377             return instance.var(nodes);
    378         }
    379     }
    380
    381     public Elem elem(String name, Object... nodes) {
    382         return new Elem(name, nodes);
    383     }
    384
    385     public AbbrElem abbr(Object... nodes) {
    386         return new AbbrElem(nodes);
    387     }
    388
    389     public AcronymElem acronym(Object... nodes) {
    390         return new AcronymElem(nodes);
    391     }
    392
    393     public AddressElem address(Object... nodes) {
    394         return new AddressElem(nodes);
    395     }
    396
    397     public AElem a(Object... nodes) {
    398         return new AElem(nodes);
    399     }
    400
    401     public AppletElem applet(Object... nodes) {
    402         return new AppletElem(nodes);
    403     }
    404
    405     public AreaElem area(Object... nodes) {
    406         return new AreaElem(nodes);
    407     }
    408
    409     public BaseElem base(Object... nodes) {
    410         return new BaseElem(nodes);
    411     }
    412
    413     public BasefontElem basefont(Object... nodes) {
    414         return new BasefontElem(nodes);
    415     }
    416
    417     public BdoElem bdo(Object... nodes) {
    418         return new BdoElem(nodes);
    419     }
    420
    421     public BElem b(Object... nodes) {
    422         return new BElem(nodes);
    423     }
    424
    425     public BigElem big(Object... nodes) {
    426         return new BigElem(nodes);
    427     }
    428
    429     public BlockquoteElem blockquote(Object... nodes) {
    430         return new BlockquoteElem(nodes);
    431     }
    432
    433     public BodyElem body(Object... nodes) {
    434         return new BodyElem(nodes);
    435     }
    436
    437     public BrElem br(Object... nodes) {
    438         return new BrElem(nodes);
    439     }
    440
    441     public ButtonElem button(Object... nodes) {
    442         return new ButtonElem(nodes);
    443     }
    444
    445     public CaptionElem caption(Object... nodes) {
    446         return new CaptionElem(nodes);
    447     }
    448
    449     public CenterElem center(Object... nodes) {
    450         return new CenterElem(nodes);
    451     }
    452
    453     public CiteElem cite(Object... nodes) {
    454         return new CiteElem(nodes);
    455     }
    456
    457     public CodeElem code(Object... nodes) {
    458         return new CodeElem(nodes);
    459     }
    460
    461     public ColElem col(Object... nodes) {
    462         return new ColElem(nodes);
    463     }
    464
    465     public ColgroupElem colgroup(Object... nodes) {
    466         return new ColgroupElem(nodes);
    467     }
    468
    469     public DdElem dd(Object... nodes) {
    470         return new DdElem(nodes);
    471     }
    472
    473     public DelElem del(Object... nodes) {
    474         return new DelElem(nodes);
    475     }
    476
    477     public DfnElem dfn(Object... nodes) {
    478         return new DfnElem(nodes);
    479     }
    480
    481     public DirElem dir(Object... nodes) {
    482         return new DirElem(nodes);
    483     }
    484
    485     public DivElem div(Object... nodes) {
    486         return new DivElem(nodes);
    487     }
    488
    489     public DlElem dl(Object... nodes) {
    490         return new DlElem(nodes);
    491     }
    492
    493     public DtElem dt(Object... nodes) {
    494         return new DtElem(nodes);
    495     }
    496
    497     public EmElem em(Object... nodes) {
    498         return new EmElem(nodes);
    499     }
    500
    501     public FieldsetElem fieldset(Object... nodes) {
    502         return new FieldsetElem(nodes);
    503     }
    504
    505     public FontElem font(Object... nodes) {
    506         return new FontElem(nodes);
    507     }
    508
    509     public FormElem form(Object... nodes) {
    510         return new FormElem(nodes);
    511     }
    512
    513     public FrameElem frame(Object... nodes) {
    514         return new FrameElem(nodes);
    515     }
    516
    517     public FramesetElem frameset(Object... nodes) {
    518         return new FramesetElem(nodes);
    519     }
    520
    521     public H1Elem h1(Object... nodes) {
    522         return new H1Elem(nodes);
    523     }
    524
    525     public H2Elem h2(Object... nodes) {
    526         return new H2Elem(nodes);
    527     }
    528
    529     public H3Elem h3(Object... nodes) {
    530         return new H3Elem(nodes);
    531     }
    532
    533     public H4Elem h4(Object... nodes) {
    534         return new H4Elem(nodes);
    535     }
    536
    537     public H5Elem h5(Object... nodes) {
    538         return new H5Elem(nodes);
    539     }
    540
    541     public H6Elem h6(Object... nodes) {
    542         return new H6Elem(nodes);
    543     }
    544
    545     public HeadElem head(Object... nodes) {
    546         return new HeadElem(nodes);
    547     }
    548
    549     public HrElem hr(Object... nodes) {
    550         return new HrElem(nodes);
    551     }
    552
    553     public HtmlElem html(Object... nodes) {
    554         return new HtmlElem(nodes);
    555     }
    556
    557     public IElem i(Object... nodes) {
    558         return new IElem(nodes);
    559     }
    560
    561     public IframeElem iframe(Object... nodes) {
    562         return new IframeElem(nodes);
    563     }
    564
    565     public ImgElem img(Object... nodes) {
    566         return new ImgElem(nodes);
    567     }
    568
    569     public InputElem input(Object... nodes) {
    570         return new InputElem(nodes);
    571     }
    572
    573     public InsElem ins(Object... nodes) {
    574         return new InsElem(nodes);
    575     }
    576
    577     public IsindexElem isindex(Object... nodes) {
    578         return new IsindexElem(nodes);
    579     }
    580
    581     public KbdElem kbd(Object... nodes) {
    582         return new KbdElem(nodes);
    583     }
    584
    585     public LabelElem label(Object... nodes) {
    586         return new LabelElem(nodes);
    587     }
    588
    589     public LegendElem legend(Object... nodes) {
    590         return new LegendElem(nodes);
    591     }
    592
    593     public LiElem li(Object... nodes) {
    594         return new LiElem(nodes);
    595     }
    596
    597     public LinkElem link(Object... nodes) {
    598         return new LinkElem(nodes);
    599     }
    600
    601     public MapElem map(Object... nodes) {
    602         return new MapElem(nodes);
    603     }
    604
    605     public MenuElem menu(Object... nodes) {
    606         return new MenuElem(nodes);
    607     }
    608
    609     public MetaElem meta(Object... nodes) {
    610         return new MetaElem(nodes);
    611     }
    612
    613     public NoframesElem noframes(Object... nodes) {
    614         return new NoframesElem(nodes);
    615     }
    616
    617     public NoscriptElem noscript(Object... nodes) {
    618         return new NoscriptElem(nodes);
    619     }
    620
    621     public ObjectElem object(Object... nodes) {
    622         return new ObjectElem(nodes);
    623     }
    624
    625     public OlElem ol(Object... nodes) {
    626         return new OlElem(nodes);
    627     }
    628
    629     public OptgroupElem optgroup(Object... nodes) {
    630         return new OptgroupElem(nodes);
    631     }
    632
    633     public OptionElem option(Object... nodes) {
    634         return new OptionElem(nodes);
    635     }
    636
    637     public ParamElem param(Object... nodes) {
    638         return new ParamElem(nodes);
    639     }
    640
    641     public PElem p(Object... nodes) {
    642         return new PElem(nodes);
    643     }
    644
    645     public PreElem pre(Object... nodes) {
    646         return new PreElem(nodes);
    647     }
    648
    649     public QElem q(Object... nodes) {
    650         return new QElem(nodes);
    651     }
    652
    653     public SampElem samp(Object... nodes) {
    654         return new SampElem(nodes);
    655     }
    656
    657     public ScriptElem script(Object... nodes) {
    658         return new ScriptElem(nodes);
    659     }
    660
    661     public SelectElem select(Object... nodes) {
    662         return new SelectElem(nodes);
    663     }
    664
    665     public SElem s(Object... nodes) {
    666         return new SElem(nodes);
    667     }
    668
    669     public SmallElem small(Object... nodes) {
    670         return new SmallElem(nodes);
    671     }
    672
    673     public SpanElem span(Object... nodes) {
    674         return new SpanElem(nodes);
    675     }
    676
    677     public StrikeElem strike(Object... nodes) {
    678         return new StrikeElem(nodes);
    679     }
    680
    681     public StrongElem strong(Object... nodes) {
    682         return new StrongElem(nodes);
    683     }
    684
    685     public StyleElem style(Object... nodes) {
    686         return new StyleElem(nodes);
    687     }
    688
    689     public SubElem sub(Object... nodes) {
    690         return new SubElem(nodes);
    691     }
    692
    693     public SupElem sup(Object... nodes) {
    694         return new SupElem(nodes);
    695     }
    696
    697     public TableElem table(Object... nodes) {
    698         return new TableElem(nodes);
    699     }
    700
    701     public TbodyElem tbody(Object... nodes) {
    702         return new TbodyElem(nodes);
    703     }
    704
    705     public TdElem td(Object... nodes) {
    706         return new TdElem(nodes);
    707     }
    708
    709     public TextareaElem textarea(Object... nodes) {
    710         return new TextareaElem(nodes);
    711     }
    712
    713     public TfootElem tfoot(Object... nodes) {
    714         return new TfootElem(nodes);
    715     }
    716
    717     public TheadElem thead(Object... nodes) {
    718         return new TheadElem(nodes);
    719     }
    720
    721     public ThElem th(Object... nodes) {
    722         return new ThElem(nodes);
    723     }
    724
    725     public TitleElem title(Object... nodes) {
    726         return new TitleElem(nodes);
    727     }
    728
    729     public TrElem tr(Object... nodes) {
    730         return new TrElem(nodes);
    731     }
    732
    733     public TtElem tt(Object... nodes) {
    734         return new TtElem(nodes);
    735     }
    736
    737     public UElem u(Object... nodes) {
    738         return new UElem(nodes);
    739     }
    740
    741     public UlElem ul(Object... nodes) {
    742         return new UlElem(nodes);
    743     }
    744
    745     public VarElem var(Object... nodes) {
    746         return new VarElem(nodes);
    747     }
    748 }