Re: General RDFDatatype factory?

2023-10-24 Thread Steve Vestal
Never mind, the doc simply high-lighted the class as a URL. Simple XSD 
is enough for now.


On 10/24/2023 12:16 PM, Steve Vestal wrote:


https://jena.apache.org/documentation/notes/typed-literals.html#xsd 
says "These are all available as static member variables 
from|org.apache.jena.datatypes.xsd.XSDDatatype| 
" 
but that link is Not Found.


On 10/24/2023 11:38 AM, Steve Vestal wrote:


Is there a factory to create an RDFDatatype using a URL, e.g., 
http://www.w3.org/2001/XMLSchema#integer ?


The closest I have found so far is 
javax.xml.datatype.DatatypeFactory, but that only supports a specific 
list.




Re: General RDFDatatype factory?

2023-10-24 Thread Martynas Jusevičius
Maybe this?
https://jena.apache.org/documentation/notes/typed-literals.html#user-defined-non-xsd-data-types


On Tue, 24 Oct 2023 at 19.17, Steve Vestal  wrote:

> https://jena.apache.org/documentation/notes/typed-literals.html#xsd says
> "These are all available as static member variables
> from|org.apache.jena.datatypes.xsd.XSDDatatype|
> <
> https://jena.apache.org/documentation/javadoc/jena/org/apache/jena/datatypes/xsd/XSDDatatype.html>"
>
> but that link is Not Found.
>
> On 10/24/2023 11:38 AM, Steve Vestal wrote:
> >
> > Is there a factory to create an RDFDatatype using a URL, e.g.,
> > http://www.w3.org/2001/XMLSchema#integer ?
> >
> > The closest I have found so far is javax.xml.datatype.DatatypeFactory,
> > but that only supports a specific list.
> >
> >


Re: General RDFDatatype factory?

2023-10-24 Thread Steve Vestal
https://jena.apache.org/documentation/notes/typed-literals.html#xsd says 
"These are all available as static member variables 
from|org.apache.jena.datatypes.xsd.XSDDatatype| 
" 
but that link is Not Found.


On 10/24/2023 11:38 AM, Steve Vestal wrote:


Is there a factory to create an RDFDatatype using a URL, e.g., 
http://www.w3.org/2001/XMLSchema#integer ?


The closest I have found so far is javax.xml.datatype.DatatypeFactory, 
but that only supports a specific list.




Re: General RDFDatatype factory?

2023-10-24 Thread Martynas Jusevičius
Ah sorry Steve, I think I misread your question :)

On Tue, 24 Oct 2023 at 19.07, Martynas Jusevičius 
wrote:

>
> https://jena.apache.org/documentation/javadoc/jena/org.apache.jena.core/org/apache/jena/rdf/model/ResourceFactory.html#createTypedLiteral(java.lang.String,org.apache.jena.datatypes.RDFDatatype)
>
>
> On Tue, 24 Oct 2023 at 18.38, Steve Vestal 
> wrote:
>
>> Is there a factory to create an RDFDatatype using a URL, e.g.,
>> http://www.w3.org/2001/XMLSchema#integer ?
>>
>> The closest I have found so far is javax.xml.datatype.DatatypeFactory,
>> but that only supports a specific list.
>>
>>


Re: General RDFDatatype factory?

2023-10-24 Thread Martynas Jusevičius
https://jena.apache.org/documentation/javadoc/jena/org.apache.jena.core/org/apache/jena/rdf/model/ResourceFactory.html#createTypedLiteral(java.lang.String,org.apache.jena.datatypes.RDFDatatype)


On Tue, 24 Oct 2023 at 18.38, Steve Vestal  wrote:

> Is there a factory to create an RDFDatatype using a URL, e.g.,
> http://www.w3.org/2001/XMLSchema#integer ?
>
> The closest I have found so far is javax.xml.datatype.DatatypeFactory,
> but that only supports a specific list.
>
>


General RDFDatatype factory?

2023-10-24 Thread Steve Vestal
Is there a factory to create an RDFDatatype using a URL, e.g., 
http://www.w3.org/2001/XMLSchema#integer ?


The closest I have found so far is javax.xml.datatype.DatatypeFactory, 
but that only supports a specific list.