Class InstanceIdentifierFactory


  • public class InstanceIdentifierFactory
    extends Object
    Convenience factory to create instance identifiers.
    • Constructor Detail

      • InstanceIdentifierFactory

        public InstanceIdentifierFactory()
    • Method Detail

      • createInstanceIdentifier

        public static InstanceIdentifier createInstanceIdentifier​(String root)
        Creates an instance identifier solely based on the root.
        Parameters:
        root - the root to set up.
        Returns:
        a new instance.
      • createInstanceIdentifier

        public static InstanceIdentifier createInstanceIdentifier​(@Nullable
                                                                  String root,
                                                                  @Nullable
                                                                  String extension)
        Creates an instance identifier.
        Parameters:
        root - the root to set up or null if unknown.
        extension - the extension to set up or null if unknown.
        Returns:
        a new instance.
      • createInstanceIdentifierWithoutRoot

        public static InstanceIdentifier createInstanceIdentifierWithoutRoot​(String extension)
        Creates an instance identifier solely based on the extension.
        Parameters:
        extension - the extension to set up.
        Returns:
        a new instance.