embedded

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TypeNames []string
)

Functions

func IsEmbeddedPrimaryType

func IsEmbeddedPrimaryType(name string) bool

Types

type Type

type Type[T comparable] struct {
	fmt.Stringer
	saver.Transformer
	// contains filtered or unexported fields
}

func (*Type[T]) Assign

func (pt *Type[T]) Assign(e *xml.Element) error

func (*Type[T]) CountValidatedField

func (pt *Type[T]) CountValidatedField() int

func (*Type[T]) GetAttributes

func (pt *Type[T]) GetAttributes() attributes.Attributes

func (*Type[T]) GetPath

func (pt *Type[T]) GetPath() string

func (*Type[T]) GetXMLTag

func (pt *Type[T]) GetXMLTag() []byte

func (*Type[T]) IsValidField

func (pt *Type[T]) IsValidField(_ string) bool

func (*Type[T]) SetAttributes

func (pt *Type[T]) SetAttributes(attributes attributes.Attributes)

func (*Type[T]) String

func (pt *Type[T]) String() string

func (*Type[T]) TransformToXML

func (pt *Type[T]) TransformToXML(buffer *saver.Buffer) error

func (*Type[T]) ValidateField

func (pt *Type[T]) ValidateField(_ string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL