Interface InstanceComponent

    • Method Detail

      • getTypeDefinition

        XSDTypeDefinition getTypeDefinition()
        Returns:
        The object containing the type definiton of the instance.
      • getDeclaration

        XSDNamedComponent getDeclaration()
        Returns:
        The feature describing the component instance.
      • getNamespace

        String getNamespace()
        Returns:
        The namespace of the element;
      • setNamespace

        void setNamespace​(String namespace)
        Sets the namespace of the element.
        Parameters:
        namespace - The new namespace.
      • getName

        String getName()
        Returns:
        The name of the element.
      • setName

        void setName​(String name)
        Sets the name of the element.
        Parameters:
        name - The new name.
      • getText

        String getText()
        Returns:
        The text inside of the component, or the empty string if the component does not contain any text.
      • setText

        void setText​(String text)
        Sets the text of the element.
        Parameters:
        text - The new text