ParseOracleDocMetadata#

class langchain_community.document_loaders.oracleai.ParseOracleDocMetadata[source]#

Parse Oracle doc metadata…

Initialize and reset this instance.

If convert_charrefs is True (the default), all character references are automatically converted to the corresponding Unicode characters.

Attributes

CDATA_CONTENT_ELEMENTS

Methods

__init__()

Initialize and reset this instance.

check_for_whole_start_tag(i)

clear_cdata_mode()

close()

Handle any buffered data.

feed(data)

Feed data to the parser.

get_metadata()

get_starttag_text()

Return full source of start tag: '<...>'.

getpos()

Return current line number and offset.

goahead(end)

handle_charref(name)

handle_comment(data)

handle_data(data)

handle_decl(decl)

handle_endtag(tag)

handle_entityref(name)

handle_pi(data)

handle_startendtag(tag, attrs)

handle_starttag(tag, attrs)

parse_bogus_comment(i[, report])

parse_comment(i[, report])

parse_declaration(i)

parse_endtag(i)

parse_html_declaration(i)

parse_marked_section(i[, report])

parse_pi(i)

parse_starttag(i)

reset()

Reset this instance.

set_cdata_mode(elem)

unknown_decl(data)

updatepos(i, j)

__init__() None[source]#

Initialize and reset this instance.

If convert_charrefs is True (the default), all character references are automatically converted to the corresponding Unicode characters.

Return type:

None

check_for_whole_start_tag(i)#
clear_cdata_mode()#
close()#

Handle any buffered data.

feed(data)#

Feed data to the parser.

Call this as often as you want, with as little or as much text as you want (may include ‘n’).

get_metadata() Dict[str, Any][source]#
Return type:

Dict[str, Any]

get_starttag_text()#

Return full source of start tag: ‘<…>’.

getpos()#

Return current line number and offset.

goahead(end)#
handle_charref(name)#
handle_comment(data)#
handle_data(data: str) None[source]#
Parameters:

data (str) –

Return type:

None

handle_decl(decl)#
handle_endtag(tag)#
handle_entityref(name)#
handle_pi(data)#
handle_startendtag(tag, attrs)#
handle_starttag(tag: str, attrs: List[Tuple[str, str | None]]) None[source]#
Parameters:
  • tag (str) –

  • attrs (List[Tuple[str, str | None]]) –

Return type:

None

parse_bogus_comment(i, report=1)#
parse_comment(i, report=1)#
parse_declaration(i)#
parse_endtag(i)#
parse_html_declaration(i)#
parse_marked_section(i, report=1)#
parse_pi(i)#
parse_starttag(i)#
reset()#

Reset this instance. Loses all unprocessed data.

set_cdata_mode(elem)#
unknown_decl(data)#
updatepos(i, j)#