Class StringElement

All Implemented Interfaces:
Element, Node

DOM Layer over a tag name, attributes and String value.
  • Constructor Details

    • StringElement

      public StringElement(String tagName, String data)
      Create a string element
      Parameters:
      tagName - The tag name
      data - The data value.
    • StringElement

      public StringElement(String tagName, String attributeName, String attributeValue)
      Create a string element
      Parameters:
      tagName - The tag name
      attributeName - The attribute name.
      attributeValue - The attribute value.
    • StringElement

      public StringElement(String tagName, String attributeName, String attributeValue, String data)
      Create a string element
      Parameters:
      tagName - The tag name
      attributeName - The attribute with the value.
      attributeValue - The attribute value.
      data - The data value.
    • StringElement

      public StringElement(String tagName, Map<String,String> attributes)
      Create a string element
      Parameters:
      attributes - The attributes names and values.
      tagName - The tag name.
    • StringElement

      public StringElement(String tagName, Map<String,String> attributes, String data)
      Create a string element
      Parameters:
      tagName - The tag name
      attributes - The attributes names and values.
      data - The data value.
    • StringElement

      public StringElement(String tagName, String data, Element parent)
      Create a string element
      Parameters:
      tagName - The tag name
      data - The data value.
      parent - the parent Element.
    • StringElement

      public StringElement(String tagName, String attributeName, String attributeValue, Element parent)
      Create a string element
      Parameters:
      tagName - The tag name
      attributeName - The attribute name.
      attributeValue - The attribute value.
      parent - the parent Element.
    • StringElement

      public StringElement(String tagName, String attributeName, String attributeValue, String data, Element parent)
      Create a string element
      Parameters:
      tagName - The tag name
      attributeName - The attribute with the value.
      attributeValue - The attribute value.
      data - The data value.
      parent - the parent Element.
    • StringElement

      public StringElement(String tagName, Map<String,String> attributes, Element parent)
      Create a string element
      Parameters:
      attributes - The attributes names and values.
      tagName - The tag name.
      parent - the parent Element.
    • StringElement

      public StringElement(String tagName, Map<String,String> attributes, String data, Element parent)
      Create a string element
      Parameters:
      tagName - The tag name
      attributes - The attributes names and values.
      data - The data value.
      parent - the parent Element.
  • Method Details