Class HtmlElement
java.lang.Object
ch.nolix.base.web.htmlelementmodel.HtmlElement
- All Implemented Interfaces:
IHtmlElement
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanstatic HtmlElementfromHtmlElement(IHtmlElement htmlElement) IContainer<? extends IHtmlAttribute> IContainer<? extends IHtmlElement> getType()inthashCode()toString()withAdditionalAttributes(IContainer<IHtmlAttribute> additionalAttributes) withAdditionalAttributes(IHtmlAttribute... additionalAttributes) static HtmlElementstatic HtmlElementwithTypeAndAttributeAndChildElement(String type, IHtmlAttribute attribute, IHtmlElement childElement) static HtmlElementwithTypeAndAttributes(String type, IContainer<? extends IHtmlAttribute> attributes) static HtmlElementwithTypeAndAttributes(String type, IHtmlAttribute... attributes) static HtmlElementwithTypeAndAttributesAndChildElements(String type, IContainer<? extends IHtmlAttribute> attributes, IContainer<? extends IHtmlElement> childElements) static HtmlElementwithTypeAndAttributesAndChildElements(String type, IContainer<? extends IHtmlAttribute> attributes, IHtmlElement... childElements) static HtmlElementwithTypeAndAttributesAndInnerText(String type, IContainer<? extends IHtmlAttribute> attributes, String innerText) static HtmlElementwithTypeAndChildElement(String type, IHtmlElement childElement) static HtmlElementwithTypeAndChildElements(String type, IContainer<? extends IHtmlElement> childElements) static HtmlElementwithTypeAndChildElements(String type, IHtmlElement... childElements) static HtmlElementwithTypeAndInnerText(String type, String innerText)
-
Method Details
-
fromHtmlElement
-
withType
-
withTypeAndAttributes
-
withTypeAndAttributeAndChildElement
public static HtmlElement withTypeAndAttributeAndChildElement(String type, IHtmlAttribute attribute, IHtmlElement childElement) -
withTypeAndAttributes
public static HtmlElement withTypeAndAttributes(String type, IContainer<? extends IHtmlAttribute> attributes) -
withTypeAndAttributesAndChildElements
public static HtmlElement withTypeAndAttributesAndChildElements(String type, IContainer<? extends IHtmlAttribute> attributes, IHtmlElement... childElements) -
withTypeAndAttributesAndChildElements
public static HtmlElement withTypeAndAttributesAndChildElements(String type, IContainer<? extends IHtmlAttribute> attributes, IContainer<? extends IHtmlElement> childElements) -
withTypeAndAttributesAndInnerText
public static HtmlElement withTypeAndAttributesAndInnerText(String type, IContainer<? extends IHtmlAttribute> attributes, String innerText) -
withTypeAndChildElement
-
withTypeAndChildElements
-
withTypeAndChildElements
public static HtmlElement withTypeAndChildElements(String type, IContainer<? extends IHtmlElement> childElements) -
withTypeAndInnerText
-
containsAttributes
public boolean containsAttributes()- Specified by:
containsAttributesin interfaceIHtmlElement
-
containsChildElements
public boolean containsChildElements()- Specified by:
containsChildElementsin interfaceIHtmlElement
-
getAttributes
- Specified by:
getAttributesin interfaceIHtmlElement
-
getChildElements
- Specified by:
getChildElementsin interfaceIHtmlElement
-
getInnerText
- Specified by:
getInnerTextin interfaceIHtmlElement
-
getType
- Specified by:
getTypein interfaceIHtmlElement
-
equals
-
hashCode
-
toString
-
withAdditionalAttributes
- Specified by:
withAdditionalAttributesin interfaceIHtmlElement
-
withAdditionalAttributes
- Specified by:
withAdditionalAttributesin interfaceIHtmlElement
-