Class Element_img.Attr_src

All Implemented Interfaces:
Matchable<Matcher>, Visitable<Visitor>
Enclosing class:
Element_img

@Undocumented public static class Element_img.Attr_src extends CDataAttribute implements Visitable<Visitor>, Matchable<Matcher>
  • Field Details

    • namespaceName

      @Undocumented public static final NamespaceName namespaceName
      Name of the attribute, as defined in the DTD plus tdom PI namespace declarations.
    • defaultValue

      static final String defaultValue
    • unspecified

      public static final Element_img.Attr_src unspecified
  • Constructor Details

    • Attr_src

      Attr_src()
    • Attr_src

      Attr_src(String value)
  • Method Details

    • host

      public void host(Visitor visitor)
      Description copied from interface: Visitable
      Send the visitor to this instance.
      Specified by:
      host in interface Visitable<Visitor>
    • identify

      public void identify(Matcher matcher)
      Specified by:
      identify in interface Matchable<Matcher>
    • getNamespaceName

      public final NamespaceName getNamespaceName()
      Method to read the contents of field namespaceName. @see #namespaceName
      Specified by:
      getNamespaceName in class TypedAttribute<String>
      Returns:
      the namespace name of the XML attribute.
    • checkRequired

      public void checkRequired() throws TdomAttributeMissingException
      Description copied from class: TypedAttribute
      The overriding method throws the exception if this attribute is required but missing when initializing the tdom instance.
      Specified by:
      checkRequired in class TypedAttribute<String>
      Throws:
      TdomAttributeMissingException
    • from

      @Undocumented public static Element_img.Attr_src from(Element dom)
      Create a new instance, its value picked from the W3C DOM instance. (If no value is specified, take the default value from the DTD.)
    • from

      @Undocumented public static Element_img.Attr_src from(Attributes attrs)
      Create a new instance, its value picked from the SAX attribute container. (If no value is specified, take the default value from the DTD.)
    • isOptional

      public final boolean isOptional()
      Description copied from class: TypedAttribute
      Returns whether the attribute is declared as "#IMPLIED" in the DTD. Will be overridden by the generated code.
      Specified by:
      isOptional in class TypedAttribute<String>
      Returns:
      whether the attribute is declared as "#IMPLIED" in the DTD.
    • isFixed

      public final boolean isFixed()
      Description copied from class: TypedAttribute
      Returns whether the attribute is declared as "#FIXED" in the DTD. Will be overridden by the generated code.
      Specified by:
      isFixed in class TypedAttribute<String>
      Returns:
      whether the attribute is declared as "#FIXED" in the DTD.
    • getDefaultValue

      public final String getDefaultValue()
      Method to read the contents of field defaultValue. @see #defaultValue
      Specified by:
      getDefaultValue in class TypedAttribute<String>
      Returns:
      the default value defined in the DTD.
    • getInterfaceInfo

      public static TypedDTD.AttributeInfo getInterfaceInfo()