50 lines
No EOL
1.3 KiB
Erlang
50 lines
No EOL
1.3 KiB
Erlang
%% HRL file generated by ERLSOM
|
|
%%
|
|
%% It is possible (and in some cases necessary) to change the name of
|
|
%% the record fields.
|
|
%%
|
|
%% It is possible to add default values, but be aware that these will
|
|
%% only be used when *writing* an xml document.
|
|
|
|
|
|
-ifndef(ERLSOM_ANY_ATTRIB_TYPES).
|
|
-define(ERLSOM_ANY_ATTRIB_TYPES, true).
|
|
-type anyAttrib() :: {{string(), %% name of the attribute
|
|
string()}, %% namespace
|
|
string()}. %% value
|
|
|
|
-type anyAttribs() :: [anyAttrib()] | undefined.
|
|
-endif.
|
|
|
|
-ifndef(ERLSOM_QNAME_TYPES).
|
|
-define(ERLSOM_QNAME_TYPES, true).
|
|
%% xsd:QName values are translated to #qname{} records.
|
|
-record(qname, {uri :: string(),
|
|
localPart :: string(),
|
|
prefix :: string(),
|
|
mappedPrefix :: string()}).
|
|
-endif.
|
|
|
|
|
|
|
|
-record('ACL_POOL', {anyAttribs :: anyAttribs(),
|
|
'ACL_POOL/SEQ1' :: 'ACL_POOL/SEQ1'() | undefined}).
|
|
|
|
-type 'ACL_POOL'() :: #'ACL_POOL'{}.
|
|
|
|
|
|
-record('ACL_POOL/SEQ1', {anyAttribs :: anyAttribs(),
|
|
'ACL' :: ['ACL_POOL/SEQ1/ACL'()] | undefined}).
|
|
|
|
-type 'ACL_POOL/SEQ1'() :: #'ACL_POOL/SEQ1'{}.
|
|
|
|
|
|
-record('ACL_POOL/SEQ1/ACL', {anyAttribs :: anyAttribs(),
|
|
'ID' :: integer(),
|
|
'USER' :: string(),
|
|
'RESOURCE' :: string(),
|
|
'RIGHTS' :: string(),
|
|
'ZONE' :: string(),
|
|
'STRING' :: string()}).
|
|
|
|
-type 'ACL_POOL/SEQ1/ACL'() :: #'ACL_POOL/SEQ1/ACL'{}. |