Package com.sun.msv.reader.datatype.xsd
Class XSDatatypeExp.RenderingContext
java.lang.Object
com.sun.msv.reader.datatype.xsd.XSDatatypeExp.RenderingContext
- Enclosing class:
XSDatatypeExp
this object is used to keep the information about
the dependency between late-bind datatype objects.
Consider the following schema:
Since two types are depending on each other, if you call the getBody method of "foo" type, it will call the getBody method of "bar" type. Then in turn it will call "foo" again. So this will result in the infinite recursion.invalid input: '<'xs:simpleType name="foo"> invalid input: '<'xs:restriction base="bar"> invalid input: '<'xs:minLength value="3"/> invalid input: '<'/xs:restriction> invalid input: '<'/xs:simpleType> invalid input: '<'xs:simpleType name="bar"> invalid input: '<'xs:restriction base="foo"> invalid input: '<'xs:minLength value="3"/> invalid input: '<'/xs:restriction> invalid input: '<'/xs:simpleType>
This context object is used to detect such condition and reports the dependency to the user.
No method is publicly accessible.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
callStack
-
-
Constructor Details
-
RenderingContext
RenderingContext()
-