Meta::Lang::Docb::Params - supply parameters about DocBook usage.


Meta documentation Contained in the Meta distribution.

Index


Code Index:

NAME

Top

Meta::Lang::Docb::Params - supply parameters about DocBook usage.

COPYRIGHT

Top

LICENSE

Top

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, USA.

DETAILS

Top

	MANIFEST: Params.pm
	PROJECT: meta
	VERSION: 0.17

SYNOPSIS

Top

	package foo;
	use Meta::Lang::Docb::Params qw();
	my($object)=Meta::Lang::Docb::Params->new();
	my($result)=$object->method();

DESCRIPTION

Top

This module will supply you with parameters regarding DocBook issues. currently supported are: 0. encoding. 1. public id. 2. filename.

FUNCTIONS

Top

	get_encoding()
	get_public()
	get_system()
	get_xsystem()
	get_comment()
	get_extra()
	TEST($)

FUNCTION DOCUMENTATION

Top

get_encoding()

This will supply you with the default encoding that we use.

get_public()

This method will give you the public id of the document dtd we are using.

get_system()

This method will give you the file name of the document dtd we are using.

get_xsystem()

This method will give you the file name of the document XML dtd we are using.

get_comment()

This method will give you a standard comment to put on all docbook files.

get_extra()

This method will give you the extra path where to look for SGML data.

TEST($)

Test suite for this module.

SUPER CLASSES

Top

None.

BUGS

Top

None.

AUTHOR

Top

	Name: Mark Veltzer
	Email: mailto:veltzer@cpan.org
	WWW: http://www.veltzer.org
	CPAN id: VELTZER

HISTORY

Top

	0.00 MV get graph stuff going
	0.01 MV more perl quality
	0.02 MV more perl code quality
	0.03 MV revision change
	0.04 MV cook updates
	0.05 MV languages.pl test online
	0.06 MV history change
	0.07 MV perl packaging
	0.08 MV md5 project
	0.09 MV database
	0.10 MV perl module versions in files
	0.11 MV movies and small fixes
	0.12 MV thumbnail user interface
	0.13 MV more thumbnail issues
	0.14 MV website construction
	0.15 MV web site automation
	0.16 MV SEE ALSO section fix
	0.17 MV md5 issues

SEE ALSO

Top

strict(3)

TODO

Top

-read all the stuff here from some xml configuration file.


Meta documentation Contained in the Meta distribution.

#!/bin/echo This is a perl module and should not be run

package Meta::Lang::Docb::Params;

use strict qw(vars refs subs);

our($VERSION,@ISA);
$VERSION="0.17";
@ISA=qw();

#sub get_encoding();
#sub get_public();
#sub get_system();
#sub get_xsystem();
#sub get_comment();
#sub get_extra();
#sub TEST($);

#__DATA__

sub get_encoding() {
	return("ISO-8859-1");
}

sub get_public() {
	return("-//OASIS//DTD DocBook V4.1//EN");
#	return(undef);
}

sub get_system() {
	return("impo/sgml/docbook.dtd");
#	return("docbook.dtd");
#	return(undef);
}

sub get_xsystem() {
	return("docbookx.dtd");
}

sub get_comment() {
	return("Base auto generated DocBook file - DO NOT EDIT!");
}

sub get_extra() {
#	return("/usr/lib/sgml:/usr/lib/sgml/stylesheets/sgmltools");
	return("");
}

sub TEST($) {
	my($context)=@_;
	return(1);
}

1;

__END__