type encoding/xml.Decoder
41 uses
encoding/xml (current package)
read.go#L139: func (d *Decoder) Decode(v any) error {
read.go#L147: func (d *Decoder) DecodeElement(v any, start *StartElement) error {
read.go#L180: UnmarshalXML(d *Decoder, start StartElement) error
read.go#L206: func (d *Decoder) unmarshalInterface(val Unmarshaler, start *StartElement) error {
read.go#L228: func (d *Decoder) unmarshalTextInterface(val encoding.TextUnmarshaler) error {
read.go#L251: func (d *Decoder) unmarshalAttr(val reflect.Value, attr Attr) error {
read.go#L321: func (d *Decoder) unmarshal(val reflect.Value, start *StartElement, depth int) error {
read.go#L694: func (d *Decoder) unmarshalPath(tinfo *typeInfo, sv reflect.Value, parents []string, start *StartElement, depth int) (consumed bool, err error) {
read.go#L760: func (d *Decoder) Skip() error {
xml.go#L148: type Decoder struct {
xml.go#L221: func NewDecoder(r io.Reader) *Decoder {
xml.go#L222: d := &Decoder{
xml.go#L233: func NewTokenDecoder(t TokenReader) *Decoder {
xml.go#L235: if d, ok := t.(*Decoder); ok {
xml.go#L238: d := &Decoder{
xml.go#L274: func (d *Decoder) Token() (Token, error) {
xml.go#L345: func (d *Decoder) translate(n *Name, isElementName bool) {
xml.go#L363: func (d *Decoder) switchToReader(r io.Reader) {
xml.go#L392: func (d *Decoder) push(kind int) *stack {
xml.go#L405: func (d *Decoder) pop() *stack {
xml.go#L418: func (d *Decoder) pushEOF() {
xml.go#L444: func (d *Decoder) popEOF() bool {
xml.go#L453: func (d *Decoder) pushElement(name Name) {
xml.go#L460: func (d *Decoder) pushNs(local string, url string, ok bool) {
xml.go#L468: func (d *Decoder) syntaxError(msg string) error {
xml.go#L478: func (d *Decoder) popElement(t *EndElement) bool {
xml.go#L522: func (d *Decoder) autoClose(t Token) (Token, bool) {
xml.go#L544: func (d *Decoder) RawToken() (Token, error) {
xml.go#L551: func (d *Decoder) rawToken() (Token, error) {
xml.go#L853: func (d *Decoder) attrval() []byte {
xml.go#L888: func (d *Decoder) space() {
xml.go#L907: func (d *Decoder) getc() (b byte, ok bool) {
xml.go#L934: func (d *Decoder) InputOffset() int64 {
xml.go#L941: func (d *Decoder) InputPos() (line, column int) {
xml.go#L947: func (d *Decoder) savedOffset() int {
xml.go#L959: func (d *Decoder) mustgetc() (b byte, ok bool) {
xml.go#L969: func (d *Decoder) ungetc(b byte) {
xml.go#L989: func (d *Decoder) text(quote int, cdata bool) []byte {
xml.go#L1168: func (d *Decoder) nsname() (name Name, ok bool) {
xml.go#L1187: func (d *Decoder) name() (s string, ok bool) {
xml.go#L1205: func (d *Decoder) readName() (ok bool) {