Eclipse Question:

Is there a built-in facility to check whether a given value is valid compared to the effective facets of its type?

Eclipse Interview Question
Eclipse Interview Question

Answer:

To determine if a literal is valid with respect to a simple type, you can use either XSDSimpleTypeDefinition.isValidLiteral or XSDSimpleTypeDefinition.assess.


Previous QuestionNext Question
How to resize my shell to get my changed widgets to lay out again?How can I change the window icon in my application?