go_ExternalQuestion

package
v0.0.0-...-a23a929 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2016 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Auto-generated by the "go-xsd" package located at:

github.com/metaleap/go-xsd

Comments on types and fields (if any) are from the XSD file located at:

mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2006-07-14/ExternalQuestion.xsd

Index

Constants

This section is empty.

Variables

View Source
var (
	//	Set this to false to break a Walk() immediately as soon as the first error is returned by a custom handler function.
	//	If true, Walk() proceeds and accumulates all errors in the WalkErrors slice.
	WalkContinueOnError = true
	//	Contains all errors accumulated during Walk()s. If you're using this, you need to reset this yourself as needed prior to a fresh Walk().
	WalkErrors []error
	//	Your custom error-handling function, if required.
	WalkOnError func(error)
	//	Provides 8 strong-typed hooks for your own custom handler functions to be invoked when the Walk() method is called on any instance of any (non-attribute-related) struct type defined in this package.
	//	If your custom handler does get called at all for a given struct instance, then it always gets called twice, first with the 'enter' bool argument set to true, then (after having Walk()ed all subordinate struct instances, if any) once again with it set to false.
	WalkHandlers = &XsdGoPkgWalkHandlers{}
)

Functions

This section is empty.

Types

type TxsdExternalQuestion

func (*TxsdExternalQuestion) Walk

func (me *TxsdExternalQuestion) Walk() (err error)

If the WalkHandlers.TxsdExternalQuestion function is not nil (ie. was set by outside code), calls it with this TxsdExternalQuestion instance as the single argument. Then calls the Walk() method on 2/2 embed(s) and 0/0 field(s) belonging to this TxsdExternalQuestion instance.

type XsdGoPkgHasCdata

type XsdGoPkgHasCdata struct {
	XsdGoPkgCDATA string `xml:",chardata"`
}

func (*XsdGoPkgHasCdata) Walk

func (me *XsdGoPkgHasCdata) Walk() (err error)

If the WalkHandlers.XsdGoPkgHasCdata function is not nil (ie. was set by outside code), calls it with this XsdGoPkgHasCdata instance as the single argument. Then calls the Walk() method on 0/0 embed(s) and 0/1 field(s) belonging to this XsdGoPkgHasCdata instance.

type XsdGoPkgHasElem_ExternalQuestion

type XsdGoPkgHasElem_ExternalQuestion struct {
	ExternalQuestion *TxsdExternalQuestion `xml:"http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2006-07-14/ExternalQuestion.xsd ExternalQuestion"`
}

func (*XsdGoPkgHasElem_ExternalQuestion) Walk

func (me *XsdGoPkgHasElem_ExternalQuestion) Walk() (err error)

If the WalkHandlers.XsdGoPkgHasElem_ExternalQuestion function is not nil (ie. was set by outside code), calls it with this XsdGoPkgHasElem_ExternalQuestion instance as the single argument. Then calls the Walk() method on 0/0 embed(s) and 1/1 field(s) belonging to this XsdGoPkgHasElem_ExternalQuestion instance.

type XsdGoPkgHasElem_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_

type XsdGoPkgHasElem_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_ struct {
	ExternalURL xsdt.AnyURI `xml:"http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2006-07-14/ExternalQuestion.xsd ExternalURL"`
}

func (*XsdGoPkgHasElem_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_) Walk

If the WalkHandlers.XsdGoPkgHasElem_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_ function is not nil (ie. was set by outside code), calls it with this XsdGoPkgHasElem_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_ instance as the single argument. Then calls the Walk() method on 0/0 embed(s) and 0/1 field(s) belonging to this XsdGoPkgHasElem_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_ instance.

type XsdGoPkgHasElem_FrameHeightsequenceTxsdExternalQuestionExternalQuestionschema_FrameHeight_XsdtInteger_

type XsdGoPkgHasElem_FrameHeightsequenceTxsdExternalQuestionExternalQuestionschema_FrameHeight_XsdtInteger_ struct {
	FrameHeight xsdt.Integer `xml:"http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2006-07-14/ExternalQuestion.xsd FrameHeight"`
}

func (*XsdGoPkgHasElem_FrameHeightsequenceTxsdExternalQuestionExternalQuestionschema_FrameHeight_XsdtInteger_) Walk

If the WalkHandlers.XsdGoPkgHasElem_FrameHeightsequenceTxsdExternalQuestionExternalQuestionschema_FrameHeight_XsdtInteger_ function is not nil (ie. was set by outside code), calls it with this XsdGoPkgHasElem_FrameHeightsequenceTxsdExternalQuestionExternalQuestionschema_FrameHeight_XsdtInteger_ instance as the single argument. Then calls the Walk() method on 0/0 embed(s) and 0/1 field(s) belonging to this XsdGoPkgHasElem_FrameHeightsequenceTxsdExternalQuestionExternalQuestionschema_FrameHeight_XsdtInteger_ instance.

