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/2011-11-11/HTMLQuestion.xsd
Index ¶
- Variables
- type TxsdHTMLQuestion
- type XsdGoPkgHasCdata
- type XsdGoPkgHasElem_FrameHeightsequenceTxsdHTMLQuestionHTMLQuestionschema_FrameHeight_XsdtInteger_
- type XsdGoPkgHasElem_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_
- type XsdGoPkgHasElem_HTMLQuestion
- type XsdGoPkgHasElems_FrameHeightsequenceHTMLQuestionschema_FrameHeight_XsdtInteger_
- type XsdGoPkgHasElems_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_
- type XsdGoPkgHasElems_HTMLQuestion
- type XsdGoPkgWalkHandlers
Constants ¶
This section is empty.
Variables ¶
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 TxsdHTMLQuestion ¶
type TxsdHTMLQuestion struct { XsdGoPkgHasElem_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_ XsdGoPkgHasElem_FrameHeightsequenceTxsdHTMLQuestionHTMLQuestionschema_FrameHeight_XsdtInteger_ }
func (*TxsdHTMLQuestion) Walk ¶
func (me *TxsdHTMLQuestion) Walk() (err error)
If the WalkHandlers.TxsdHTMLQuestion function is not nil (ie. was set by outside code), calls it with this TxsdHTMLQuestion instance as the single argument. Then calls the Walk() method on 2/2 embed(s) and 0/0 field(s) belonging to this TxsdHTMLQuestion 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_FrameHeightsequenceTxsdHTMLQuestionHTMLQuestionschema_FrameHeight_XsdtInteger_ ¶
type XsdGoPkgHasElem_FrameHeightsequenceTxsdHTMLQuestionHTMLQuestionschema_FrameHeight_XsdtInteger_ struct {
FrameHeight xsdt.Integer `xml:"http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2011-11-11/HTMLQuestion.xsd FrameHeight"`
}
func (*XsdGoPkgHasElem_FrameHeightsequenceTxsdHTMLQuestionHTMLQuestionschema_FrameHeight_XsdtInteger_) Walk ¶
func (me *XsdGoPkgHasElem_FrameHeightsequenceTxsdHTMLQuestionHTMLQuestionschema_FrameHeight_XsdtInteger_) Walk() (err error)
If the WalkHandlers.XsdGoPkgHasElem_FrameHeightsequenceTxsdHTMLQuestionHTMLQuestionschema_FrameHeight_XsdtInteger_ function is not nil (ie. was set by outside code), calls it with this XsdGoPkgHasElem_FrameHeightsequenceTxsdHTMLQuestionHTMLQuestionschema_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_FrameHeightsequenceTxsdHTMLQuestionHTMLQuestionschema_FrameHeight_XsdtInteger_ instance.
type XsdGoPkgHasElem_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_ ¶
type XsdGoPkgHasElem_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_ struct {
HTMLContent xsdt.String `xml:"http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2011-11-11/HTMLQuestion.xsd HTMLContent"`
}
func (*XsdGoPkgHasElem_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_) Walk ¶
func (me *XsdGoPkgHasElem_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_) Walk() (err error)
If the WalkHandlers.XsdGoPkgHasElem_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_ function is not nil (ie. was set by outside code), calls it with this XsdGoPkgHasElem_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_ instance as the single argument. Then calls the Walk() method on 0/0 embed(s) and 0/1 field(s) belonging to this XsdGoPkgHasElem_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_ instance.
type XsdGoPkgHasElem_HTMLQuestion ¶
type XsdGoPkgHasElem_HTMLQuestion struct {
HTMLQuestion *TxsdHTMLQuestion `xml:"http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2011-11-11/HTMLQuestion.xsd HTMLQuestion"`
}
func (*XsdGoPkgHasElem_HTMLQuestion) Walk ¶
func (me *XsdGoPkgHasElem_HTMLQuestion) Walk() (err error)
If the WalkHandlers.XsdGoPkgHasElem_HTMLQuestion function is not nil (ie. was set by outside code), calls it with this XsdGoPkgHasElem_HTMLQuestion instance as the single argument. Then calls the Walk() method on 0/0 embed(s) and 1/1 field(s) belonging to this XsdGoPkgHasElem_HTMLQuestion instance.
type XsdGoPkgHasElems_FrameHeightsequenceHTMLQuestionschema_FrameHeight_XsdtInteger_ ¶
type XsdGoPkgHasElems_FrameHeightsequenceHTMLQuestionschema_FrameHeight_XsdtInteger_ struct {
FrameHeights []xsdt.Integer `xml:"http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2011-11-11/HTMLQuestion.xsd FrameHeight"`
}
func (*XsdGoPkgHasElems_FrameHeightsequenceHTMLQuestionschema_FrameHeight_XsdtInteger_) Walk ¶
func (me *XsdGoPkgHasElems_FrameHeightsequenceHTMLQuestionschema_FrameHeight_XsdtInteger_) Walk() (err error)
If the WalkHandlers.XsdGoPkgHasElems_FrameHeightsequenceHTMLQuestionschema_FrameHeight_XsdtInteger_ function is not nil (ie. was set by outside code), calls it with this XsdGoPkgHasElems_FrameHeightsequenceHTMLQuestionschema_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_FrameHeightsequenceHTMLQuestionschema_FrameHeight_XsdtInteger_ instance.
type XsdGoPkgHasElems_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_ ¶
type XsdGoPkgHasElems_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_ struct {
HTMLContents []xsdt.String `xml:"http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2011-11-11/HTMLQuestion.xsd HTMLContent"`
}
func (*XsdGoPkgHasElems_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_) Walk ¶
func (me *XsdGoPkgHasElems_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_) Walk() (err error)
If the WalkHandlers.XsdGoPkgHasElems_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_ function is not nil (ie. was set by outside code), calls it with this XsdGoPkgHasElems_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_ instance as the single argument. Then calls the Walk() method on 0/0 embed(s) and 0/1 field(s) belonging to this XsdGoPkgHasElems_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_ instance.
type XsdGoPkgHasElems_HTMLQuestion ¶
type XsdGoPkgHasElems_HTMLQuestion struct {
HTMLQuestions []*TxsdHTMLQuestion `xml:"http://mechanicalturk.amazonaws.com/AWSMechanicalTurkDataSchemas/2011-11-11/HTMLQuestion.xsd HTMLQuestion"`
}
func (*XsdGoPkgHasElems_HTMLQuestion) Walk ¶
func (me *XsdGoPkgHasElems_HTMLQuestion) Walk() (err error)
If the WalkHandlers.XsdGoPkgHasElems_HTMLQuestion function is not nil (ie. was set by outside code), calls it with this XsdGoPkgHasElems_HTMLQuestion instance as the single argument. Then calls the Walk() method on 0/0 embed(s) and 0/1 field(s) belonging to this XsdGoPkgHasElems_HTMLQuestion instance.
type XsdGoPkgWalkHandlers ¶
type XsdGoPkgWalkHandlers struct { XsdGoPkgHasElem_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_ func(*XsdGoPkgHasElem_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_, bool) error XsdGoPkgHasElem_FrameHeightsequenceTxsdHTMLQuestionHTMLQuestionschema_FrameHeight_XsdtInteger_ func(*XsdGoPkgHasElem_FrameHeightsequenceTxsdHTMLQuestionHTMLQuestionschema_FrameHeight_XsdtInteger_, bool) error TxsdHTMLQuestion func(*TxsdHTMLQuestion, bool) error XsdGoPkgHasElem_HTMLQuestion func(*XsdGoPkgHasElem_HTMLQuestion, bool) error XsdGoPkgHasElems_HTMLQuestion func(*XsdGoPkgHasElems_HTMLQuestion, bool) error XsdGoPkgHasCdata func(*XsdGoPkgHasCdata, bool) error XsdGoPkgHasElems_FrameHeightsequenceHTMLQuestionschema_FrameHeight_XsdtInteger_ func(*XsdGoPkgHasElems_FrameHeightsequenceHTMLQuestionschema_FrameHeight_XsdtInteger_, bool) error XsdGoPkgHasElems_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_ func(*XsdGoPkgHasElems_HTMLContentsequenceTxsdHTMLQuestionHTMLQuestionschema_HTMLContent_XsdtString_, 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.