Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » getFacets() Vs getFacetContents()
getFacets() Vs getFacetContents() [message #598075] Thu, 11 May 2006 05:57
Gili is currently offline GiliFriend
Messages: 1
Registered: July 2009
Junior Member
What is the difference between getFacets() and getFacetContents()?
In what cases i would like to use the getFacets()function instet of
getFacetContents() and vice versa ?

As i notice, for the following XSD
the getFacetContents() returns only the "XSDPatternFacetImpl"
while the the getFacets() return "XSDPatternFacetImpl" and

<xs:simpleType name="myPatern">
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z]{6,6}[A-Z2-9][A-NP-Z0-9]([A-Z0-9]{3,3}){0,1}"/ >

Previous Topic:XML Generation and element hiding
Next Topic:getFacets() Vs getFacetContents()
Goto Forum:

Current Time: Sat Jan 23 01:16:15 GMT 2021

Powered by FUDForum. Page generated in 0.01863 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top