Interface AbsItfSchema<T extends AbsItfType,​E extends AbsItfElement,​A extends AbsItfAttribute,​Incl extends AbsItfInclude,​Impt extends AbsItfImport,​Red extends AbsItfRedefine>

    • Method Detail

      • getTypes

        List<T> getTypes()
        Returns:
      • addType

        void addType​(T absItfType)
      • getType

        T getType​(QName type)
      • createComplexType

        T createComplexType()
      • createSimpleType

        T createSimpleType()
      • getElements

        List<E> getElements()
      • addElement

        void addElement​(E elmt)
      • getElement

        E getElement​(QName element)
      • createElement

        E createElement()
      • findElementsInAllSchema

        List<E> findElementsInAllSchema​(QName element)
      • getAttributes

        List<A> getAttributes()
      • addAttribute

        void addAttribute​(A attr)
      • getAttribute

        A getAttribute​(QName attr)
      • createAttribute

        A createAttribute()
      • getTargetNamespace

        String getTargetNamespace()
      • setTargetNamespace

        void setTargetNamespace​(String tns)
      • addImport

        void addImport​(Impt importDef)
        Add an import to this parent.
        Parameters:
        importDef - the import to be added
      • removeImport

        Impt removeImport​(Impt importDef)
        Remove an import from this parent.
        Parameters:
        importDef - the import to be removed
        Returns:
        the removed ImportImpl
      • getImports

        List<Impt> getImports​(String namespaceURI)
        Get the list of imports for the specified namespaceURI.
        Parameters:
        namespaceURI - the namespaceURI associated with the desired imports.
        Returns:
        a list of the corresponding imports, or null if there weren't any matching imports
      • getImports

        List<Impt> getImports()
        Get a map of lists containing all the imports defined here. The map's keys are the namespaceURIs, and the map's values are lists. There is one list for each namespaceURI for which imports have been defined.
      • addInclude

        void addInclude​(Incl includeDef)
                 throws SchemaException
        Add an include to this parent.
        Parameters:
        includeDef - the include to be added
        Throws:
        SchemaException - if an included element can't be retrieved
      • removeInclude

        Incl removeInclude​(Incl includeDef)
                    throws SchemaException
        Remove an include from this parent.
        Parameters:
        includeDef - the include to be removed
        Returns:
        the removed include
        Throws:
        SchemaException
      • getIncludes

        List<Incl> getIncludes​(URI locationURI)
                        throws URISyntaxException
        Get the list of includes for the specified locationURI.
        Parameters:
        locationURI - the locationURI associated with the desired includes.
        Returns:
        a list of the corresponding includes, or null if there weren't any matching includes
        Throws:
        URISyntaxException - The schemaLocation definition of an include of the schema is invalid.
      • getIncludes

        List<Incl> getIncludes()
        Get a map of lists containing all the includes defined here. The map's keys are the namespaceURIs, and the map's values are lists. There is one list for each locationURI for which imports have been defined.
      • setDocumentURI

        void setDocumentURI​(URI documentBaseURI)
        Set the document base URI of this definition. Can be used to represent the origin of the Definition, and can be exploited when resolving relative URIs (e.g. in <import>s).
        Parameters:
        documentBaseURI - the document base URI of this definition
      • getDocumentURI

        URI getDocumentURI()
      • getElementFormDefault

        org.ow2.easywsdl.schema.org.w3._2001.xmlschema.FormChoice getElementFormDefault()
      • setElementFormDefault

        void setElementFormDefault​(org.ow2.easywsdl.schema.org.w3._2001.xmlschema.FormChoice form)
      • getAttributeFormDefault

        org.ow2.easywsdl.schema.org.w3._2001.xmlschema.FormChoice getAttributeFormDefault()
      • setAttributeFormDefault

        void setAttributeFormDefault​(org.ow2.easywsdl.schema.org.w3._2001.xmlschema.FormChoice form)
      • getVersion

        String getVersion()
      • addRedefine

        void addRedefine​(Red redDef)
      • removeRedefine

        Red removeRedefine​(Red redDef)
      • getRedefines

        List<Red> getRedefines()