type XsdGoPkgHasElems_ExternalQuestion

type XsdGoPkgHasElems_ExternalQuestion struct {
	ExternalQuestions []*TxsdExternalQuestion `xml:"http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2006-07-14/ExternalQuestion.xsd ExternalQuestion"`
}

func (*XsdGoPkgHasElems_ExternalQuestion) Walk

func (me *XsdGoPkgHasElems_ExternalQuestion) Walk() (err error)

If the WalkHandlers.XsdGoPkgHasElems_ExternalQuestion function is not nil (ie. was set by outside code), calls it with this XsdGoPkgHasElems_ExternalQuestion instance as the single argument. Then calls the Walk() method on 0/0 embed(s) and 0/1 field(s) belonging to this XsdGoPkgHasElems_ExternalQuestion instance.

type XsdGoPkgHasElems_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_

type XsdGoPkgHasElems_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_ struct {
	ExternalURLs []xsdt.AnyURI `xml:"http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2006-07-14/ExternalQuestion.xsd ExternalURL"`
}

func (*XsdGoPkgHasElems_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_) Walk

If the WalkHandlers.XsdGoPkgHasElems_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_ function is not nil (ie. was set by outside code), calls it with this XsdGoPkgHasElems_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_ instance as the single argument. Then calls the Walk() method on 0/0 embed(s) and 0/1 field(s) belonging to this XsdGoPkgHasElems_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_ instance.

type XsdGoPkgHasElems_FrameHeightsequenceExternalQuestionschema_FrameHeight_XsdtInteger_

type XsdGoPkgHasElems_FrameHeightsequenceExternalQuestionschema_FrameHeight_XsdtInteger_ struct {
	FrameHeights []xsdt.Integer `xml:"http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2006-07-14/ExternalQuestion.xsd FrameHeight"`
}

func (*XsdGoPkgHasElems_FrameHeightsequenceExternalQuestionschema_FrameHeight_XsdtInteger_) Walk

If the WalkHandlers.XsdGoPkgHasElems_FrameHeightsequenceExternalQuestionschema_FrameHeight_XsdtInteger_ function is not nil (ie. was set by outside code), calls it with this XsdGoPkgHasElems_FrameHeightsequenceExternalQuestionschema_FrameHeight_XsdtInteger_ instance as the single argument. Then calls the Walk() method on 0/0 embed(s) and 0/1 field(s) belonging to this XsdGoPkgHasElems_FrameHeightsequenceExternalQuestionschema_FrameHeight_XsdtInteger_ instance.

type XsdGoPkgWalkHandlers

type XsdGoPkgWalkHandlers struct {
	XsdGoPkgHasElem_ExternalQuestion                                                                       func(*XsdGoPkgHasElem_ExternalQuestion, bool) error
	XsdGoPkgHasElems_ExternalQuestion                                                                      func(*XsdGoPkgHasElems_ExternalQuestion, bool) error
	XsdGoPkgHasElems_FrameHeightsequenceExternalQuestionschema_FrameHeight_XsdtInteger_                    func(*XsdGoPkgHasElems_FrameHeightsequenceExternalQuestionschema_FrameHeight_XsdtInteger_, bool) error
	XsdGoPkgHasElems_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_ func(*XsdGoPkgHasElems_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_, bool) error
	XsdGoPkgHasCdata                                                                                       func(*XsdGoPkgHasCdata, bool) error
	XsdGoPkgHasElem_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_  func(*XsdGoPkgHasElem_ExternalURLsequenceTxsdExternalQuestionExternalQuestionschema_ExternalURL_XsdtAnyURI_, bool) error
	XsdGoPkgHasElem_FrameHeightsequenceTxsdExternalQuestionExternalQuestionschema_FrameHeight_XsdtInteger_ func(*XsdGoPkgHasElem_FrameHeightsequenceTxsdExternalQuestionExternalQuestionschema_FrameHeight_XsdtInteger_, bool) error
	TxsdExternalQuestion                                                                                   func(*TxsdExternalQuestion, bool) error
}

Provides 8 strong-typed hooks for your own custom handler functions to be invoked when the Walk() method is called on any instance of any (non-attribute-related) struct type defined in this package. If your custom handler does get called at all for a given struct instance, then it always gets called twice, first with the 'enter' bool argument set to true, then (after having Walk()ed all subordinate struct instances, if any) once again with it set to false.

Jump to

Keyboard shortcuts

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