Class DoubleDatatype

java.lang.Object
edu.sc.seis.sod.validator.model.datatype.DoubleDatatype
All Implemented Interfaces:
ModelDatatype, org.relaxng.datatype.Datatype

public class DoubleDatatype extends Object implements ModelDatatype
  • Constructor Details

    • DoubleDatatype

      public DoubleDatatype()
  • Method Details

    • isValid

      public boolean isValid(String p1, org.relaxng.datatype.ValidationContext p2)
      Specified by:
      isValid in interface org.relaxng.datatype.Datatype
    • checkValid

      public void checkValid(String p1, org.relaxng.datatype.ValidationContext p2) throws org.relaxng.datatype.DatatypeException
      Specified by:
      checkValid in interface org.relaxng.datatype.Datatype
      Throws:
      org.relaxng.datatype.DatatypeException
    • createStreamingValidator

      public org.relaxng.datatype.DatatypeStreamingValidator createStreamingValidator(org.relaxng.datatype.ValidationContext p1)
      Specified by:
      createStreamingValidator in interface org.relaxng.datatype.Datatype
    • createValue

      public Object createValue(String p1, org.relaxng.datatype.ValidationContext p2)
      Specified by:
      createValue in interface org.relaxng.datatype.Datatype
    • sameValue

      public boolean sameValue(Object p1, Object p2)
      Specified by:
      sameValue in interface org.relaxng.datatype.Datatype
    • valueHashCode

      public int valueHashCode(Object p1)
      Specified by:
      valueHashCode in interface org.relaxng.datatype.Datatype
    • getIdType

      public int getIdType()
      Specified by:
      getIdType in interface org.relaxng.datatype.Datatype
    • isContextDependent

      public boolean isContextDependent()
      Specified by:
      isContextDependent in interface org.relaxng.datatype.Datatype
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface ModelDatatype
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getExampleValue

      public String getExampleValue()
      Specified by:
      getExampleValue in interface ModelDatatype