Package ai.platon.pulsar.dom
Object FeaturedDocument.Companion
-
- All Implemented Interfaces:
public class FeaturedDocument.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private IntegerSELECTOR_IN_BOX_DEVIATIONprivate DimensionprimaryGridDimensionprivate DimensionsecondaryGridDimensionprivate IntegerdensityUnitAreaprivate final IntegerglobalNumDocumentsprivate final FeaturedDocumentNILprivate final StringNIL_DOC_HTMLprivate final IntegerNIL_DOC_LENGTHpublic final static FeaturedDocument.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final FeaturedDocumentcreateShell(String baseURI, String charset)Create a shell document. final BooleanisNil(FeaturedDocument doc)Check if this document is NIL. final <Error class: unknown class>isInternal(FeaturedDocument doc)Check if this document is internal. final IntegergetSELECTOR_IN_BOX_DEVIATION()final UnitsetSELECTOR_IN_BOX_DEVIATION(Integer SELECTOR_IN_BOX_DEVIATION)final DimensiongetPrimaryGridDimension()final UnitsetPrimaryGridDimension(Dimension primaryGridDimension)final DimensiongetSecondaryGridDimension()final UnitsetSecondaryGridDimension(Dimension secondaryGridDimension)final IntegergetDensityUnitArea()final UnitsetDensityUnitArea(Integer densityUnitArea)final IntegergetGlobalNumDocuments()final FeaturedDocumentgetNIL()The NIL document which is a wrapper for a nil org.jsoup.nodes.Document final StringgetNIL_DOC_HTML()The HTML content of a NIL document final IntegergetNIL_DOC_LENGTH()The length of a NIL document's HTML content -
-
Method Detail
-
createShell
final FeaturedDocument createShell(String baseURI, String charset)
Create a shell document.
-
isNil
final Boolean isNil(FeaturedDocument doc)
Check if this document is NIL.
-
isInternal
final <Error class: unknown class> isInternal(FeaturedDocument doc)
Check if this document is internal.
-
getSELECTOR_IN_BOX_DEVIATION
final Integer getSELECTOR_IN_BOX_DEVIATION()
-
setSELECTOR_IN_BOX_DEVIATION
final Unit setSELECTOR_IN_BOX_DEVIATION(Integer SELECTOR_IN_BOX_DEVIATION)
-
getPrimaryGridDimension
final Dimension getPrimaryGridDimension()
-
setPrimaryGridDimension
final Unit setPrimaryGridDimension(Dimension primaryGridDimension)
-
getSecondaryGridDimension
final Dimension getSecondaryGridDimension()
-
setSecondaryGridDimension
final Unit setSecondaryGridDimension(Dimension secondaryGridDimension)
-
getDensityUnitArea
final Integer getDensityUnitArea()
-
setDensityUnitArea
final Unit setDensityUnitArea(Integer densityUnitArea)
-
getGlobalNumDocuments
final Integer getGlobalNumDocuments()
-
getNIL
final FeaturedDocument getNIL()
The NIL document which is a wrapper for a nil org.jsoup.nodes.Document
-
getNIL_DOC_HTML
final String getNIL_DOC_HTML()
The HTML content of a NIL document
-
getNIL_DOC_LENGTH
final Integer getNIL_DOC_LENGTH()
The length of a NIL document's HTML content
-
-
-
-