Метод |
Описание |
|
AddLabel ( string label ) : void |
Adds an arbitrary String label to this TextBlock . |
|
AddLabels ( ) : void |
Adds a set of labels to this TextBlock . null -references are silently ignored. |
|
AddLabels ( ICollection l ) : void |
Adds a set of labels to this TextBlock . null -references are silently ignored. |
|
Clone ( ) : Object |
|
|
GetContainedTextElements ( ) : BitSet |
Returns the containedTextElements BitSet, or null . Returns the containedTextElements BitSet, or null . |
|
GetLabels ( ) : ICollection |
Returns the labels associated to this TextBlock, or null if no such labels exist. Returns the labels associated to this TextBlock, or null if no such labels exist. NOTE: The returned instance is the one used directly in TextBlock. You have full access to the data structure. However it is recommended to use the label-specific methods in TextBlock whenever possible. |
|
GetLinkDensity ( ) : float |
|
|
GetNumWords ( ) : int |
|
|
GetNumWordsInAnchorText ( ) : int |
|
|
GetOffsetBlocksEnd ( ) : int |
|
|
GetOffsetBlocksStart ( ) : int |
|
|
GetTagLevel ( ) : int |
|
|
GetText ( ) : string |
|
|
GetTextDensity ( ) : float |
|
|
HasLabel ( string label ) : bool |
Checks whether this TextBlock has the given label. Checks whether this TextBlock has the given label. |
|
IsContent ( ) : bool |
|
|
MergeNext ( NBoilerpipe other ) : void |
|
|
RemoveLabel ( string label ) : bool |
|
|
SetIsContent ( bool isContent ) : bool |
|
|
SetTagLevel ( int tagLevel ) : void |
|
|
TextBlock ( string text ) : System |
|
|
TextBlock ( string text, BitSet containedTextElements, int numWords, int numWordsInAnchorText, int numWordsInWrappedLines, int numWrappedLines, int offsetBlocks ) : System |
|
|
ToString ( ) : string |
|
|