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 Gili
Messages: 1
Registered: July 2009
Junior Member
HI,
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
"XSDWhiteSpaceFacetImpl"

<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}"/ >
</xs:restriction>
</xs:simpleType>

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


Current Time: Wed Oct 01 14:30:59 GMT 2014

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

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