...
Documentation
Documentation

# Package inkAction

## Overview ▹

## Overview ▾

## Index ▹

## Index ▾

### Package files

Actions.go CT_Action.go CT_ActionChoice.go CT_ActionData.go CT_ActionDataChoice.go CT_ActionDataGroup.go CT_ActionGroup.go CT_ActionProperty.go CT_Actions.go CT_ActionsChoice.go ST_ActionType.go ST_DataName.go ST_PropertyName.go ST_PropertyValue.go common.go

## type Actions ¶

    type Actions struct {
        CT_Actions
    }

### func NewActions ¶

    func NewActions() *Actions

### func (*Actions) MarshalXML ¶

    func (m *Actions) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*Actions) UnmarshalXML ¶

    func (m *Actions) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*Actions) Validate ¶

    func (m *Actions) Validate() error

Validate validates the Actions and its children

### func (*Actions) ValidateWithPath ¶

    func (m *Actions) ValidateWithPath(path string) error

ValidateWithPath validates the Actions and its children, prefixing error messages with path

## type CT_Action ¶

    type CT_Action struct {
        IdAttr        *string
        TypeAttr      ST_ActionType
        StartTimeAttr float64
        Property      []*CT_ActionProperty
        ActionChoice  []*CT_ActionChoice
    }

### func NewCT_Action ¶

    func NewCT_Action() *CT_Action

### func (*CT_Action) MarshalXML ¶

    func (m *CT_Action) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*CT_Action) UnmarshalXML ¶

    func (m *CT_Action) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*CT_Action) Validate ¶

    func (m *CT_Action) Validate() error

Validate validates the CT_Action and its children

### func (*CT_Action) ValidateWithPath ¶

    func (m *CT_Action) ValidateWithPath(path string) error

ValidateWithPath validates the CT_Action and its children, prefixing error messages with path

## type CT_ActionChoice ¶

    type CT_ActionChoice struct {
        ActionData      *CT_ActionData
        ActionDataGroup *CT_ActionDataGroup
    }

### func NewCT_ActionChoice ¶

    func NewCT_ActionChoice() *CT_ActionChoice

### func (*CT_ActionChoice) MarshalXML ¶

    func (m *CT_ActionChoice) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*CT_ActionChoice) UnmarshalXML ¶

    func (m *CT_ActionChoice) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*CT_ActionChoice) Validate ¶

    func (m *CT_ActionChoice) Validate() error

Validate validates the CT_ActionChoice and its children

### func (*CT_ActionChoice) ValidateWithPath ¶

    func (m *CT_ActionChoice) ValidateWithPath(path string) error

ValidateWithPath validates the CT_ActionChoice and its children, prefixing error messages with path

## type CT_ActionData ¶

    type CT_ActionData struct {
        IdAttr           *string
        NameAttr         *ST_DataName
        RefAttr          *string
        Transform        *string
        ActionDataChoice []*CT_ActionDataChoice
    }

### func NewCT_ActionData ¶

    func NewCT_ActionData() *CT_ActionData

### func (*CT_ActionData) MarshalXML ¶

    func (m *CT_ActionData) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*CT_ActionData) UnmarshalXML ¶

    func (m *CT_ActionData) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*CT_ActionData) Validate ¶

    func (m *CT_ActionData) Validate() error

Validate validates the CT_ActionData and its children

### func (*CT_ActionData) ValidateWithPath ¶

    func (m *CT_ActionData) ValidateWithPath(path string) error

ValidateWithPath validates the CT_ActionData and its children, prefixing error messages with path

## type CT_ActionDataChoice ¶

    type CT_ActionDataChoice struct {
        Trace     *InkML.Trace_type
        TraceView *InkML.TraceView_type
    }

### func NewCT_ActionDataChoice ¶

    func NewCT_ActionDataChoice() *CT_ActionDataChoice

### func (*CT_ActionDataChoice) MarshalXML ¶

    func (m *CT_ActionDataChoice) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*CT_ActionDataChoice) UnmarshalXML ¶

    func (m *CT_ActionDataChoice) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*CT_ActionDataChoice) Validate ¶

    func (m *CT_ActionDataChoice) Validate() error

Validate validates the CT_ActionDataChoice and its children

