atom/inlineOtherContent.go

16 lines
429 B
Go

package atomfeed
type InlineOtherContent struct {
*CommonAttributes
Type MediaType `xml:"type,attr,omitempty"`
AnyElement []*any `xml:"anyelement,omitempty"`
}
func (i *InlineOtherContent) isContent() bool { return true }
func (i *InlineOtherContent) hasSRC() bool { return false }
func (i *InlineOtherContent) getType() string { return string(i.Type) }
func (i *InlineOtherContent) Check() error { return nil }