Class TransformedEvent.Type

All Implemented Interfaces:
Attribute, XMLEvent, XMLStreamConstants
Enclosing class:
TransformedEvent<E extends XMLEvent>

static final class TransformedEvent.Type extends TransformedEvent.Attr
The "xsi:type" attribute. Contrarily to other attributes, the name is unchanged compared to the original attribute; instead the value is different. Even in unchanged, the QName is specified at construction time because it is required by the parent class.
  • Field Details

    • value

      private final String value
      The attribute value.
    • namespace

      Namespace namespace
      If the value requires a new prefix to be bound, the namespace declaration for it.
  • Constructor Details

    • Type

      Type(Attribute event, QName name, String value)
      Wraps the given event with a different value.
  • Method Details