|
Re: XSD:How to extract xsd:simpleContent ? [message #65734 is a reply to message #65690] |
Mon, 09 January 2006 10:59  |
Eclipse User |
|
|
|
wendy wrote:
> How to extract <xsd:simpleContent> ?
Hi Wendy,
Extract it from where?
If you have an XSDComplexTypeDefinition, you can call getContentType()
on it. If the complex type has simple type (if getContentTypeCategory()
returns XSDContentTypeCategory.SIMPLE_LITERAL), you can cast the result
to an XSDSimpleTypeDefinition.
Cheers,
Dave
|
|
|
Re: XSD:How to extract xsd:simpleContent ? [message #597451 is a reply to message #65690] |
Mon, 09 January 2006 10:59  |
Eclipse User |
|
|
|
wendy wrote:
> How to extract <xsd:simpleContent> ?
Hi Wendy,
Extract it from where?
If you have an XSDComplexTypeDefinition, you can call getContentType()
on it. If the complex type has simple type (if getContentTypeCategory()
returns XSDContentTypeCategory.SIMPLE_LITERAL), you can cast the result
to an XSDSimpleTypeDefinition.
Cheers,
Dave
|
|
|
Powered by
FUDForum. Page generated in 0.02896 seconds