Class Element_input.Attr_accept

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

@Undocumented public static class Element_input.Attr_accept extends CDataAttribute implements Visitable<Visitor>, Matchable<Matcher>, ImpliedAttribute
  • Field Details

  • Constructor Details

    • Attr_accept

      Attr_accept()
    • Attr_accept

      Attr_accept(@Opt @Opt 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()
      Description copied from class: TypedAttribute
      Returns the namespace name of the XML attribute.
      Specified by:
      getNamespaceName in class TypedAttribute<String>
      Returns:
      the namespace name of the XML attribute.
    • setValue

      public void setValue(String v)
      Description copied from class: TypedAttribute
      Set the value of this attribute. This method is only guaranteed to succeed if this instance has been returned by the generated method "getAttr_XXX()". The instance returned by a call to "readAttr_XXX()" is possibly the shared prototype, which will throw an exception when trying to set the value.
      Overrides:
      setValue in class TypedAttribute<String>
      Parameters:
      v - maybe null, which sets the attribute to "not specified when initializing the document", if it is declared #IMPLIED.
    • checkRequired

      public void checkRequired()
      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>
    • from

      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

      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()
      Description copied from class: TypedAttribute
      Returns the default value defined in the DTD.
      Specified by:
      getDefaultValue in class TypedAttribute<String>
      Returns:
      the default value defined in the DTD.
    • getInterfaceInfo

      public static TypedDTD.AttributeInfo getInterfaceInfo()