Class StringConverter.StringToNotation

    • Constructor Detail

    • Method Detail

      • setNamespaceResolver

        public StringConverter.StringToNotation setNamespaceResolver​(NamespaceResolver resolver)
        Description copied from class: Converter
        Provide a namespace resolver, needed for conversion to namespace-sensitive types such as QName and NOTATION. The resolver is ignored if the target type is not namespace-sensitive
        setNamespaceResolver in class Converter
        resolver - the namespace resolver to be used
        a new Converter customised with the supplied namespace context. The original Converter is unchanged (see bug 2754)
      • getNamespaceResolver

        public NamespaceResolver getNamespaceResolver()
        Description copied from class: Converter
        Get the namespace resolver if one has been supplied
        getNamespaceResolver in class Converter
        the namespace resolver, or null if none has been supplied
      • convertString

        public ConversionResult convertString​(java.lang.CharSequence input)
        Description copied from class: StringConverter
        Convert a string to the target type of this converter.
        Specified by:
        convertString in class StringConverter
        input - the string to be converted
        either an AtomicValue of the appropriate type for this converter (if conversion succeeded), or a ValidationFailure if conversion failed.