public class UnsolvedReferenceItem extends Object
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.| Modifier and Type | Field | Description |
|---|---|---|
private 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. |
private UnsolvedReference |
unsolvedReference |
A
UnsolvedReference object that wasn't solved in the parsing process. |
| Constructor | Description |
|---|---|
UnsolvedReferenceItem(UnsolvedReference unsolvedReference) |
| Modifier and Type | Method | Description |
|---|---|---|
List<XsdAbstractElement> |
getParents() |
|
UnsolvedReference |
getUnsolvedReference() |
private UnsolvedReference unsolvedReference
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.private List<XsdAbstractElement> parents
UnsolvedReference object was used, which cause
every element present in this list to not be fully correct.public UnsolvedReferenceItem(UnsolvedReference unsolvedReference)
public UnsolvedReference getUnsolvedReference()
public List<XsdAbstractElement> getParents()
Copyright © 2018. All rights reserved.