Home | History | Annotate | Download | only in xml

Lines Matching defs:Marshal

19 	// A generic XML header suitable for use with the output of Marshal.
25 // Marshal returns the XML encoding of v.
27 // Marshal handles an array or slice by marshalling each of the elements.
28 // Marshal handles a pointer by marshalling the value it points at or, if the
29 // pointer is nil, by writing nothing. Marshal handles an interface value by
31 // writing nothing. Marshal handles all other data by writing one or more XML
69 // Marshal will return an error if asked to marshal a channel, function, or map.
70 func Marshal(v interface{}) ([]byte, error) {
78 // Marshaler is the interface implemented by objects that can marshal
98 // MarshalerAttr is the interface implemented by objects that can marshal
113 // MarshalIndent works like Marshal, but each XML element begins on a new
148 // See the documentation for Marshal for details about the conversion
163 // See the documentation for Marshal for details about the conversion
963 // A MarshalXMLError is returned when Marshal encounters a type