METHODS

See METHODS in XML::Compile

Constructors

See Constructors in XML::Compile

$obj->from( $xmldata, %options )
$class->from( $xmldata, %options )
See from in Geo::GML.
$class->new( 'READER'|'WRITER'|'RW', %options )
Option Defined in Default

allow_undeclared

Geo::GML

<true>

any_element

XML::Compile::Cache

ATTEMPT

block_namespace

XML::Compile::Schema

[]

gml_version

3.2.1

hook

XML::Compile::Schema

undef

hooks

XML::Compile::Schema

[]

ignore_unused_tags

XML::Compile::Schema

<false>

key_rewrite

XML::Compile::Schema

[]

opts_readers

XML::Compile::Cache

[]

opts_rw

XML::Compile::Cache

<some>

opts_writers

XML::Compile::Cache

[]

parser_options

XML::Compile

<many>

prefixes

Geo::GML

undef

schema_dirs

XML::Compile

undef

typemap

XML::Compile::Cache

{}

version

2005

xsi_type

XML::Compile::Cache

{}

allow_undeclared => BOOLEAN
any_element => CODE|'TAKE_ALL'|'SKIP_ALL'|'ATTEMPT'|'SLOPPY'
block_namespace => NAMESPACE|TYPE|HASH|CODE|ARRAY
gml_version => VERSION
hook => $hook|ARRAY
hooks => ARRAY
ignore_unused_tags => BOOLEAN|REGEXP
key_rewrite => HASH|CODE|ARRAY
opts_readers => HASH|ARRAY-of-PAIRS
opts_rw => HASH|ARRAY-of-PAIRS
opts_writers => HASH|ARRAY-of-PAIRS
parser_options => HASH|ARRAY
prefixes => ARRAY|HASH
schema_dirs => $directory|ARRAY-OF-directories
typemap => HASH|ARRAY
version => DEFAULT
xsi_type => HASH|ARRAY

Accessors

$obj->addHook( $hook|LIST|undef )
See addHook in XML::Compile::Schema.
$obj->addHooks( $hook, [$hook, ...] )
See addHooks in XML::Compile::Schema.
$obj->addKeyRewrite( $predef|CODE|HASH, ... )
See addKeyRewrite in XML::Compile::Schema.
$obj->addSchemaDirs( @directories|$filename )
$class->addSchemaDirs( @directories|$filename )
See addSchemaDirs in XML::Compile.
$obj->addSchemas( $xml, %options )
See addSchemas in XML::Compile::Schema.
$obj->addTypemap( PAIR )
See addTypemap in XML::Compile::Schema.
$obj->addTypemaps( PAIRS )
See addTypemaps in XML::Compile::Schema.
$obj->addXsiType( [HASH|ARRAY|LIST] )
See addXsiType in XML::Compile::Cache.
$obj->allowUndeclared( [BOOLEAN] )
See allowUndeclared in XML::Compile::Cache.
$obj->anyElement( 'ATTEMPT'|'SLOPPY'|'SKIP_ALL'|'TAKE_ALL'|CODE )
See anyElement in XML::Compile::Cache.
$obj->blockNamespace( $ns|$type|HASH|CODE|ARRAY )
See blockNamespace in XML::Compile::Schema.
$obj->direction
See direction in Geo::GML.
$obj->gmlVersion
$obj->hooks( [<'READER'|'WRITER'>] )
See hooks in XML::Compile::Schema.
$obj->typemap( [HASH|ARRAY|PAIRS] )
See typemap in XML::Compile::Cache.
$obj->useSchema( $schema, [$schema, ...] )
See useSchema in XML::Compile::Schema.
$obj->version

Prefix management

See Prefix management in XML::Compile::Cache

$obj->addNicePrefix( BASE, NAMESPACE )
See addNicePrefix in XML::Compile::Cache.
$obj->addPrefixes( [PAIRS|ARRAY|HASH] )
See addPrefixes in XML::Compile::Cache.
$obj->learnPrefixes( $node )
See learnPrefixes in XML::Compile::Cache.
$obj->prefix( $prefix )
See prefix in XML::Compile::Cache.
$obj->prefixFor( $uri )
See prefixFor in XML::Compile::Cache.
$obj->prefixed( $type|<$ns,$local> )
See prefixed in XML::Compile::Cache.
$obj->prefixes( [$params] )
See prefixes in XML::Compile::Cache.

Compilers

See Compilers in XML::Compile::Cache

$obj->addCompileOptions( ['READERS'|'WRITERS'|'RW'], %options )
See addCompileOptions in XML::Compile::Cache.
$obj->compile( <'READER'|'WRITER'>, $type, %options )
See compile in XML::Compile::Schema.
$obj->compileAll( ['READERS'|'WRITERS'|'RW', [$ns]] )
See compileAll in XML::Compile::Cache.
$obj->compileType( <'READER'|'WRITER'>, $type, %options )
See compileType in XML::Compile::Schema.
$obj->dataToXML( $node|REF-XML|XML-STRING|$filename|$fh|$known )
$class->dataToXML( $node|REF-XML|XML-STRING|$filename|$fh|$known )
See dataToXML in XML::Compile.
$obj->initParser( %options )
$class->initParser( %options )
See initParser in XML::Compile.
$obj->reader( $type|$name, %options )
See reader in XML::Compile::Cache.
$obj->template( 'PERL'|'XML', $type, %options )
See template in Geo::GML.
$obj->writer( $type|$name )
See writer in XML::Compile::Cache.

Helpers

$obj->GPtoGML( $object, %options )
See GPtoGML in Geo::GML::GeoPoint.

Administration

$obj->declare( <'READER'|'WRITER'|'RW'>, <$type|ARRAY>, %options )
See declare in XML::Compile::Cache.
$obj->doesExtend( $exttype, $basetype )
See doesExtend in XML::Compile::Schema.
$obj->elements
See elements in XML::Compile::Schema.
$obj->findName( $name )
See findName in XML::Compile::Cache.
$obj->findSchemaFile( $filename )
$class->findSchemaFile( $filename )
See findSchemaFile in XML::Compile.
$obj->importDefinitions( $xmldata, %options )
See importDefinitions in XML::Compile::Schema.
$obj->knownNamespace( $ns|PAIRS )
$class->knownNamespace( $ns|PAIRS )
See knownNamespace in XML::Compile.
$obj->namespaces
See namespaces in XML::Compile::Schema.
$obj->printIndex( [$fh], %options )
See printIndex in Geo::GML.
$obj->types
See types in XML::Compile::Schema.
$obj->walkTree( $node, CODE )
See walkTree in XML::Compile.