Class DTDIdAttr


public final class DTDIdAttr extends DTDAttribute
Specific attribute class for attributes that contain (unique) identifiers.
  • Constructor Details

    • DTDIdAttr

      public DTDIdAttr(PrefixedName name, DefaultAttrValue defValue, int specIndex, boolean nsAware, boolean xml11)
      Main constructor. Note that id attributes can never have default values.

      note: although ID attributes are not to have default value, this is 'only' a validity constraint, and in dtd-aware-but- not-validating mode it is apparently 'legal' to add default values.

  • Method Details