Documentation ¶
Index ¶
- Constants
- Variables
- type Context
- type Data
- type Element
- func (e *Element) Assign(elem *Element) error
- func (e *Element) DisplayAllXMLPaths() string
- func (e *Element) DisplayDebug() string
- func (e *Element) FindTagFromData(data string) []*Element
- func (e *Element) GetAttributes() attributes.Attributes
- func (e *Element) GetIndex() int
- func (e *Element) GetName() string
- func (e *Element) GetPath() string
- func (e *Element) GetXMLTag() []byte
- func (e *Element) IsEmpty() bool
- func (e *Element) Pretty(spacing int) string
- func (e *Element) SetAttributes(_ attributes.Attributes)
- func (e *Element) ToXML(spacing int) string
- func (e *Element) TransformToXML(buffer *saver.Buffer) error
- func (e *Element) XMLPath() string
- type Elements
- type ListIndex
- type Tree
Constants ¶
View Source
const ( Matrix = reflect.UnsafePointer + iota MatrixWithMapIndex RGBA Empty )
View Source
const DefaultSpacing = 4
View Source
const InvalidIdx = -1
Variables ¶
View Source
var ( AllPatterns = []associatedRegex{ {/* contains filtered or unexported fields */}, {/* contains filtered or unexported fields */}, {/* contains filtered or unexported fields */}, {/* contains filtered or unexported fields */}, } )
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context give a context to an event
type Data ¶
type Data struct {
// contains filtered or unexported fields
}
func CreateDataType ¶
func (*Data) GetFloat64 ¶
type Element ¶
type Element struct { StartElement _xml.StartElement EndElement _xml.EndElement Attr attributes.Attributes Data *Data Next *Element Prev *Element Child *Element Parent *Element // contains filtered or unexported fields }
func (*Element) DisplayAllXMLPaths ¶
func (*Element) DisplayDebug ¶
func (*Element) FindTagFromData ¶
func (*Element) GetAttributes ¶
func (e *Element) GetAttributes() attributes.Attributes
func (*Element) GetIndex ¶
GetIndex returns the index of the element in the list of elements or 0 if the element is not in a list
func (*Element) SetAttributes ¶
func (e *Element) SetAttributes(_ attributes.Attributes)
type ListIndex ¶
func (*ListIndex) Invalidate ¶
func (l *ListIndex) Invalidate()
type Tree ¶
type Tree struct { _xml.Unmarshaler Root *Element }
func (*Tree) FindElementFromData ¶
func (*Tree) UnmarshalXML ¶
Click to show internal directories.
Click to hide internal directories.