Class XSDDurationType

  • All Implemented Interfaces:
    RDFDatatype

    public class XSDDurationType
    extends XSDAbstractDateTimeType
    The XSD duration type, the only job of this extra layer is to wrap the return value in a more convenient accessor type. We could avoid this proliferation of trivial types by use of reflection but since that causes allergic reactions in some we use brute force.

    This class includees code derived from Xerces 2.6.0 Copyright (c) 1999-2002 The Apache Software Foundation. All rights reserved.

    • Constructor Detail

      • XSDDurationType

        public XSDDurationType()
        Constructor
    • Method Detail

      • parseValidated

        public java.lang.Object parseValidated​(java.lang.String str)
        Parse a validated date. This is invoked from XSDDatatype.convertValidatedDataValue rather then from a local parse method to make the implementation of XSDGenericType easier.
        Overrides:
        parseValidated in class XSDDatatype