Interface ImportSource


public interface ImportSource
A Schema import source. This is ill defined for now, because users all go straight to XML manipulation.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the name of this import source.
    Get the type of this import source.
    org.jdom2.Element
    This is a bit of a compromise for now.
  • Method Details

    • getName

      @Nullable String getName()
      Get the name of this import source.
      Returns:
      the import source name, if set.
    • getType

      @NotNull String getType()
      Get the type of this import source.
      Returns:
      the type of this import source, if set.
    • getXmlElement

      @NotNull org.jdom2.Element getXmlElement()
      This is a bit of a compromise for now. The element is passed around through too many layers to refactor.
      Returns:
      this, as an XML element, which should be considered immutable.