### func (*CT_ActionDataChoice) ValidateWithPath ¶

    func (m *CT_ActionDataChoice) ValidateWithPath(path string) error

ValidateWithPath validates the CT_ActionDataChoice and its children, prefixing error messages with path

## type CT_ActionDataGroup ¶

    type CT_ActionDataGroup struct {
        IdAttr     *string
        NameAttr   *ST_DataName
        ActionData []*CT_ActionData
    }

### func NewCT_ActionDataGroup ¶

    func NewCT_ActionDataGroup() *CT_ActionDataGroup

### func (*CT_ActionDataGroup) MarshalXML ¶

    func (m *CT_ActionDataGroup) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*CT_ActionDataGroup) UnmarshalXML ¶

    func (m *CT_ActionDataGroup) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*CT_ActionDataGroup) Validate ¶

    func (m *CT_ActionDataGroup) Validate() error

Validate validates the CT_ActionDataGroup and its children

### func (*CT_ActionDataGroup) ValidateWithPath ¶

    func (m *CT_ActionDataGroup) ValidateWithPath(path string) error

ValidateWithPath validates the CT_ActionDataGroup and its children, prefixing error messages with path

## type CT_ActionGroup ¶

    type CT_ActionGroup struct {
        IdAttr        *string
        TypeAttr      ST_ActionType
        StartTimeAttr float64
        Action        []*CT_Action
    }

### func NewCT_ActionGroup ¶

    func NewCT_ActionGroup() *CT_ActionGroup

### func (*CT_ActionGroup) MarshalXML ¶

    func (m *CT_ActionGroup) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*CT_ActionGroup) UnmarshalXML ¶

    func (m *CT_ActionGroup) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*CT_ActionGroup) Validate ¶

    func (m *CT_ActionGroup) Validate() error

Validate validates the CT_ActionGroup and its children

### func (*CT_ActionGroup) ValidateWithPath ¶

    func (m *CT_ActionGroup) ValidateWithPath(path string) error

ValidateWithPath validates the CT_ActionGroup and its children, prefixing error messages with path

## type CT_ActionProperty ¶

    type CT_ActionProperty struct {
        NameAttr  ST_PropertyName
        ValueAttr *ST_PropertyValue
    }

### func NewCT_ActionProperty ¶

    func NewCT_ActionProperty() *CT_ActionProperty

### func (*CT_ActionProperty) MarshalXML ¶

    func (m *CT_ActionProperty) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*CT_ActionProperty) UnmarshalXML ¶

    func (m *CT_ActionProperty) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*CT_ActionProperty) Validate ¶

    func (m *CT_ActionProperty) Validate() error

Validate validates the CT_ActionProperty and its children

### func (*CT_ActionProperty) ValidateWithPath ¶

    func (m *CT_ActionProperty) ValidateWithPath(path string) error

ValidateWithPath validates the CT_ActionProperty and its children, prefixing error messages with path

## type CT_Actions ¶

    type CT_Actions struct {
        IdAttr         *string
        LengthUnitAttr InkML.StandardUnits_type
        TimeUnitAttr   InkML.StandardUnits_type
        Definitions    *InkML.Definitions_type
        ActionsChoice  []*CT_ActionsChoice
    }

### func NewCT_Actions ¶

    func NewCT_Actions() *CT_Actions

### func (*CT_Actions) MarshalXML ¶

    func (m *CT_Actions) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*CT_Actions) UnmarshalXML ¶

    func (m *CT_Actions) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*CT_Actions) Validate ¶

    func (m *CT_Actions) Validate() error

Validate validates the CT_Actions and its children

### func (*CT_Actions) ValidateWithPath ¶

    func (m *CT_Actions) ValidateWithPath(path string) error

ValidateWithPath validates the CT_Actions and its children, prefixing error messages with path

## type CT_ActionsChoice ¶

    type CT_ActionsChoice struct {
        ActionGroup *CT_ActionGroup
        Action      *CT_Action
    }

### func NewCT_ActionsChoice ¶

    func NewCT_ActionsChoice() *CT_ActionsChoice

### func (*CT_ActionsChoice) MarshalXML ¶

    func (m *CT_ActionsChoice) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (*CT_ActionsChoice) UnmarshalXML ¶

    func (m *CT_ActionsChoice) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*CT_ActionsChoice) Validate ¶

    func (m *CT_ActionsChoice) Validate() error

Validate validates the CT_ActionsChoice and its children

### func (*CT_ActionsChoice) ValidateWithPath ¶

    func (m *CT_ActionsChoice) ValidateWithPath(path string) error

ValidateWithPath validates the CT_ActionsChoice and its children, prefixing error messages with path

## type ST_ActionType ¶

ST_ActionType is a union type

    type ST_ActionType struct {
        ST_ActionTypeReserved ST_ActionTypeReserved
        ST_ActionTypeUser     *string
    }

### func ParseUnionST_ActionType ¶

    func ParseUnionST_ActionType(s string) (ST_ActionType, error)

### func (ST_ActionType) MarshalXML ¶

    func (m ST_ActionType) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_ActionType) String ¶

    func (m ST_ActionType) String() string

### func (*ST_ActionType) Validate ¶

    func (m *ST_ActionType) Validate() error

### func (*ST_ActionType) ValidateWithPath ¶

    func (m *ST_ActionType) ValidateWithPath(path string) error

## type ST_ActionTypeReserved ¶

    type ST_ActionTypeReserved byte

    const (
        ST_ActionTypeReservedUnset     ST_ActionTypeReserved = 0
        ST_ActionTypeReservedAdd       ST_ActionTypeReserved = 1
        ST_ActionTypeReservedRemove    ST_ActionTypeReserved = 2
        ST_ActionTypeReservedTransform ST_ActionTypeReserved = 3
    )

### func (ST_ActionTypeReserved) MarshalXML ¶

    func (m ST_ActionTypeReserved) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_ActionTypeReserved) MarshalXMLAttr ¶

    func (e ST_ActionTypeReserved) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (ST_ActionTypeReserved) String ¶

    func (m ST_ActionTypeReserved) String() string

### func (*ST_ActionTypeReserved) UnmarshalXML ¶

    func (m *ST_ActionTypeReserved) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*ST_ActionTypeReserved) UnmarshalXMLAttr ¶

    func (e *ST_ActionTypeReserved) UnmarshalXMLAttr(attr xml.Attr) error

### func (ST_ActionTypeReserved) Validate ¶

    func (m ST_ActionTypeReserved) Validate() error

### func (ST_ActionTypeReserved) ValidateWithPath ¶

    func (m ST_ActionTypeReserved) ValidateWithPath(path string) error

## type ST_DataName ¶

ST_DataName is a union type

    type ST_DataName struct {
        ST_DataNameReserved ST_DataNameReserved
        ST_DataNameUser     *string
    }

### func ParseUnionST_DataName ¶

    func ParseUnionST_DataName(s string) (ST_DataName, error)

### func (ST_DataName) MarshalXML ¶

    func (m ST_DataName) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_DataName) String ¶

    func (m ST_DataName) String() string

### func (*ST_DataName) Validate ¶

    func (m *ST_DataName) Validate() error

### func (*ST_DataName) ValidateWithPath ¶

    func (m *ST_DataName) ValidateWithPath(path string) error

## type ST_DataNameReserved ¶

    type ST_DataNameReserved byte

    const (
        ST_DataNameReservedUnset  ST_DataNameReserved = 0
        ST_DataNameReservedStroke ST_DataNameReserved = 1
        ST_DataNameReservedPath   ST_DataNameReserved = 2
        ST_DataNameReservedTarget ST_DataNameReserved = 3
    )

### func (ST_DataNameReserved) MarshalXML ¶

    func (m ST_DataNameReserved) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_DataNameReserved) MarshalXMLAttr ¶

    func (e ST_DataNameReserved) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (ST_DataNameReserved) String ¶

    func (m ST_DataNameReserved) String() string

### func (*ST_DataNameReserved) UnmarshalXML ¶

    func (m *ST_DataNameReserved) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*ST_DataNameReserved) UnmarshalXMLAttr ¶

    func (e *ST_DataNameReserved) UnmarshalXMLAttr(attr xml.Attr) error

### func (ST_DataNameReserved) Validate ¶

    func (m ST_DataNameReserved) Validate() error

### func (ST_DataNameReserved) ValidateWithPath ¶

    func (m ST_DataNameReserved) ValidateWithPath(path string) error

## type ST_PropertyName ¶

ST_PropertyName is a union type

    type ST_PropertyName struct {
        ST_PropertyNameReserved ST_PropertyNameReserved
        ST_PropertyNameUser     *string
    }

### func ParseUnionST_PropertyName ¶

    func ParseUnionST_PropertyName(s string) (ST_PropertyName, error)

### func (ST_PropertyName) MarshalXML ¶

    func (m ST_PropertyName) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_PropertyName) String ¶

    func (m ST_PropertyName) String() string

### func (*ST_PropertyName) Validate ¶

    func (m *ST_PropertyName) Validate() error

### func (*ST_PropertyName) ValidateWithPath ¶

    func (m *ST_PropertyName) ValidateWithPath(path string) error

## type ST_PropertyNameReserved ¶

    type ST_PropertyNameReserved byte

    const (
        ST_PropertyNameReservedUnset    ST_PropertyNameReserved = 0
        ST_PropertyNameReservedDataType ST_PropertyNameReserved = 1
        ST_PropertyNameReservedStyle    ST_PropertyNameReserved = 2
    )

### func (ST_PropertyNameReserved) MarshalXML ¶

    func (m ST_PropertyNameReserved) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_PropertyNameReserved) MarshalXMLAttr ¶

    func (e ST_PropertyNameReserved) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (ST_PropertyNameReserved) String ¶

    func (m ST_PropertyNameReserved) String() string

### func (*ST_PropertyNameReserved) UnmarshalXML ¶

    func (m *ST_PropertyNameReserved) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*ST_PropertyNameReserved) UnmarshalXMLAttr ¶

    func (e *ST_PropertyNameReserved) UnmarshalXMLAttr(attr xml.Attr) error

### func (ST_PropertyNameReserved) Validate ¶

    func (m ST_PropertyNameReserved) Validate() error

### func (ST_PropertyNameReserved) ValidateWithPath ¶

    func (m ST_PropertyNameReserved) ValidateWithPath(path string) error

## type ST_PropertyValue ¶

ST_PropertyValue is a union type

    type ST_PropertyValue struct {
        ST_PropertyValueReserved ST_PropertyValueReserved
        ST_PropertyValueUser     *string
    }

### func ParseUnionST_PropertyValue ¶

    func ParseUnionST_PropertyValue(s string) (ST_PropertyValue, error)

### func (ST_PropertyValue) MarshalXML ¶

    func (m ST_PropertyValue) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_PropertyValue) String ¶

    func (m ST_PropertyValue) String() string

### func (*ST_PropertyValue) Validate ¶

    func (m *ST_PropertyValue) Validate() error

### func (*ST_PropertyValue) ValidateWithPath ¶

    func (m *ST_PropertyValue) ValidateWithPath(path string) error

## type ST_PropertyValueReserved ¶

    type ST_PropertyValueReserved byte

    const (
        ST_PropertyValueReservedUnset        ST_PropertyValueReserved = 0
        ST_PropertyValueReservedInk          ST_PropertyValueReserved = 1
        ST_PropertyValueReservedPointEraser  ST_PropertyValueReserved = 2
        ST_PropertyValueReservedStrokeEraser ST_PropertyValueReserved = 3
        ST_PropertyValueReservedInstant      ST_PropertyValueReserved = 4
    )

### func (ST_PropertyValueReserved) MarshalXML ¶

    func (m ST_PropertyValueReserved) MarshalXML(e *xml.Encoder, start xml.StartElement) error

### func (ST_PropertyValueReserved) MarshalXMLAttr ¶

    func (e ST_PropertyValueReserved) MarshalXMLAttr(name xml.Name) (xml.Attr, error)

### func (ST_PropertyValueReserved) String ¶

    func (m ST_PropertyValueReserved) String() string

### func (*ST_PropertyValueReserved) UnmarshalXML ¶

    func (m *ST_PropertyValueReserved) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error

### func (*ST_PropertyValueReserved) UnmarshalXMLAttr ¶

    func (e *ST_PropertyValueReserved) UnmarshalXMLAttr(attr xml.Attr) error

### func (ST_PropertyValueReserved) Validate ¶

    func (m ST_PropertyValueReserved) Validate() error

### func (ST_PropertyValueReserved) ValidateWithPath ¶

    func (m ST_PropertyValueReserved) ValidateWithPath(path string) error