C# Class NBoilerpipePortable.Parser.CommonTagActions

Defines an action that is to be performed whenever a particular tag occurs during HTML parsing.
Defines an action that is to be performed whenever a particular tag occurs during HTML parsing.
Datei anzeigen Open project: Synergex/Baconography

Public Properties

Property Type Description
TA_ANCHOR_TEXT TagAction
TA_BLOCK_LEVEL TagAction
TA_BODY TagAction
TA_FONT TagAction
TA_IGNORABLE_ELEMENT TagAction
TA_IMG_ELEMENT TagAction
TA_INLINE_NO_WHITESPACE TagAction
TA_INLINE_WHITESPACE TagAction

Public Methods

Method Description
CommonTagActions ( ) : System

Method Details

CommonTagActions() public method

public CommonTagActions ( ) : System
return System

Property Details

TA_ANCHOR_TEXT public_oe static_oe property

Marks this tag as "anchor" (this should usually only be set for the <A> tag).
Marks this tag as "anchor" (this should usually only be set for the <A> tag). Anchor tags may not be nested. There is a bug in certain versions of NekoHTML which still allows nested tags. If boilerpipe encounters such nestings, a SAXException is thrown.
public static TagAction TA_ANCHOR_TEXT
return TagAction

TA_BLOCK_LEVEL public_oe static_oe property

Explicitly marks this tag a simple "block-level" element, which always generates whitespace
public static TagAction TA_BLOCK_LEVEL
return TagAction

TA_BODY public_oe static_oe property

Marks this tag the body element (this should usually only be set for the <BODY> tag).
Marks this tag the body element (this should usually only be set for the <BODY> tag).
public static TagAction TA_BODY
return TagAction

TA_FONT public_oe static_oe property

Special TagAction for the <FONT> tag, which keeps track of the absolute and relative font size.
Special TagAction for the <FONT> tag, which keeps track of the absolute and relative font size.
public static TagAction TA_FONT
return TagAction

TA_IGNORABLE_ELEMENT public_oe static_oe property

Marks this tag as "ignorable", i.e.
Marks this tag as "ignorable", i.e. all its inner content is silently skipped.
public static TagAction TA_IGNORABLE_ELEMENT
return TagAction

TA_IMG_ELEMENT public_oe static_oe property

Marks this tag as "ignorable", i.e.
Marks this tag as "ignorable", i.e. all its inner content is silently skipped.
public static TagAction TA_IMG_ELEMENT
return TagAction

TA_INLINE_NO_WHITESPACE public_oe static_oe property

Marks this tag a simple "inline" element, which neither generates whitespace, nor a new block.
Marks this tag a simple "inline" element, which neither generates whitespace, nor a new block.
public static TagAction TA_INLINE_NO_WHITESPACE
return TagAction

TA_INLINE_WHITESPACE public_oe static_oe property

Marks this tag a simple "inline" element, which generates whitespace, but no new block.
Marks this tag a simple "inline" element, which generates whitespace, but no new block.
public static TagAction TA_INLINE_WHITESPACE
return TagAction