OWL2Datatype(@Nonnull XSDVocabulary xsd, @Nonnull Category category, boolean finite, @Nonnull String regEx) { iri = xsd.getIRI(); shortForm = xsd.getShortForm(); prefixedName = xsd.getPrefixedName(); this.category = category; this.finite = finite; regExpression = regEx; }
OWL2Datatype(XSDVocabulary xsd, Category category, boolean finite, String regEx) { iri = xsd.getIRI(); shortForm = xsd.getShortForm(); prefixedName = xsd.getPrefixedName(); this.category = category; this.finite = finite; regExpression = regEx; pattern = Pattern.compile(regEx, Pattern.DOTALL); }
OWL2Datatype(XSDVocabulary xsd, Category category, boolean finite, String regEx) { iri = xsd.getIRI(); shortForm = xsd.getShortForm(); prefixedName = xsd.getPrefixedName(); this.category = category; this.finite = finite; regExpression = regEx; pattern = Pattern.compile(regEx, Pattern.DOTALL); }
OWL2Datatype(XSDVocabulary xsd, Category category, boolean finite, String regEx) { iri = xsd.getIRI(); shortForm = xsd.getShortForm(); prefixedName = xsd.getPrefixedName(); this.category = category; this.finite = finite; regExpression = regEx; pattern = Pattern.compile(regEx, Pattern.DOTALL); }
String name = iriString.substring(4); for (XSDVocabulary v : XSDVocabulary.values()) { if (v.getShortForm().equals(name)) { datatype = knownDatatypes.get(v.getIRI()); if (datatype == null) {