Class XsdSchema

    • Field Detail

      • attributeFormDefault

        private FormEnum attributeFormDefault
        Specifies if the form attribute for the current XsdSchema children attributes. The default value is "unqualified". Other possible value is "qualified".
      • elementFormDefault

        private FormEnum elementFormDefault
        Specifies if the form attribute for the current XsdSchema children elements. The default value is "unqualified". Other possible value is "qualified".
      • blockDefault

        private BlockDefaultEnum blockDefault
        Specifies if the block attribute for the current XsdSchema children such as XsdElement and XsdComplexType. The default value is "". Other possible value are "extension", "restriction", "substitution" and "#all".
      • targetNamespace

        private java.lang.String targetNamespace
        A URI reference of the namespace of this XsdSchema element.
      • version

        private java.lang.String version
        The version of this XsdSchema element.
      • xmlns

        private java.lang.String xmlns
        A URI reference that specifies one or more namespaces for use in this XsdSchema. If no prefix is assigned, the schema components of the namespace can be used with unqualified references.
      • filePath

        private java.lang.String filePath
      • namespaces

        private java.util.Map<java.lang.String,​NamespaceInfo> namespaces
    • Method Detail

      • updatePrefixLocations

        private void updatePrefixLocations​(java.util.Map<java.lang.String,​java.lang.String> prefixLocations)
      • add

        public void add​(XsdImport element)
      • add

        public void add​(XsdGroup element)
      • getAttributeFormDefault

        public java.lang.String getAttributeFormDefault()
      • getElementFormDefault

        public java.lang.String getElementFormDefault()
      • getBlockDefault

        public java.lang.String getBlockDefault()
      • getFinalDefault

        public java.lang.String getFinalDefault()
      • getTargetNamespace

        public java.lang.String getTargetNamespace()
      • getVersion

        public java.lang.String getVersion()
      • getChildrenIncludes

        public java.util.stream.Stream<XsdInclude> getChildrenIncludes()
        Returns:
        The children elements that are of the type XsdInclude.
      • getChildrenImports

        public java.util.stream.Stream<XsdImport> getChildrenImports()
        Returns:
        The children elements that are of the type XsdImport.
      • getChildrenAnnotations

        public java.util.stream.Stream<XsdAnnotation> getChildrenAnnotations()
        Returns:
        The children elements that are of the type XsdAnnotation.
      • getChildrenSimpleTypes

        public java.util.stream.Stream<XsdSimpleType> getChildrenSimpleTypes()
        Returns:
        The children elements that are of the type XsdSimpleType.
      • getChildrenComplexTypes

        public java.util.stream.Stream<XsdComplexType> getChildrenComplexTypes()
        Returns:
        The children elements that are of the type XsdComplexType.
      • getChildrenGroups

        public java.util.stream.Stream<XsdGroup> getChildrenGroups()
        Returns:
        The children elements that are of the type XsdGroup.
      • getChildrenAttributeGroups

        public java.util.stream.Stream<XsdAttributeGroup> getChildrenAttributeGroups()
        Returns:
        The children elements that are of the type XsdAttributeGroup.
      • getChildrenElements

        public java.util.stream.Stream<XsdElement> getChildrenElements()
        Returns:
        The children elements that are of the type XsdElement.
      • getChildrenAttributes

        public java.util.stream.Stream<XsdAttribute> getChildrenAttributes()
        Returns:
        The children elements that are of the type XsdAttribute.
      • resolveNameSpace

        public void resolveNameSpace​(java.lang.String namespace,
                                     java.lang.String schemaLocation)
      • getNamespaces

        public java.util.Map<java.lang.String,​NamespaceInfo> getNamespaces()
      • getFilePath

        public java.lang.String getFilePath()
      • setFilePath

        public void setFilePath​(java.lang.String filePath)