Class Specification.Source

    • Constructor Detail

      • Source

        public Source​(java.lang.String id)
        Trivial constructor.
        Parameters:
        id - The object identifier.
    • Method Detail

      • toXML

        public void toXML​(FreeColXMLWriter xw)
        This method writes an XML-representation of this object to the given stream. All attributes will be made visible.
        Overrides:
        toXML in class FreeColObject
        Parameters:
        xw - The FreeColXMLWriter to write to.
      • getXMLTagName

        public java.lang.String getXMLTagName()
        Get the serialization tag for this object.
        Specified by:
        getXMLTagName in class FreeColObject
        Returns:
        The tag.