Class TagInfoset


  • public final class TagInfoset
    extends Object
    Complete infoset about a start tag.

    This is used between StreamMessage and StreamSOAPCodec to capture the infoset of the s:Envelope, s:Header, and s:Body elements.

    Design Note

    Since StAX and SAX uses different null vs empty string convention, one has to choose which format we store things. It can go either way, but I'm assuming that we'll be using StAX more in JAX-WS, so things are kept in the StAX style in this class.

    Author:
    Kohsuke Kawaguchi
    • Field Detail

      • ns

        @NotNull
        public final String[] ns
        Namespace declarations on this tag. Read-only. This is an array of the even length of the form { prefix0, uri0, prefix1, uri1, ... }. URIs/prefixes can be null (StAX-style)
      • atts

        @NotNull
        public final AttributesImpl atts
        Attributes on this tag. Read-only.
      • prefix

        @Nullable
        public final String prefix
        Prefix of the start tag in stax-style.
      • nsUri

        @Nullable
        public final String nsUri
        Namespace URI of the start tag in stax-style.
      • localName

        @NotNull
        public final String localName
        Local name of the start tag.