Documentation ¶
Index ¶
Constants ¶
View Source
const ONE_KB int = 1024
View Source
const ONE_MB int = ONE_KB * ONE_KB
Variables ¶
This section is empty.
Functions ¶
func TagHandler ¶
func TagHandler(nodeContent []byte, tb *tagBuffer.TagBuffer, contentBuffer *contentBuffer.ContentBuffer, matcher *tagMatcher.TagMatcher, emitterData *contentBuffer.EmitterData, isRecoding bool, isInnerXml bool, lineNumber uint64) (bool, bool, error)
todo: clean up!
Types ¶
type SaxReader ¶
type SaxReader struct { ElementBufferSize int ContentBufferSize int ReaderBufferSize int PathDepthSize int EmitterFn func(*contentBuffer.EmitterData) bool IsInnerXml bool }
func NewSaxReaderNoEmitter ¶
func NewSaxReaderNoEmitter() SaxReader
func (*SaxReader) Read ¶
func (sr *SaxReader) Read(reader io.Reader, tm *tagMatcher.TagMatcher) error
Click to show internal directories.
Click to hide internal directories.