Public Member Functions | |
def | __call__ (self, args, kwargs) |
def | __contains__ (self, x) |
def | __delitem__ (self, key) |
def | __eq__ (self, other) |
def | __getattr__ (self, tag) |
def | __getitem__ (self, key) |
def | __init__ (self, parser, name, attrs=None, parent=None, previous=None) |
def | __iter__ (self) |
def | __len__ (self) |
def | __ne__ (self, other) |
def | __nonzero__ (self) |
def | __repr__ (self, encoding=DEFAULT_OUTPUT_ENCODING) |
def | __setitem__ (self, key, value) |
def | __str__ (self, encoding=DEFAULT_OUTPUT_ENCODING, prettyPrint=False, indentLevel=0) |
def | __unicode__ (self) |
def | childGenerator (self) |
def | clear (self) |
def | decompose (self) |
def | fetchText (self, text=None, recursive=True, limit=None) |
def | find (self, name=None, attrs={}, recursive=True, text=None, kwargs) |
def | findAll (self, name=None, attrs={}, recursive=True, text=None, limit=None, kwargs) |
def | firstText (self, text=None, recursive=True) |
def | get (self, key, default=None) |
def | getString (self) |
def | getText (self, separator=u"") |
def | has_key (self, key) |
def | index (self, element) |
def | prettify (self, encoding=DEFAULT_OUTPUT_ENCODING) |
def | recursiveChildGenerator (self) |
def | renderContents (self, encoding=DEFAULT_OUTPUT_ENCODING, prettyPrint=False, indentLevel=0) |
def | setString (self, string) |
Public Member Functions inherited from BeautifulSoup.PageElement | |
def | append (self, tag) |
def | extract (self) |
def | findAllNext (self, name=None, attrs={}, text=None, limit=None, kwargs) |
def | findAllPrevious (self, name=None, attrs={}, text=None, limit=None, kwargs) |
def | findNext (self, name=None, attrs={}, text=None, kwargs) |
def | findNextSibling (self, name=None, attrs={}, text=None, kwargs) |
def | findNextSiblings (self, name=None, attrs={}, text=None, limit=None, kwargs) |
def | findParent (self, name=None, attrs={}, kwargs) |
def | findParents (self, name=None, attrs={}, limit=None, kwargs) |
def | findPrevious (self, name=None, attrs={}, text=None, kwargs) |
def | findPreviousSibling (self, name=None, attrs={}, text=None, kwargs) |
def | findPreviousSiblings (self, name=None, attrs={}, text=None, limit=None, kwargs) |
def | insert (self, position, newChild) |
def | nextGenerator (self) |
def | nextSiblingGenerator (self) |
def | parentGenerator (self) |
def | previousGenerator (self) |
def | previousSiblingGenerator (self) |
def | replaceWith (self, replaceWith) |
def | replaceWithChildren (self) |
def | setup (self, parent=None, previous=None) |
def | substituteEncoding (self, str, encoding=None) |
def | toEncoding (self, s, encoding=None) |
Public Attributes | |
attrMap | |
attrs | |
containsSubstitutions | |
contents | |
convertHTMLEntities | |
convertXMLEntities | |
escapeUnrecognizedEntities | |
hidden | |
isSelfClosing | |
name | |
parserClass | |
Public Attributes inherited from BeautifulSoup.PageElement | |
next | |
nextSibling | |
parent | |
previous | |
previousSibling | |
Properties | |
string = property(getString, setString) | |
text = property(getText) | |
Private Member Functions | |
def | _convertEntities (self, match) |
def | _getAttrMap (self) |
Represents a found HTML tag with its attributes and contents.
Definition at line 506 of file BeautifulSoup.py.
Definition at line 536 of file BeautifulSoup.py.
Referenced by BeautifulSoup.Tag._convertEntities().
def BeautifulSoup.Tag.__call__ | ( | self, | |
args, | |||
kwargs | |||
) |
Calling a tag like a function is the same as calling its findAll() method. Eg. tag('a') returns a list of all the A tags found within this tag.
Definition at line 655 of file BeautifulSoup.py.
References apply(), and BeautifulSoup.Tag.findAll().
def BeautifulSoup.Tag.__contains__ | ( | self, | |
x | |||
) |
def BeautifulSoup.Tag.__delitem__ | ( | self, | |
key | |||
) |
Definition at line 644 of file BeautifulSoup.py.
References BeautifulSoup.Tag._getAttrMap(), BeautifulSoup.Tag.attrMap, and BeautifulSoup.Tag.attrs.
def BeautifulSoup.Tag.__eq__ | ( | self, | |
other | |||
) |
Returns true iff this tag has the same name, the same attributes, and the same contents (recursively) as the given tag. NOTE: right now this will return false if two tags have the same attributes in a different order. Should this be fixed?
Definition at line 669 of file BeautifulSoup.py.
References BeautifulSoup.Tag.attrs, BeautifulSoup.Tag.contents, AlignableObjectId::entry.name, TmModule.name, cond::persistency::TAG::NAME.name, cond::persistency::GLOBAL_TAG::NAME.name, cond::persistency::RUN_INFO::RUN_NUMBER.name, cond::persistency::TAG::TIME_TYPE.name, cond::persistency::GLOBAL_TAG::VALIDITY.name, cond::persistency::RUN_INFO::START_TIME.name, cond::persistency::TAG::OBJECT_TYPE.name, cond::persistency::GLOBAL_TAG::DESCRIPTION.name, cond::persistency::RUN_INFO::END_TIME.name, cond::persistency::TAG::SYNCHRONIZATION.name, cond::persistency::GLOBAL_TAG::RELEASE.name, cond::persistency::TAG::END_OF_VALIDITY.name, cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.name, cond::persistency::TAG::DESCRIPTION.name, cond::persistency::GTEditorData.name, cond::persistency::GLOBAL_TAG::INSERTION_TIME.name, cond::persistency::TAG::LAST_VALIDATED_TIME.name, cond::persistency::TAG::INSERTION_TIME.name, nanoaod::MergeableCounterTable::SingleColumn< T >.name, cond::persistency::TAG::MODIFICATION_TIME.name, preexistingValidation.PreexistingValidation.name, PixelDCSObject< T >::Item.name, cond::persistency::GTProxyData.name, cond::TimeTypeSpecs.name, lumi::TriggerInfo.name, alignment.Alignment.name, PixelEndcapLinkMaker::Item.name, cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.name, PixelBarrelLinkMaker::Item.name, cond::persistency::GLOBAL_TAG_MAP::RECORD.name, cond::persistency::GLOBAL_TAG_MAP::LABEL.name, cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.name, cms::DDAlgoArguments.name, ExpressionHisto< T >.name, MEtoEDM< T >::MEtoEDMObject.name, XMLProcessor::_loaderBaseConfig.name, cond::persistency::PAYLOAD::HASH.name, cond::persistency::PAYLOAD::OBJECT_TYPE.name, cond::persistency::PAYLOAD::DATA.name, cond::persistency::PAYLOAD::STREAMER_INFO.name, genericValidation.GenericValidation.name, cond::persistency::PAYLOAD::VERSION.name, cond::persistency::PAYLOAD::INSERTION_TIME.name, nanoaod::MergeableCounterTable::VectorColumn< T >.name, h4DSegm.name, PhysicsTools::Calibration::Variable.name, TrackerSectorStruct.name, cond::TagInfo_t.name, cond::persistency::IOV::TAG_NAME.name, cond::persistency::IOV::SINCE.name, Mapper::definition< ScannerT >.name, cond::persistency::IOV::PAYLOAD_HASH.name, classes.MonitorData.name, cond::persistency::IOV::INSERTION_TIME.name, MuonGeometrySanityCheckPoint.name, classes.OutputData.name, h2DSegm.name, nanoaod::FlatTable::Column.name, geometry.Structure.name, cond::persistency::TAG_LOG::TAG_NAME.name, cond::persistency::TAG_LOG::EVENT_TIME.name, cond::persistency::TAG_LOG::USER_NAME.name, cond::persistency::TAG_LOG::HOST_NAME.name, cond::persistency::TAG_LOG::COMMAND.name, cond::persistency::TAG_LOG::ACTION.name, cond::persistency::TAG_LOG::USER_TEXT.name, plotscripts.SawTeethFunction.name, crabFunctions.CrabTask.name, hTMaxCell.name, and BeautifulSoup.Tag.name.
Referenced by SequenceTypes._UnarySequenceOperator.__ne__().
def BeautifulSoup.Tag.__getattr__ | ( | self, | |
tag | |||
) |
Definition at line 661 of file BeautifulSoup.py.
References __class__< T >.__class__(), pat::__class__.__class__(), StringMap.find(), pos::PixelConfig.find(), ESCondObjectContainer< T >.find(), AlignableMap.find(), HcalIndexLookup.find(), Book.find(), DTBufferTree< Key, Content >.find(), cms::DDAlgoArguments.find(), EcalCondObjectContainer< T >.find(), EcalCondTowerObjectContainer< T >.find(), EcalContainer< DetId, T >.find(), LutXml.find(), HBHELinearMap.find(), cond::persistency::RunInfoProxy.find(), cond::SmallWORMDict.find(), edm::TriggerResults.find(), l1t::IntervalManager< TimeType, PayloadType >.find(), cond::persistency::IOVProxy.find(), edm::MapOfVectors< K, T >.find(), edm::SortedCollection< T, SORT >.find(), edm::DataFrameContainer.find(), edm::DetSetVector< T >.find(), data_sources.json_data_node.find(), edm::AssociationMap< Tag >.find(), edm::DetSetRefVector< T, C >.find(), edm::Trie< T >.find(), cmdline::CmdLine.find(), PhysicsTools::Calibration::MVAComputerContainer.find(), edmNew::DetSetVector< T >.find(), and BeautifulSoup.Tag.find().
Referenced by VarParsing.VarParsing.setType().
def BeautifulSoup.Tag.__getitem__ | ( | self, | |
key | |||
) |
tag[key] returns the value of the 'key' attribute for the tag, and throws an exception if it's not there.
Definition at line 610 of file BeautifulSoup.py.
References BeautifulSoup.Tag._getAttrMap().
def BeautifulSoup.Tag.__iter__ | ( | self | ) |
def BeautifulSoup.Tag.__len__ | ( | self | ) |
def BeautifulSoup.Tag.__ne__ | ( | self, | |
other | |||
) |
Returns true iff this tag is not identical to the other tag, as defined in __eq__.
Definition at line 684 of file BeautifulSoup.py.
def BeautifulSoup.Tag.__nonzero__ | ( | self | ) |
def BeautifulSoup.Tag.__repr__ | ( | self, | |
encoding = DEFAULT_OUTPUT_ENCODING |
|||
) |
Renders this tag as a string.
Definition at line 689 of file BeautifulSoup.py.
References TkAlExceptions.AllInOneError.__str__(), GlobalTag.GlobalTagBuilderException.__str__(), MatrixReader.MatrixException.__str__(), errors.ServerNotFoundException.__str__(), errors.NoMoreRetriesException.__str__(), data_sources.node.__str__(), tier0.ResponseError.__str__(), data_sources.json_file.__str__(), python.Handle.__str__(), data_sources.json_data_node.__str__(), MatrixUtil.InputInfo.__str__(), svgfig.SVG.__str__(), BeautifulSoup.NavigableString.__str__(), BeautifulSoup.CData.__str__(), BeautifulSoup.ProcessingInstruction.__str__(), BeautifulSoup.Comment.__str__(), BeautifulSoup.Declaration.__str__(), and BeautifulSoup.Tag.__str__().
def BeautifulSoup.Tag.__setitem__ | ( | self, | |
key, | |||
value | |||
) |
Setting tag[key] sets the value of the 'key' attribute for the tag.
Definition at line 630 of file BeautifulSoup.py.
References BeautifulSoup.Tag._getAttrMap(), BeautifulSoup.Tag.attrMap, and BeautifulSoup.Tag.attrs.
def BeautifulSoup.Tag.__str__ | ( | self, | |
encoding = DEFAULT_OUTPUT_ENCODING , |
|||
prettyPrint = False , |
|||
indentLevel = 0 |
|||
) |
Returns a string or Unicode representation of this tag and its contents. To get Unicode, pass None for encoding. NOTE: since Python's HTML parser consumes whitespace, this method is not certain to reproduce the whitespace present in the original string.
Definition at line 697 of file BeautifulSoup.py.
References BeautifulSoup.PageElement._sub_entity(), BeautifulSoup.Tag.attrs, BeautifulSoup.Tag.containsSubstitutions, BeautifulSoup.Tag.hidden, BeautifulSoup.Tag.isSelfClosing, join(), AlignableObjectId::entry.name, cond::persistency::TAG::NAME.name, TmModule.name, cond::persistency::GLOBAL_TAG::NAME.name, cond::persistency::RUN_INFO::RUN_NUMBER.name, cond::persistency::TAG::TIME_TYPE.name, cond::persistency::GLOBAL_TAG::VALIDITY.name, cond::persistency::RUN_INFO::START_TIME.name, cond::persistency::TAG::OBJECT_TYPE.name, cond::persistency::GLOBAL_TAG::DESCRIPTION.name, cond::persistency::RUN_INFO::END_TIME.name, cond::persistency::TAG::SYNCHRONIZATION.name, cond::persistency::GLOBAL_TAG::RELEASE.name, cond::persistency::TAG::END_OF_VALIDITY.name, cond::persistency::GLOBAL_TAG::SNAPSHOT_TIME.name, cond::persistency::TAG::DESCRIPTION.name, cond::persistency::GTEditorData.name, cond::persistency::GLOBAL_TAG::INSERTION_TIME.name, cond::persistency::TAG::LAST_VALIDATED_TIME.name, cond::persistency::TAG::INSERTION_TIME.name, nanoaod::MergeableCounterTable::SingleColumn< T >.name, cond::persistency::TAG::MODIFICATION_TIME.name, preexistingValidation.PreexistingValidation.name, PixelDCSObject< T >::Item.name, cond::persistency::GTProxyData.name, lumi::TriggerInfo.name, cond::TimeTypeSpecs.name, alignment.Alignment.name, PixelEndcapLinkMaker::Item.name, cond::persistency::GLOBAL_TAG_MAP::GLOBAL_TAG_NAME.name, PixelBarrelLinkMaker::Item.name, cond::persistency::GLOBAL_TAG_MAP::RECORD.name, cond::persistency::GLOBAL_TAG_MAP::LABEL.name, cond::persistency::GLOBAL_TAG_MAP::TAG_NAME.name, ExpressionHisto< T >.name, MEtoEDM< T >::MEtoEDMObject.name, cms::DDAlgoArguments.name, XMLProcessor::_loaderBaseConfig.name, cond::persistency::PAYLOAD::HASH.name, cond::persistency::PAYLOAD::OBJECT_TYPE.name, cond::persistency::PAYLOAD::DATA.name, cond::persistency::PAYLOAD::STREAMER_INFO.name, cond::persistency::PAYLOAD::VERSION.name, genericValidation.GenericValidation.name, cond::persistency::PAYLOAD::INSERTION_TIME.name, nanoaod::MergeableCounterTable::VectorColumn< T >.name, h4DSegm.name, PhysicsTools::Calibration::Variable.name, cond::TagInfo_t.name, TrackerSectorStruct.name, cond::persistency::IOV::TAG_NAME.name, cond::persistency::IOV::SINCE.name, Mapper::definition< ScannerT >.name, cond::persistency::IOV::PAYLOAD_HASH.name, classes.MonitorData.name, cond::persistency::IOV::INSERTION_TIME.name, MuonGeometrySanityCheckPoint.name, classes.OutputData.name, h2DSegm.name, nanoaod::FlatTable::Column.name, geometry.Structure.name, cond::persistency::TAG_LOG::TAG_NAME.name, cond::persistency::TAG_LOG::EVENT_TIME.name, cond::persistency::TAG_LOG::USER_NAME.name, cond::persistency::TAG_LOG::HOST_NAME.name, cond::persistency::TAG_LOG::COMMAND.name, cond::persistency::TAG_LOG::ACTION.name, cond::persistency::TAG_LOG::USER_TEXT.name, plotscripts.SawTeethFunction.name, crabFunctions.CrabTask.name, hTMaxCell.name, BeautifulSoup.Tag.name, BeautifulSoup.PageElement.nextSibling, BeautifulSoup.Tag.renderContents(), BeautifulSoup.PageElement.substituteEncoding(), and BeautifulSoup.PageElement.toEncoding().
Referenced by edmStreamStallGrapher.Point.__repr__(), BeautifulSoup.Tag.__repr__(), BeautifulSoup.Tag.__unicode__(), and BeautifulSoup.Tag.prettify().
def BeautifulSoup.Tag.__unicode__ | ( | self | ) |
Definition at line 693 of file BeautifulSoup.py.
References TkAlExceptions.AllInOneError.__str__(), GlobalTag.GlobalTagBuilderException.__str__(), MatrixReader.MatrixException.__str__(), errors.ServerNotFoundException.__str__(), errors.NoMoreRetriesException.__str__(), data_sources.node.__str__(), tier0.ResponseError.__str__(), data_sources.json_file.__str__(), python.Handle.__str__(), data_sources.json_data_node.__str__(), MatrixUtil.InputInfo.__str__(), svgfig.SVG.__str__(), BeautifulSoup.NavigableString.__str__(), BeautifulSoup.CData.__str__(), BeautifulSoup.ProcessingInstruction.__str__(), BeautifulSoup.Comment.__str__(), BeautifulSoup.Declaration.__str__(), and BeautifulSoup.Tag.__str__().
|
private |
Used in a call to re.sub to replace HTML, XML, and numeric entities with the appropriate Unicode characters. If HTML entities are being converted, any unrecognized entities are escaped.
Definition at line 510 of file BeautifulSoup.py.
References BeautifulSoup.Tag.__init__(), BeautifulSoup.Tag.convertHTMLEntities, BeautifulSoup.Tag.convertXMLEntities, BeautifulSoup.Tag.escapeUnrecognizedEntities, and createfilelist.int.
|
private |
Initializes a map representation of this tag's attributes, if not already initialized.
Definition at line 864 of file BeautifulSoup.py.
Referenced by BeautifulSoup.Tag.__delitem__(), BeautifulSoup.Tag.__getitem__(), BeautifulSoup.Tag.__setitem__(), BeautifulSoup.Tag.get(), and BeautifulSoup.Tag.has_key().
def BeautifulSoup.Tag.childGenerator | ( | self | ) |
Definition at line 874 of file BeautifulSoup.py.
References BeautifulSoup.Tag.contents.
Referenced by BeautifulSoup.Tag.findAll().
def BeautifulSoup.Tag.clear | ( | self | ) |
Extract all children.
Definition at line 596 of file BeautifulSoup.py.
References BeautifulSoup.Tag.contents.
Referenced by Vispa.Views.WidgetView.WidgetView.closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView.closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm.findUsingFindDialog(), Vispa.Views.LineDecayView.LineDecayView.setDataObjects(), Vispa.Views.WidgetView.WidgetView.setDataObjects(), BeautifulSoup.Tag.setString(), Vispa.Views.TreeView.TreeView.updateContent(), Vispa.Views.TableView.TableView.updateContent(), Vispa.Views.BoxDecayView.BoxDecayView.updateContent(), and Vispa.Views.PropertyView.PropertyView.updateContent().
def BeautifulSoup.Tag.decompose | ( | self | ) |
Recursively destroys the contents of this tree.
Definition at line 781 of file BeautifulSoup.py.
References BeautifulSoup.Tag.contents, and BeautifulSoup.PageElement.extract().
Definition at line 856 of file BeautifulSoup.py.
References BeautifulSoup.Tag.findAll().
Return only the first child of this Tag matching the given criteria.
Definition at line 825 of file BeautifulSoup.py.
References BeautifulSoup.Tag.findAll().
Referenced by BeautifulSoup.Tag.__getattr__(), BeautifulSoup.Tag.firstText(), and BeautifulSoup.Tag.renderContents().
def BeautifulSoup.Tag.findAll | ( | self, | |
name = None , |
|||
attrs = {} , |
|||
recursive = True , |
|||
text = None , |
|||
limit = None , |
|||
kwargs | |||
) |
Extracts a list of Tag objects that match the given criteria. You can specify the name of the Tag and any attributes you want the Tag to have. The value of a key-value pair in the 'attrs' map can be a string, a list of strings, a regular expression object, or a callable that takes a string and returns whether or not the string matches for some custom definition of 'matches'. The same is true of the tag name.
Definition at line 836 of file BeautifulSoup.py.
References BeautifulSoup.PageElement._findAll(), BeautifulSoup.Tag.childGenerator(), and BeautifulSoup.Tag.recursiveChildGenerator().
Referenced by BeautifulSoup.Tag.__call__(), BeautifulSoup.Tag.fetchText(), and BeautifulSoup.Tag.find().
Definition at line 859 of file BeautifulSoup.py.
References StringMap.find(), pos::PixelConfig.find(), ESCondObjectContainer< T >.find(), AlignableMap.find(), HcalIndexLookup.find(), Book.find(), DTBufferTree< Key, Content >.find(), cms::DDAlgoArguments.find(), EcalCondObjectContainer< T >.find(), EcalCondTowerObjectContainer< T >.find(), EcalContainer< DetId, T >.find(), LutXml.find(), HBHELinearMap.find(), cond::persistency::RunInfoProxy.find(), cond::SmallWORMDict.find(), edm::TriggerResults.find(), l1t::IntervalManager< TimeType, PayloadType >.find(), cond::persistency::IOVProxy.find(), edm::MapOfVectors< K, T >.find(), edm::SortedCollection< T, SORT >.find(), edm::DataFrameContainer.find(), edm::DetSetVector< T >.find(), data_sources.json_data_node.find(), edm::AssociationMap< Tag >.find(), edm::DetSetRefVector< T, C >.find(), edm::Trie< T >.find(), cmdline::CmdLine.find(), PhysicsTools::Calibration::MVAComputerContainer.find(), edmNew::DetSetVector< T >.find(), and BeautifulSoup.Tag.find().
Returns the value of the 'key' attribute for the tag, or the value given for 'default' if it doesn't have that attribute.
Definition at line 590 of file BeautifulSoup.py.
References BeautifulSoup.Tag._getAttrMap().
Referenced by Options.Options.__getitem__(), betterConfigParser.BetterConfigParser.__updateDict(), util.rrapi.RRApi.columns(), rrapi.RRApi.columns(), util.rrapi.RRApi.count(), rrapi.RRApi.count(), rrapi.RRApi.data(), util.rrapi.RRApi.data(), betterConfigParser.BetterConfigParser.getCompares(), betterConfigParser.BetterConfigParser.getGeneral(), betterConfigParser.BetterConfigParser.getResultingSection(), rrapi.RRApi.report(), util.rrapi.RRApi.report(), rrapi.RRApi.reports(), util.rrapi.RRApi.reports(), util.rrapi.RRApi.tables(), rrapi.RRApi.tables(), rrapi.RRApi.tags(), util.rrapi.RRApi.tags(), rrapi.RRApi.templates(), util.rrapi.RRApi.templates(), util.rrapi.RRApi.workspaces(), and rrapi.RRApi.workspaces().
def BeautifulSoup.Tag.getString | ( | self | ) |
def BeautifulSoup.Tag.getText | ( | self, | |
separator = u"" |
|||
) |
Definition at line 576 of file BeautifulSoup.py.
References BeautifulSoup.PageElement._lastRecursiveChild(), and BeautifulSoup.Tag.contents.
def BeautifulSoup.Tag.has_key | ( | self, | |
key | |||
) |
def BeautifulSoup.Tag.index | ( | self, | |
element | |||
) |
Definition at line 601 of file BeautifulSoup.py.
References BeautifulSoup.Tag.contents.
Referenced by BeautifulSoup.PageElement.insert().
def BeautifulSoup.Tag.prettify | ( | self, | |
encoding = DEFAULT_OUTPUT_ENCODING |
|||
) |
Definition at line 798 of file BeautifulSoup.py.
References TkAlExceptions.AllInOneError.__str__(), GlobalTag.GlobalTagBuilderException.__str__(), MatrixReader.MatrixException.__str__(), errors.ServerNotFoundException.__str__(), errors.NoMoreRetriesException.__str__(), data_sources.node.__str__(), tier0.ResponseError.__str__(), data_sources.json_file.__str__(), python.Handle.__str__(), data_sources.json_data_node.__str__(), MatrixUtil.InputInfo.__str__(), svgfig.SVG.__str__(), BeautifulSoup.NavigableString.__str__(), BeautifulSoup.CData.__str__(), BeautifulSoup.ProcessingInstruction.__str__(), BeautifulSoup.Comment.__str__(), BeautifulSoup.Declaration.__str__(), BeautifulSoup.Tag.__str__(), and BeautifulSoup.Tag.renderContents().
def BeautifulSoup.Tag.recursiveChildGenerator | ( | self | ) |
Definition at line 878 of file BeautifulSoup.py.
References BeautifulSoup.PageElement._lastRecursiveChild(), and BeautifulSoup.Tag.contents.
Referenced by BeautifulSoup.Tag.findAll().
def BeautifulSoup.Tag.renderContents | ( | self, | |
encoding = DEFAULT_OUTPUT_ENCODING , |
|||
prettyPrint = False , |
|||
indentLevel = 0 |
|||
) |
Renders the contents of this tag as a string in the given encoding. If encoding is None, returns a Unicode string..
Definition at line 802 of file BeautifulSoup.py.
References BeautifulSoup.Tag.find(), and join().
Referenced by BeautifulSoup.Tag.__str__(), and BeautifulSoup.Tag.prettify().
def BeautifulSoup.Tag.setString | ( | self, | |
string | |||
) |
Replace the contents of the tag with a string
Definition at line 569 of file BeautifulSoup.py.
References reco::ClusterCompatibility.append(), svgfig.SVG.append(), BeautifulSoup.PageElement.append(), ReducedTrackerTreeVariables.clear(), EopVariables.clear(), CastorCalibrationsSet.clear(), TkOffTreeVariables.clear(), StringMap.clear(), TrackerTreeVariables.clear(), AlignmentErrors.clear(), AlignmentErrorsExtended.clear(), Alignments.clear(), NumberOfDevices.clear(), CastorCalibrationWidthsSet.clear(), edm::reftobase::RefVectorHolderBase.clear(), OOTPileupCorrectionColl.clear(), HcalCalibrationsSet.clear(), HcalCalibrationWidthsSet.clear(), StorableDoubleMap< T >.clear(), EcalCondObjectContainer< T >.clear(), edm::BranchChildren.clear(), EcalContainer< DetId, T >.clear(), edm::reftobase::RefVectorHolder< REFV >.clear(), edm::reftobase::BaseVectorHolder< T >.clear(), CSCALCTDigi.clear(), HcalIndexLookup.clear(), HcalItemColl< Item >.clear(), CSCCLCTPreTriggerDigi.clear(), CSCCLCTDigi.clear(), helper::ClusterStorer.clear(), edm::reftobase::IndirectVectorHolder< T >.clear(), ClusterCollectionFP420.clear(), RecoCollectionFP420.clear(), TrackCollectionFP420.clear(), DigiCollectionFP420.clear(), KDTreeLinkerAlgo< DATA >.clear(), CSCCorrelatedLCTDigi.clear(), reco::PattRecoTree< ScaleType, Cluster >.clear(), ClhepEvaluator.clear(), OpticalAlignMeasurementInfo.clear(), SiPixelPerformanceSummary.clear(), SegmentToTrackAssociator.clear(), pos::PixelROCStatus.clear(), edm::reftobase::VectorHolder< T, REFV >.clear(), HBHEChannelInfo.clear(), edm::OrphanHandleBase.clear(), AlignmentParameterSelector.clear(), ME0TriggerDigi.clear(), HcalItemArrayColl< Item, N >.clear(), edm::ParentageRegistry.clear(), HLTPerformanceInfo::Module.clear(), CSCTriggerContainer< T >.clear(), edm::RefToBaseVector< T >.clear(), edm::StreamedProduct.clear(), DTBufferTree< Key, Content >.clear(), DrawIteration.clear(), edm::ThinnedAssociationsHelper.clear(), KDTreeNodes< DATA >.clear(), cond::Iov_t.clear(), OpticalAlignParam.clear(), edm::HandleBase.clear(), SiStripQuality.clear(), edm::TrieFactory< T >.clear(), SiStripDelay.clear(), DDI::Store< N, I, K >.clear(), cond::Tag_t.clear(), TrackerDetToDTCELinkCablingMap.clear(), edm::Association< C >.clear(), SiPixelCalibDigiProducer.clear(), edm::DetSet< T >.clear(), edm::ProcessHistory.clear(), MuonResidualsFromTrack.clear(), CTPPSRPAlignmentCorrectionsData.clear(), edm::PtrVectorBase.clear(), HLTPerformanceInfo::Path.clear(), l1t::IntervalManager< TimeType, PayloadType >.clear(), BXVector< T >.clear(), edm::AssociationVector< KeyRefProd, CVal, KeyRef, SizeType, KeyReferenceHelper >.clear(), DTCCBConfig.clear(), OpticalAlignInfo.clear(), StudyHLT.clear(), DDXMLElement.clear(), FQueue< T >.clear(), DTLVStatus.clear(), edm::BasicHandle.clear(), DTT0.clear(), edm::RefVectorBase< KEY >.clear(), DTTPGParameters.clear(), DTRangeT0.clear(), AlignmentParameterSelector::PXBDetIdRanges.clear(), DTHVStatus.clear(), edm::TrieNode< T >.clear(), DTReadOutMapping.clear(), edm::OwnArray< T, MAX_SIZE, P >.clear(), reco::FlavorHistoryEvent.clear(), AlignmentParameterSelector::PXFDetIdRanges.clear(), edm::AssociationMap< Tag >.clear(), edm::RefVector< C, T, F >.clear(), DTPerformance.clear(), DTTtrig.clear(), AlignmentParameterSelector::TIBDetIdRanges.clear(), DTStatusFlag.clear(), HLTPerformanceInfo.clear(), edm::OwnVector< T, P >.clear(), edm::ValueMap< T >.clear(), DTDeadFlag.clear(), AlignmentParameterSelector::TIDDetIdRanges.clear(), AlignmentParameterSelector::TOBDetIdRanges.clear(), DTMtime.clear(), pos::PixelFEDCard.clear(), math::Graph< N, E >.clear(), AlignmentParameterSelector::TECDetIdRanges.clear(), edm::Trie< T >.clear(), reco::HitPattern.clear(), and BeautifulSoup.Tag.clear().
BeautifulSoup.Tag.attrMap |
Definition at line 868 of file BeautifulSoup.py.
Referenced by BeautifulSoup.Tag.__delitem__(), and BeautifulSoup.Tag.__setitem__().
BeautifulSoup.Tag.attrs |
Definition at line 548 of file BeautifulSoup.py.
Referenced by BeautifulSoup.Tag.__delitem__(), BeautifulSoup.Tag.__eq__(), BeautifulSoup.Tag.__setitem__(), BeautifulSoup.Tag.__str__(), and BeautifulSoup.SoupStrainer.__str__().
BeautifulSoup.Tag.containsSubstitutions |
Definition at line 552 of file BeautifulSoup.py.
Referenced by BeautifulSoup.Tag.__str__().
BeautifulSoup.Tag.contents |
Definition at line 549 of file BeautifulSoup.py.
Referenced by BeautifulSoup.Tag.__contains__(), BeautifulSoup.Tag.__eq__(), BeautifulSoup.Tag.__iter__(), BeautifulSoup.Tag.__len__(), BeautifulSoup.PageElement.append(), BeautifulSoup.Tag.childGenerator(), BeautifulSoup.Tag.clear(), BeautifulSoup.Tag.decompose(), BeautifulSoup.Tag.getString(), BeautifulSoup.Tag.getText(), BeautifulSoup.Tag.index(), BeautifulSoup.PageElement.insert(), BeautifulSoup.Tag.recursiveChildGenerator(), BeautifulSoup.PageElement.replaceWithChildren(), and dqm_interfaces.DirFetcher.run().
BeautifulSoup.Tag.convertHTMLEntities |
Definition at line 553 of file BeautifulSoup.py.
Referenced by BeautifulSoup.Tag._convertEntities(), and BeautifulSoup.BeautifulStoneSoup.handle_entityref().
BeautifulSoup.Tag.convertXMLEntities |
Definition at line 554 of file BeautifulSoup.py.
Referenced by BeautifulSoup.Tag._convertEntities(), and BeautifulSoup.BeautifulStoneSoup.handle_entityref().
BeautifulSoup.Tag.escapeUnrecognizedEntities |
Definition at line 555 of file BeautifulSoup.py.
Referenced by BeautifulSoup.Tag._convertEntities().
BeautifulSoup.Tag.hidden |
Definition at line 551 of file BeautifulSoup.py.
Referenced by BeautifulSoup.Tag.__str__().
BeautifulSoup.Tag.isSelfClosing |
Definition at line 542 of file BeautifulSoup.py.
Referenced by BeautifulSoup.Tag.__str__().
BeautifulSoup.Tag.name |
Definition at line 543 of file BeautifulSoup.py.
Referenced by ElectronMVAID.ElectronMVAID.__call__(), FWLite.ElectronMVAID.__call__(), dirstructure.Directory.__create_pie_image(), DisplayManager.DisplayManager.__del__(), dqm_interfaces.DirID.__eq__(), BeautifulSoup.Tag.__eq__(), dirstructure.Directory.__get_full_path(), dirstructure.Comparison.__get_img_name(), dataset.Dataset.__getDataType(), dataset.Dataset.__getFileInfoList(), dirstructure.Comparison.__make_image(), core.autovars.NTupleVariable.__repr__(), core.autovars.NTupleObjectType.__repr__(), core.autovars.NTupleObject.__repr__(), core.autovars.NTupleCollection.__repr__(), dirstructure.Directory.__repr__(), dqm_interfaces.DirID.__repr__(), dirstructure.Comparison.__repr__(), config.Service.__setattr__(), config.CFG.__str__(), counter.Counter.__str__(), average.Average.__str__(), BeautifulSoup.Tag.__str__(), BeautifulSoup.SoupStrainer.__str__(), FWLite.WorkingPoints._reformat_cut_definitions(), core.autovars.NTupleObjectType.addSubObjects(), core.autovars.NTupleObjectType.addVariables(), core.autovars.NTupleObjectType.allVars(), dirstructure.Directory.calcStats(), validation.Sample.digest(), python.rootplot.utilities.Hist.divide(), python.rootplot.utilities.Hist.divide_wilson(), DisplayManager.DisplayManager.Draw(), TreeCrawler.Package.dump(), core.autovars.NTupleVariable.fillBranch(), core.autovars.NTupleObject.fillBranches(), core.autovars.NTupleCollection.fillBranchesScalar(), core.autovars.NTupleCollection.fillBranchesVector(), core.autovars.NTupleCollection.get_cpp_declaration(), core.autovars.NTupleCollection.get_cpp_wrapper_class(), core.autovars.NTupleCollection.get_py_wrapper_class(), utils.StatisticalTest.get_status(), production_tasks.Task.getname(), dataset.CMSDataset.getPrimaryDatasetEntries(), dataset.PrivateDataset.getPrimaryDatasetEntries(), VIDSelectorBase.VIDSelectorBase.initialize(), personalPlayback.Applet.log(), core.autovars.NTupleVariable.makeBranch(), core.autovars.NTupleObject.makeBranches(), core.autovars.NTupleCollection.makeBranchesScalar(), core.autovars.NTupleCollection.makeBranchesVector(), dirstructure.Directory.print_report(), dataset.BaseDataset.printInfo(), dataset.Dataset.printInfo(), production_tasks.MonitorJobs.run(), BeautifulSoup.SoupStrainer.searchTag(), python.rootplot.utilities.Hist.TGraph(), python.rootplot.utilities.Hist.TH1F(), Vispa.Views.PropertyView.Property.valueChanged(), counter.Counter.write(), and average.Average.write().
BeautifulSoup.Tag.parserClass |
Definition at line 541 of file BeautifulSoup.py.
Definition at line 574 of file BeautifulSoup.py.
|
static |
Definition at line 588 of file BeautifulSoup.py.
Referenced by Vispa.Views.TableView.TableWidgetItem.__lt__(), BeautifulSoup.SoupStrainer.__str__(), and BeautifulSoup.SoupStrainer.search().