AbstractXsdTypes.AbstractXSDFloat
— TypeAbstractXSDFloat <: AbstractFloat
Must have a value
field, an __xml_attributes
field, and a __validated field.
import AbstractXsdTypes: AbstractXSDFloat
+|-- __validated: true
diff --git a/AbstractXsdTypes.jl/dev/.documenter-siteinfo.json b/AbstractXsdTypes.jl/dev/.documenter-siteinfo.json
index 4e6151e..d9e7ecf 100644
--- a/AbstractXsdTypes.jl/dev/.documenter-siteinfo.json
+++ b/AbstractXsdTypes.jl/dev/.documenter-siteinfo.json
@@ -1 +1 @@
-{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-06-19T12:40:00","documenter_version":"1.4.1"}}
\ No newline at end of file
+{"documenter":{"julia_version":"1.10.4","generation_timestamp":"2024-06-19T13:01:20","documenter_version":"1.4.1"}}
\ No newline at end of file
diff --git a/AbstractXsdTypes.jl/dev/docstrings/index.html b/AbstractXsdTypes.jl/dev/docstrings/index.html
index 5cffa74..93bda2f 100644
--- a/AbstractXsdTypes.jl/dev/docstrings/index.html
+++ b/AbstractXsdTypes.jl/dev/docstrings/index.html
@@ -16,7 +16,7 @@
|-- Element1: value
|-- Element2: 0.001
|-- __xml_attributes: Dict("x" => "y")
-|-- __validated: truesource Must have a Must have a Must have a Must have a Must have a Must have a Abstract type used for XSD Union types. First field must be the value, which will be another XSD type. You must use the AbstractXsdTypes.union_value function in the constructor as shown below. This is to make sure the values get converted to a union value. You must implement the AbstractXsdTypes.union_types function. xml attributes will be passed along to the value type. Abstract type used for XSD Union types. First field must be the value, which will be another XSD type. You must use the AbstractXsdTypes.union_value function in the constructor as shown below. This is to make sure the values get converted to a union value. You must implement the AbstractXsdTypes.union_types function. xml attributes will be passed along to the value type. Must have a Must have a XSDRestrictionViolationError <: Exception Custom exception type to indicate that something was passed to an XSD type constructor which violates a restriction for that type. Custom exception type to indicate that a string was passed to an XSD type constructor which violates a string based restriction for that type. Custom exception type to indicate that a value was passed to an XSD type constructor which violates a value based restriction for that type. Naive check to see if type Define default arguments for various fields of XSDRestrictionViolationError <: Exception Custom exception type to indicate that something was passed to an XSD type constructor which violates a restriction for that type. Custom exception type to indicate that a string was passed to an XSD type constructor which violates a string based restriction for that type. Custom exception type to indicate that a value was passed to an XSD type constructor which violates a value based restriction for that type. Naive check to see if type Define default arguments for various fields of Prints the AbstractXSDComplex as a tree.AbstractXsdTypes.AbstractXSDFloat
— TypeAbstractXSDFloat <: AbstractFloat
value
field, an __xml_attributes
field, and a __validated field.import AbstractXsdTypes: AbstractXSDFloat
+|-- __validated: true
AbstractXsdTypes.AbstractXSDFloat
— TypeAbstractXSDFloat <: AbstractFloat
value
field, an __xml_attributes
field, and a __validated field.import AbstractXsdTypes: AbstractXSDFloat
struct FloatType <: AbstractXSDFloat
value::Float64
@@ -29,7 +29,7 @@
# output
-1.0
AbstractXsdTypes.AbstractXSDSigned
— TypeAbstractXSDSigned <: Signed
value
field, an __xml_attributes
field, and a __validated field.import AbstractXsdTypes: AbstractXSDSigned
+1.0
AbstractXsdTypes.AbstractXSDSigned
— TypeAbstractXSDSigned <: Signed
value
field, an __xml_attributes
field, and a __validated field.import AbstractXsdTypes: AbstractXSDSigned
struct SignedType <: AbstractXSDSigned
value::Int64
@@ -42,7 +42,7 @@
# output
-1
AbstractXsdTypes.AbstractXSDString
— TypeAbstractXSDString <: AbstractString
value
field, an __xml_attributes
field, and a __validated field.import AbstractXsdTypes: AbstractXSDString
+1
AbstractXsdTypes.AbstractXSDString
— TypeAbstractXSDString <: AbstractString
value
field, an __xml_attributes
field, and a __validated field.import AbstractXsdTypes: AbstractXSDString
struct StringType <: AbstractXSDString
value::String
@@ -55,12 +55,12 @@
# output
-"value"
AbstractXsdTypes.AbstractXSDUnion
— TypeAbstractXsdTypes.AbstractXSDUnion
Base.@kwdef @concrete struct UnionType <: AbstractXsdTypes.AbstractXSDUnion
+"value"
AbstractXsdTypes.AbstractXSDUnion
— TypeAbstractXsdTypes.AbstractXSDUnion
Base.@kwdef @concrete struct UnionType <: AbstractXsdTypes.AbstractXSDUnion
value <: Union{FloatType,AnotherFloatType,StringType}
__validated::Bool = true
end
-AbstractXsdTypes.union_types(::Type{<:UnionType}) = (FloatType, AnotherFloatType, StringType)
AbstractXsdTypes.AbstractXSDUnsigned
— TypeAbstractXSDUnsigned <: Unsigned
value
field, an __xml_attributes
field, and a __validated field.import AbstractXsdTypes: AbstractXSDUnsigned
+AbstractXsdTypes.union_types(::Type{<:UnionType}) = (FloatType, AnotherFloatType, StringType)
AbstractXsdTypes.AbstractXSDUnsigned
— TypeAbstractXSDUnsigned <: Unsigned
value
field, an __xml_attributes
field, and a __validated field.import AbstractXsdTypes: AbstractXSDUnsigned
struct UnsignedType <: AbstractXSDUnsigned
value::UInt64
@@ -73,9 +73,9 @@
# output
-0x0000000000000001
AbstractXsdTypes.XSDRestrictionViolationError
— TypeAbstractXsdTypes.XSDStringRestrictionViolationError
— TypeXSDStringRestrictionViolationError <: XSDRestrictionViolationError
AbstractXsdTypes.XSDValueRestrictionViolationError
— TypeXSDValueRestrictionViolationError <: XSDRestrictionViolationError
AbstractXsdTypes.can_be_converted
— Methodcan_be_converted(::Type{T}, ::Type{S})::Bool where {T<:AbstractXSDComplex, S<:AbstractXSDComplex}
S
can be converted to type T
. This function will only look for compatible field names, compatibility of field types is not checked.AbstractXsdTypes.defaults
— FunctionAbstractXsdTypes.defaults(::Type{MyType}) = (:field_a=default_value, :field_b=>default_value)
MyType
, which will be generated by XsdToStruct and can be used by your custom XML parser.AbstractXsdTypes.print_tree
— Methodprint_treeprint_tree(
+0x0000000000000001
AbstractXsdTypes.XSDRestrictionViolationError
— TypeAbstractXsdTypes.XSDStringRestrictionViolationError
— TypeXSDStringRestrictionViolationError <: XSDRestrictionViolationError
AbstractXsdTypes.XSDValueRestrictionViolationError
— TypeXSDValueRestrictionViolationError <: XSDRestrictionViolationError
AbstractXsdTypes.can_be_converted
— Methodcan_be_converted(::Type{T}, ::Type{S})::Bool where {T<:AbstractXSDComplex, S<:AbstractXSDComplex}
S
can be converted to type T
. This function will only look for compatible field names, compatibility of field types is not checked.AbstractXsdTypes.defaults
— FunctionAbstractXsdTypes.defaults(::Type{MyType}) = (:field_a=default_value, :field_b=>default_value)
MyType
, which will be generated by XsdToStruct and can be used by your custom XML parser.AbstractXsdTypes.print_tree
— Methodprint_treeprint_tree(
io::IO,
x::AbstractXSDComplex;
print_all::Bool=false,
indent_string::AbstractString=""
-)::Nothing
Settings
This document was generated with Documenter.jl version 1.4.1 on Wednesday 19 June 2024. Using Julia version 1.10.4.