| Class | LibXML::XML::Parser::Context |
| In: |
ext/libxml/ruby_xml_parser.c
|
| Parent: | Object |
call-seq:
context.well_formed? -> (true|false)
Determine whether this context contains well-formed XML.
Obtain the data directory associated with this context.
/*
* call-seq:
* context.data_directory -> "dir"
*
* Obtain the data directory associated with this context.
*/
VALUE
ruby_xml_parser_context_data_directory_get(VALUE self) {
Determine whether SAX-based processing is disabled in this context.
/*
* call-seq:
* context.disable_sax? -> (true|false)
*
* Determine whether SAX-based processing is disabled
* in this context.
*/
VALUE
ruby_xml_parser_context_disable_sax_q(VALUE self) {
Determine whether this is a docbook context.
/*
* call-seq:
* context.docbook? -> (true|false)
*
* Determine whether this is a docbook context.
*/
VALUE
ruby_xml_parser_context_docbook_q(VALUE self) {
Obtain the last-error number in this context.
/*
* call-seq:
* context.errno -> num
*
* Obtain the last-error number in this context.
*/
VALUE
ruby_xml_parser_context_errno_get(VALUE self) {
Determine whether this is an html context.
/*
* call-seq:
* context.html? -> (true|false)
*
* Determine whether this is an html context.
*/
VALUE
ruby_xml_parser_context_html_q(VALUE self) {
Obtain the limit on the number of IO streams opened in this context.
/*
* call-seq:
* context.max_num_streams -> num
*
* Obtain the limit on the number of IO streams opened in
* this context.
*/
VALUE
ruby_xml_parser_context_io_max_num_streams_get(VALUE self) {
Obtain the actual number of IO streams in this context.
/*
* call-seq:
* context.num_streams -> "dir"
*
* Obtain the actual number of IO streams in this
* context.
*/
VALUE
ruby_xml_parser_context_io_num_streams_get(VALUE self) {
Determine whether parsers in this context retain whitespace.
/*
* call-seq:
* context.keep_blanks? -> (true|false)
*
* Determine whether parsers in this context retain
* whitespace.
*/
VALUE
ruby_xml_parser_context_keep_blanks_q(VALUE self) {
Obtain the name table for this context.
/*
* call-seq:
* context.name_tab -> ["name", ..., "name"]
*
* Obtain the name table for this context.
*/
VALUE
ruby_xml_parser_context_name_tab_get(VALUE self) {
Obtain the number of characters in this context.
/*
* call-seq:
* context.num_chars -> num
*
* Obtain the number of characters in this context.
*/
VALUE
ruby_xml_parser_context_num_chars_get(VALUE self) {
Control whether external entity replacement is enabled in this context.
/*
* call-seq:
* context.replace_entities = true|false
*
* Control whether external entity replacement is enabled in this
* context.
*/
VALUE
ruby_xml_parser_context_replace_entities_set(VALUE self, VALUE bool) {
Determine whether external entity replacement is enabled in this context.
/*
* call-seq:
* context.replace_entities? -> (true|false)
*
* Determine whether external entity replacement is enabled in this
* context.
*/
VALUE
ruby_xml_parser_context_replace_entities_q(VALUE self) {
Determine whether this is a standalone context.
/*
* call-seq:
* context.standalone? -> (true|false)
*
* Determine whether this is a standalone context.
*/
VALUE
ruby_xml_parser_context_standalone_q(VALUE self) {
Determine whether this context maintains statistics.
/*
* call-seq:
* context.stats? -> (true|false)
*
* Determine whether this context maintains statistics.
*/
VALUE
ruby_xml_parser_context_stats_q(VALUE self) {
Determine whether this context is a subset of an external context.
/*
* call-seq:
* context.subset_external? -> (true|false)
*
* Determine whether this context is a subset of an
* external context.
*/
VALUE
ruby_xml_parser_context_subset_external_q(VALUE self) {
Obtain this context‘s external subset system identifier. (valid only if either of subset_external? or subset_internal? is true).
/*
* call-seq:
* context.subset_external_system_id -> "system_id"
*
* Obtain this context's external subset system identifier.
* (valid only if either of subset_external? or subset_internal?
* is true).
*/
VALUE
ruby_xml_parser_context_subset_external_system_id_get(VALUE self) {
Obtain this context‘s subset name (valid only if either of subset_external? or subset_internal? is true).
/*
* call-seq:
* context.subset_name -> "name"
*
* Obtain this context's subset name (valid only if
* either of subset_external? or subset_internal?
* is true).
*/
VALUE
ruby_xml_parser_context_subset_name_get(VALUE self) {
Determine whether this context is a subset of an internal context.
/*
* call-seq:
* context.subset_internal? -> (true|false)
*
* Determine whether this context is a subset of an
* internal context.
*/
VALUE
ruby_xml_parser_context_subset_internal_q(VALUE self) {
Obtain this context‘s subset name (valid only if either of subset_external? or subset_internal? is true).
/*
* call-seq:
* context.subset_name -> "name"
*
* Obtain this context's subset name (valid only if
* either of subset_external? or subset_internal?
* is true).
*/
VALUE
ruby_xml_parser_context_subset_name_get(VALUE self) {
Determine whether validation is enabled in this context.
/*
* call-seq:
* context.validate? -> (true|false)
*
* Determine whether validation is enabled in this context.
*/
VALUE
ruby_xml_parser_context_validate_q(VALUE self) {