AdvancedHTMLParser.constants
index

Copyright (c) 2015, 2017 Tim Savannah under LGPLv3. All Rights Reserved.
 
See LICENSE (https://gnu.org/licenses/lgpl-3.0.txt) for more information.
 
 
Constants in AdvancedHTMLParser

 
Classes
       
__builtin__.object
NOT_PROVIDED_TYPE

 
class NOT_PROVIDED_TYPE(__builtin__.object)
    NOT_PROVIDED_TYPE - A type for a singleton which is meant to mean "Argumnent not provided"
 
    (since None, empty string, etc are legitimate possible values
 
  Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        ALL_JAVASCRIPT_EVENT_ATTRIBUTES = set(['onafterprint', 'onbeforeprint', 'onbeforeunload', 'onblur', 'onchange', 'onclick', ...])
COMMON_INPUT_ATTRS = set(['checked', 'onchange', 'oncontextmenu', 'oninput', 'oninvalid', 'onreset', ...])
COMMON_JAVASCRIPT_ATTRIBUTES = set(['onblur', 'onchange', 'onclick', 'oncontextmenu', 'oncopy', 'oncut', ...])
EMPTY_IS_INVALID = <AdvancedHTMLParser.conversions._EMPTY_IS_INVALID_TYPE object>
IMPLICIT_SELF_CLOSING_TAGS = set(['br', 'hr', 'img', 'input', 'link', 'meta'])
INVISIBLE_ROOT_TAG = 'xxxblank'
INVISIBLE_ROOT_TAG_END = '</xxxblank>'
INVISIBLE_ROOT_TAG_START = '<xxxblank>'
IndexSizeError = IndexSizeErrorException('Index or size is negative or greater than the allowed amount',)
NOT_PROVIDED = <AdvancedHTMLParser.constants.NOT_PROVIDED_TYPE object>
POSSIBLE_VALUES_CROSS_ORIGIN = ('use-credentials', 'anonymous')
POSSIBLE_VALUES_FORM_METHOD = ('get', 'post')
POSSIBLE_VALUES_ON_OFF = ('on', 'off')
POSSIBLE_VALUES_TRACK__KIND = ('captions', 'chapters', 'descriptions', 'metadata', 'subtitles')
POSSIBLE_VALUES_YES_NO = ('yes', 'no')
PREFORMATTED_TAGS = set(['code', 'pre'])
PRESERVE_CONTENTS_TAGS = set(['code', 'pre', 'script', 'style'])
TAG_ITEM_ATTRIBUTES_SPECIAL_VALIDATION = {'maxLength': <function _special_value_maxLength>}
TAG_ITEM_ATTRIBUTES_SPECIAL_VALUES = {'autocomplete': <function _special_value_autocomplete>, 'colSpan': <function <lambda>>, 'cols': <function _special_value_cols>, 'crossOrigin': <function <lambda>>, 'form': <function <lambda>>, 'hspace': <function <lambda>>, 'kind': <function <lambda>>, 'maxLength': <function _special_value_maxLength>, 'method': <function <lambda>>, 'rowSpan': <function <lambda>>, ...}
TAG_ITEM_ATTRIBUTE_LINKS = set(['align', 'className', 'dir', 'hidden', 'id', 'lang', ...])
TAG_ITEM_BINARY_ATTRIBUTES = set(['async', 'autofocus', 'autoplay', 'checked', 'compact', 'controls', ...])
TAG_ITEM_BINARY_ATTRIBUTES_STRING_ATTR = set(['spellcheck'])
TAG_ITEM_CHANGE_NAME_FROM_ATTR = {'accept-charset': 'acceptCharset', 'cellpadding': 'cellPadding', 'cellspacing': 'cellSpacing', 'class': 'className', 'codebase': 'codeBase', 'codetype': 'codeType', 'colspan': 'colSpan', 'crossorigin': 'crossOrigin', 'datetime': 'dateTime', 'dirname': 'dir', ...}
TAG_ITEM_CHANGE_NAME_FROM_ITEM = {'acceptCharset': 'accept-charset', 'cellPadding': 'cellpadding', 'cellSpacing': 'cellspacing', 'className': 'class', 'codeBase': 'codebase', 'codeType': 'codetype', 'colSpan': 'colspan', 'crossOrigin': 'crossorigin', 'dateTime': 'datetime', 'dir': 'dirname', ...}
TAG_NAMES_TO_ADDITIONAL_ATTRIBUTES = {'a': set(['href', 'target']), 'area': set(['alt', 'coords', 'download', 'href', 'rel', 'shape', ...]), 'audio': set(['autoplay', 'controls', 'loop', 'muted', 'preload', 'src']), 'base': set(['href', 'target']), 'basefont': set(['color', 'face', 'size']), 'bdo': set(['dir']), 'blockquote': set(['cite']), 'body': set(['alink', 'background', 'bgcolor', 'link', 'onafterprint', 'onbeforeprint', ...]), 'button': set(['autofocus', 'checked', 'disabled', 'form', 'formAction', 'formEnctype', ...]), 'canvas': set(['height', 'width']), ...}
otherInputName = 'option'
value = 'type'
values = set(['compact', 'type'])