Class LocalizedXsdString

    • Constructor Detail

      • LocalizedXsdString

        public LocalizedXsdString​(String value,
                                  String id)
        Constructor
        Parameters:
        value - value of the String
        id - XML ID
      • LocalizedXsdString

        public LocalizedXsdString​(String value,
                                  String id,
                                  String lang)
        Constructor
        Parameters:
        value - value of the String
        id - XML ID
        lang - language
      • LocalizedXsdString

        public LocalizedXsdString​(String value,
                                  String id,
                                  String lang,
                                  String tag)
        Constructor
        Parameters:
        value - value of the String
        id - XML ID
        lang - language
        tag - name
    • Method Detail

      • setLang

        public void setLang​(String lng)
        Set the language
        Parameters:
        lng - The value
      • copy

        public CopyableMetaData copy()
        Creates and returns a copy of this object. Ther copy is done in deep of all elements. It isn't formally a clone of the instance since it does not respect the assumption for which returned clone of cloneMethod are instance of Object
        Specified by:
        copy in interface CopyableMetaData
        Overrides:
        copy in class XsdString
        Returns:
        a copy of this instance.