All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.xmlet.htmlapi.Style Maven / Gradle / Ivy

Go to download

Uses XsdAsm to generate a fluent API that allows the creation of HTML5 documents.

The newest version!
package org.xmlet.htmlapi;

public class Style extends AbstractElement, Z> implements CommonAttributeGroup, Z>, TextGroup, Z> {
   public Style() {
      super("style");
   }

   public Style(String name) {
      super(name);
   }

   public Style(Z parent) {
      super(parent, "style");
   }

   public Style(Z parent, String name) {
      super(parent, name);
   }

   public Style self() {
      return this;
   }

   public void accept(ElementVisitor visitor) {
      visitor.visit(this);
   }

   public Style cloneElem() {
      return (Style)this.clone(new Style());
   }

   public Style attrType(EnumTypeStyle attrType) {
      return (Style)this.addAttr(new AttrTypeEnumTypeStyle(attrType));
   }

   public Style attrMedia(EnumMediaMediaType attrMedia) {
      return (Style)this.addAttr(new AttrMediaEnumMediaMediaType(attrMedia));
   }

   public Style attrScoped(EnumScopedStyle attrScoped) {
      return (Style)this.addAttr(new AttrScopedEnumScopedStyle(attrScoped));
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy