type Actions struct {
CT_Actions
}
func NewActions() *Actions
func (m *Actions) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *Actions) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *Actions) Validate() error
Validate validates the Actions and its children
func (m *Actions) ValidateWithPath(path string) error
ValidateWithPath validates the Actions and its children, prefixing error messages with path
type CT_Action struct {
IdAttr *string
TypeAttr ST_ActionType
StartTimeAttr float64
Property []*CT_ActionProperty
ActionChoice []*CT_ActionChoice
}
func NewCT_Action() *CT_Action
func (m *CT_Action) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *CT_Action) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *CT_Action) Validate() error
Validate validates the CT_Action and its children
func (m *CT_Action) ValidateWithPath(path string) error
ValidateWithPath validates the CT_Action and its children, prefixing error messages with path
type CT_ActionChoice struct {
ActionData *CT_ActionData
ActionDataGroup *CT_ActionDataGroup
}
func NewCT_ActionChoice() *CT_ActionChoice
func (m *CT_ActionChoice) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *CT_ActionChoice) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *CT_ActionChoice) Validate() error
Validate validates the CT_ActionChoice and its children
func (m *CT_ActionChoice) ValidateWithPath(path string) error
ValidateWithPath validates the CT_ActionChoice and its children, prefixing error messages with path
type CT_ActionData struct {
IdAttr *string
NameAttr *ST_DataName
RefAttr *string
Transform *string
ActionDataChoice []*CT_ActionDataChoice
}
func NewCT_ActionData() *CT_ActionData
func (m *CT_ActionData) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *CT_ActionData) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *CT_ActionData) Validate() error
Validate validates the CT_ActionData and its children
func (m *CT_ActionData) ValidateWithPath(path string) error
ValidateWithPath validates the CT_ActionData and its children, prefixing error messages with path
type CT_ActionDataChoice struct {
Trace *InkML.Trace_type
TraceView *InkML.TraceView_type
}
func NewCT_ActionDataChoice() *CT_ActionDataChoice
func (m *CT_ActionDataChoice) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *CT_ActionDataChoice) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *CT_ActionDataChoice) Validate() error
Validate validates the CT_ActionDataChoice and its children
func (m *CT_ActionDataChoice) ValidateWithPath(path string) error
ValidateWithPath validates the CT_ActionDataChoice and its children, prefixing error messages with path
type CT_ActionDataGroup struct {
IdAttr *string
NameAttr *ST_DataName
ActionData []*CT_ActionData
}
func NewCT_ActionDataGroup() *CT_ActionDataGroup
func (m *CT_ActionDataGroup) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *CT_ActionDataGroup) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *CT_ActionDataGroup) Validate() error
Validate validates the CT_ActionDataGroup and its children
func (m *CT_ActionDataGroup) ValidateWithPath(path string) error
ValidateWithPath validates the CT_ActionDataGroup and its children, prefixing error messages with path
type CT_ActionGroup struct {
IdAttr *string
TypeAttr ST_ActionType
StartTimeAttr float64
Action []*CT_Action
}
func NewCT_ActionGroup() *CT_ActionGroup
func (m *CT_ActionGroup) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *CT_ActionGroup) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *CT_ActionGroup) Validate() error
Validate validates the CT_ActionGroup and its children
func (m *CT_ActionGroup) ValidateWithPath(path string) error
ValidateWithPath validates the CT_ActionGroup and its children, prefixing error messages with path
type CT_ActionProperty struct {
NameAttr ST_PropertyName
ValueAttr *ST_PropertyValue
}
func NewCT_ActionProperty() *CT_ActionProperty
func (m *CT_ActionProperty) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *CT_ActionProperty) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *CT_ActionProperty) Validate() error
Validate validates the CT_ActionProperty and its children
func (m *CT_ActionProperty) ValidateWithPath(path string) error
ValidateWithPath validates the CT_ActionProperty and its children, prefixing error messages with path
type CT_Actions struct {
IdAttr *string
LengthUnitAttr InkML.StandardUnits_type
TimeUnitAttr InkML.StandardUnits_type
Definitions *InkML.Definitions_type
ActionsChoice []*CT_ActionsChoice
}
func NewCT_Actions() *CT_Actions
func (m *CT_Actions) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *CT_Actions) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *CT_Actions) Validate() error
Validate validates the CT_Actions and its children
func (m *CT_Actions) ValidateWithPath(path string) error
ValidateWithPath validates the CT_Actions and its children, prefixing error messages with path
type CT_ActionsChoice struct {
ActionGroup *CT_ActionGroup
Action *CT_Action
}
func NewCT_ActionsChoice() *CT_ActionsChoice
func (m *CT_ActionsChoice) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m *CT_ActionsChoice) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (m *CT_ActionsChoice) Validate() error
Validate validates the CT_ActionsChoice and its children
func (m *CT_ActionsChoice) ValidateWithPath(path string) error
ValidateWithPath validates the CT_ActionsChoice and its children, prefixing error messages with path
ST_ActionType is a union type
type ST_ActionType struct {
ST_ActionTypeReserved ST_ActionTypeReserved
ST_ActionTypeUser *string
}
func ParseUnionST_ActionType(s string) (ST_ActionType, error)
func (m ST_ActionType) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m ST_ActionType) String() string
func (m *ST_ActionType) Validate() error
func (m *ST_ActionType) ValidateWithPath(path string) error
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 (m ST_ActionTypeReserved) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (e ST_ActionTypeReserved) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
func (m ST_ActionTypeReserved) String() string
func (m *ST_ActionTypeReserved) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (e *ST_ActionTypeReserved) UnmarshalXMLAttr(attr xml.Attr) error
func (m ST_ActionTypeReserved) Validate() error
func (m ST_ActionTypeReserved) ValidateWithPath(path string) error
ST_DataName is a union type
type ST_DataName struct {
ST_DataNameReserved ST_DataNameReserved
ST_DataNameUser *string
}
func ParseUnionST_DataName(s string) (ST_DataName, error)
func (m ST_DataName) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m ST_DataName) String() string
func (m *ST_DataName) Validate() error
func (m *ST_DataName) ValidateWithPath(path string) error
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 (m ST_DataNameReserved) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (e ST_DataNameReserved) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
func (m ST_DataNameReserved) String() string
func (m *ST_DataNameReserved) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (e *ST_DataNameReserved) UnmarshalXMLAttr(attr xml.Attr) error
func (m ST_DataNameReserved) Validate() error
func (m ST_DataNameReserved) ValidateWithPath(path string) error
ST_PropertyName is a union type
type ST_PropertyName struct {
ST_PropertyNameReserved ST_PropertyNameReserved
ST_PropertyNameUser *string
}
func ParseUnionST_PropertyName(s string) (ST_PropertyName, error)
func (m ST_PropertyName) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m ST_PropertyName) String() string
func (m *ST_PropertyName) Validate() error
func (m *ST_PropertyName) ValidateWithPath(path string) error
type ST_PropertyNameReserved byte
const (
ST_PropertyNameReservedUnset ST_PropertyNameReserved = 0
ST_PropertyNameReservedDataType ST_PropertyNameReserved = 1
ST_PropertyNameReservedStyle ST_PropertyNameReserved = 2
)
func (m ST_PropertyNameReserved) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (e ST_PropertyNameReserved) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
func (m ST_PropertyNameReserved) String() string
func (m *ST_PropertyNameReserved) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (e *ST_PropertyNameReserved) UnmarshalXMLAttr(attr xml.Attr) error
func (m ST_PropertyNameReserved) Validate() error
func (m ST_PropertyNameReserved) ValidateWithPath(path string) error
ST_PropertyValue is a union type
type ST_PropertyValue struct {
ST_PropertyValueReserved ST_PropertyValueReserved
ST_PropertyValueUser *string
}
func ParseUnionST_PropertyValue(s string) (ST_PropertyValue, error)
func (m ST_PropertyValue) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (m ST_PropertyValue) String() string
func (m *ST_PropertyValue) Validate() error
func (m *ST_PropertyValue) ValidateWithPath(path string) error
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 (m ST_PropertyValueReserved) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (e ST_PropertyValueReserved) MarshalXMLAttr(name xml.Name) (xml.Attr, error)
func (m ST_PropertyValueReserved) String() string
func (m *ST_PropertyValueReserved) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error
func (e *ST_PropertyValueReserved) UnmarshalXMLAttr(attr xml.Attr) error
func (m ST_PropertyValueReserved) Validate() error
func (m ST_PropertyValueReserved) ValidateWithPath(path string) error