Package org.xmlet.xsdparser.core.utils
Class UnsolvedReferenceItem
- java.lang.Object
-
- org.xmlet.xsdparser.core.utils.UnsolvedReferenceItem
-
public class UnsolvedReferenceItem extends java.lang.ObjectRepresents an instance of anUnsolvedReferencethat theXsdParserwasn't able to solve. It contains the respectiveUnsolvedReferenceobject and a list of elements that contained thisUnsolvedReferenceobject. 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 Summary
Fields Modifier and Type Field Description private java.util.List<XsdAbstractElement>parentsA list of parents which indicate all the places where theUnsolvedReferenceobject was used, which cause every element present in this list to not be fully correct.private UnsolvedReferenceunsolvedReferenceAUnsolvedReferenceobject that wasn't solved in the parsing process.
-
Constructor Summary
Constructors Constructor Description UnsolvedReferenceItem(UnsolvedReference unsolvedReference)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<XsdAbstractElement>getParents()java.util.List<XsdAbstractElement>getParentsExcludingClones()java.util.List<XsdAbstractElement>getParentsWithClones()UnsolvedReferencegetUnsolvedReference()
-
-
-
Field Detail
-
unsolvedReference
private UnsolvedReference unsolvedReference
AUnsolvedReferenceobject 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 theUnsolvedReferenceobject was used, which cause every element present in this list to not be fully correct.
-
-
Constructor Detail
-
UnsolvedReferenceItem
public UnsolvedReferenceItem(UnsolvedReference unsolvedReference)
-
-
Method Detail
-
getUnsolvedReference
public UnsolvedReference getUnsolvedReference()
-
getParents
public java.util.List<XsdAbstractElement> getParents()
-
getParentsExcludingClones
public java.util.List<XsdAbstractElement> getParentsExcludingClones()
-
getParentsWithClones
public java.util.List<XsdAbstractElement> getParentsWithClones()
-
-