Class UnsolvedReferenceItem


  • public class UnsolvedReferenceItem
    extends java.lang.Object
    Represents an instance of an UnsolvedReference that the XsdParser wasn't able to solve. It contains the respective UnsolvedReference object and a list of elements that contained this UnsolvedReference object. This allows the user to assert which references are missing and where are they used, which may be useful to correct the problems in the XSD file.
    • Field Detail

      • unsolvedReference

        private UnsolvedReference unsolvedReference
        A UnsolvedReference object that wasn't solved in the parsing process. This happened because its referred element isn't present in the files that were parsed.
      • parents

        private java.util.List<XsdAbstractElement> parents
        A list of parents which indicate all the places where the UnsolvedReference object was used, which cause every element present in this list to not be fully correct.
    • Constructor Detail

      • UnsolvedReferenceItem

        public UnsolvedReferenceItem​(UnsolvedReference unsolvedReference)