gokogiri_interface_legacy

package
v0.0.0-...-6f0ee80 Latest Latest
Warning

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

Go to latest
Published: May 25, 2016 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GokogiriHtmlTransformer

type GokogiriHtmlTransformer struct {
	// contains filtered or unexported fields
}

func NewXForm

func NewXForm() *GokogiriHtmlTransformer

func (*GokogiriHtmlTransformer) CheckXPath

func (xform *GokogiriHtmlTransformer) CheckXPath(path string) error

func (*GokogiriHtmlTransformer) CompileXPath

func (xform *GokogiriHtmlTransformer) CompileXPath(path string) ht.Selector

func (*GokogiriHtmlTransformer) ConvertCSS

func (xform *GokogiriHtmlTransformer) ConvertCSS(input string) string

func (*GokogiriHtmlTransformer) CreateCDataNode

func (xform *GokogiriHtmlTransformer) CreateCDataNode(data string) ht.Node

func (*GokogiriHtmlTransformer) CreateElementNode

func (xform *GokogiriHtmlTransformer) CreateElementNode(tag string) ht.Node

func (*GokogiriHtmlTransformer) CreateEmptyDocument

func (xform *GokogiriHtmlTransformer) CreateEmptyDocument(inEncoding, outEncoding []byte)

func (*GokogiriHtmlTransformer) Free

func (xform *GokogiriHtmlTransformer) Free()

func (*GokogiriHtmlTransformer) ParseFragment

func (xform *GokogiriHtmlTransformer) ParseFragment(content, inEncoding, url, outEncoding []byte) (frag ht.Node, err error)

func (*GokogiriHtmlTransformer) ParseHTML

func (xform *GokogiriHtmlTransformer) ParseHTML(content, inEncoding, url, outEncoding []byte) (err error)

func (*GokogiriHtmlTransformer) ParseXML

func (xform *GokogiriHtmlTransformer) ParseXML(content, inEncoding, url, outEncoding []byte) error

func (*GokogiriHtmlTransformer) Root

func (xform *GokogiriHtmlTransformer) Root() (ht.Node, ht.Node)

func (*GokogiriHtmlTransformer) SetMetaEncoding

func (xform *GokogiriHtmlTransformer) SetMetaEncoding(encoding string) (err error)

func (*GokogiriHtmlTransformer) String

func (xform *GokogiriHtmlTransformer) String() (str string)

type GokogiriXPathSelector

type GokogiriXPathSelector struct {
	xpath.Expression
}

func (*GokogiriXPathSelector) Free

func (xp *GokogiriXPathSelector) Free()

func (*GokogiriXPathSelector) String

func (xp *GokogiriXPathSelector) String() string

func (*GokogiriXPathSelector) UnderlyingExpression

func (xp *GokogiriXPathSelector) UnderlyingExpression() interface{}

type GokogiriXmlNode

type GokogiriXmlNode struct {
	// contains filtered or unexported fields
}

func (*GokogiriXmlNode) Duplicate

func (node *GokogiriXmlNode) Duplicate() ht.Node

func (*GokogiriXmlNode) FirstChild

func (node *GokogiriXmlNode) FirstChild() ht.Node

func (*GokogiriXmlNode) GetAttribute

func (node *GokogiriXmlNode) GetAttribute(name string) ht.Node

func (*GokogiriXmlNode) GetContent

func (node *GokogiriXmlNode) GetContent() string

func (*GokogiriXmlNode) GetInnerHtml

func (node *GokogiriXmlNode) GetInnerHtml() (result string)

func (*GokogiriXmlNode) GetName

func (node *GokogiriXmlNode) GetName() string

func (*GokogiriXmlNode) InsertAfter

func (node *GokogiriXmlNode) InsertAfter(data interface{}) (err error)

func (*GokogiriXmlNode) InsertBefore

func (node *GokogiriXmlNode) InsertBefore(data interface{}) (err error)

func (*GokogiriXmlNode) InsertBottom

func (node *GokogiriXmlNode) InsertBottom(data interface{}) (err error)

func (*GokogiriXmlNode) InsertTop

func (node *GokogiriXmlNode) InsertTop(data interface{}) (err error)

func (*GokogiriXmlNode) Is

func (node *GokogiriXmlNode) Is(cmp ht.Node) (result bool)

func (*GokogiriXmlNode) IsDocument

func (node *GokogiriXmlNode) IsDocument() (result bool)

func (*GokogiriXmlNode) IsElement

func (node *GokogiriXmlNode) IsElement() (result bool)

func (*GokogiriXmlNode) IsText

func (node *GokogiriXmlNode) IsText() (result bool)

func (*GokogiriXmlNode) IsValid

func (node *GokogiriXmlNode) IsValid() bool

func (*GokogiriXmlNode) LastChild

func (node *GokogiriXmlNode) LastChild() ht.Node

func (*GokogiriXmlNode) NextSibling

func (node *GokogiriXmlNode) NextSibling() ht.Node

func (*GokogiriXmlNode) Parent

func (node *GokogiriXmlNode) Parent() ht.Node

func (*GokogiriXmlNode) Path

func (node *GokogiriXmlNode) Path() string

func (*GokogiriXmlNode) PreviousSibling

func (node *GokogiriXmlNode) PreviousSibling() ht.Node

func (*GokogiriXmlNode) Remove

func (node *GokogiriXmlNode) Remove()

func (*GokogiriXmlNode) RemoveAttribute

func (node *GokogiriXmlNode) RemoveAttribute(name string) ht.Node

func (*GokogiriXmlNode) SelectCSS

func (node *GokogiriXmlNode) SelectCSS(data string) (results []ht.Node, err error)

func (*GokogiriXmlNode) SelectCSSByDeadline

func (node *GokogiriXmlNode) SelectCSSByDeadline(data string, deadline *time.Time) (results []ht.Node, err error)

func (*GokogiriXmlNode) SelectXPath

func (node *GokogiriXmlNode) SelectXPath(data interface{}) (results []ht.Node, err error)

func (*GokogiriXmlNode) SelectXPathByDeadline

func (node *GokogiriXmlNode) SelectXPathByDeadline(data interface{}, deadline *time.Time) (results []ht.Node, err error)

func (*GokogiriXmlNode) SetAttribute

func (node *GokogiriXmlNode) SetAttribute(name, value string) ht.Node

func (*GokogiriXmlNode) SetContent

func (node *GokogiriXmlNode) SetContent(content interface{}) error

func (*GokogiriXmlNode) SetInnerHtml

func (node *GokogiriXmlNode) SetInnerHtml(data interface{}) error

func (*GokogiriXmlNode) SetName

func (node *GokogiriXmlNode) SetName(name string)

func (*GokogiriXmlNode) String

func (node *GokogiriXmlNode) String() string

func (*GokogiriXmlNode) UnderlyingNode

func (node *GokogiriXmlNode) UnderlyingNode() interface{}

Jump to

Keyboard shortcuts

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