Tabnine Logo
XSDSimpleTypeDefinition.getValidFacets
Code IndexAdd Tabnine to your IDE (free)

How to use
getValidFacets
method
in
org.eclipse.xsd.XSDSimpleTypeDefinition

Best Java code snippets using org.eclipse.xsd.XSDSimpleTypeDefinition.getValidFacets (Showing top 7 results out of 315)

origin: org.eclipse/org.eclipse.wst.xsd.ui

Iterator validFacets = st.getValidFacets().iterator();
origin: org.eclipse/org.eclipse.wst.xsd.ui

if (targetST.getValidFacets().contains("length")) //$NON-NLS-1$
 hasMaxMinFacets = true;
else if (targetST.getValidFacets().contains("maxInclusive")) //$NON-NLS-1$
origin: org.eclipse/org.eclipse.xsd

@Override
public void validate()
{
 XSDSimpleTypeDefinition xsdSimpleTypeDefinition = (XSDSimpleTypeDefinition)getContainer();
 if (!xsdSimpleTypeDefinition.getValidFacets().contains(getFacetName()) && !xsdSimpleTypeDefinition.isCircular())
 {
  XSDSimpleTypeDefinition rootTypeDefinition = xsdSimpleTypeDefinition.getRootTypeDefinition();
  reportConstraintViolation
   (XSDConstants.PART2,
    "cos-applicable-facets",
    getElement(),
    null,
    new Object [] { getFacetName(), rootTypeDefinition.getURI() });
 }
 else
 {
  super.validate();
 }
}
origin: org.eclipse.xsd/org.eclipse.xsd

@Override
public void validate()
{
 XSDSimpleTypeDefinition xsdSimpleTypeDefinition = (XSDSimpleTypeDefinition)getContainer();
 if (!xsdSimpleTypeDefinition.getValidFacets().contains(getFacetName()) && !xsdSimpleTypeDefinition.isCircular())
 {
  XSDSimpleTypeDefinition rootTypeDefinition = xsdSimpleTypeDefinition.getRootTypeDefinition();
  reportConstraintViolation
   (XSDConstants.PART2,
    "cos-applicable-facets",
    getElement(),
    null,
    new Object [] { getFacetName(), rootTypeDefinition.getURI() });
 }
 else
 {
  super.validate();
 }
}
origin: org.eclipse.emf/org.eclipse.xsd.edit

Collection<String> validFacets = std.getValidFacets();
origin: org.eclipse.xsd/org.eclipse.xsd

newNumeric = theBaseTypeDefinition.getNumericFacet().isValue();
newOrdered = theBaseTypeDefinition.getOrderedFacet().getValue();
newValidFacets = theBaseTypeDefinition.getValidFacets();
origin: org.eclipse/org.eclipse.xsd

newNumeric = theBaseTypeDefinition.getNumericFacet().isValue();
newOrdered = theBaseTypeDefinition.getOrderedFacet().getValue();
newValidFacets = theBaseTypeDefinition.getValidFacets();
org.eclipse.xsdXSDSimpleTypeDefinitiongetValidFacets

Javadoc

Returns the value of the 'Valid Facets' attribute list. The list contents are of type java.lang.String.

This computed attribute list represents the org.eclipse.xsd.XSDFacet#getFacetName of each type of facet that is valid for this simple type definition.

Popular methods of XSDSimpleTypeDefinition

  • getItemTypeDefinition
    Returns the value of the 'Item Type Definition' reference. This represents theitem type definition [
  • getVariety
    Returns the value of the 'Variety' attribute. The literals are from the enumeration org.eclipse.xsd.
  • getMaxLengthFacet
    Returns the value of the 'Max Length Facet' reference. This represents the org.eclipse.xsd.XSDMaxLen
  • getMinLengthFacet
    Returns the value of the 'Min Length Facet' reference. This represents the org.eclipse.xsd.XSDMinLen
  • getEnumerationFacets
    Returns the value of the 'Enumeration Facets' reference list. The list contents are of type org.ecli
  • getFacets
    Returns the value of the 'Facets' reference list. The list contents are of type org.eclipse.xsd.XSDC
  • getLengthFacet
    Returns the value of the 'Length Facet' reference. This represents the org.eclipse.xsd.XSDLengthFace
  • getName
  • getBaseType
  • getBaseTypeDefinition
    Returns the value of the 'Base Type Definition' reference. This represents thebase type definition [
  • getContainer
  • getContents
    Returns the value of the 'Contents' containment reference list. The list contents are of type org.ec
  • getContainer,
  • getContents,
  • getMaxFacet,
  • getMemberTypeDefinitions,
  • getTargetNamespace,
  • setBaseTypeDefinition,
  • setItemTypeDefinition,
  • setName,
  • setVariety

Popular in Java

  • Making http requests using okhttp
  • setRequestProperty (URLConnection)
  • onCreateOptionsMenu (Activity)
  • addToBackStack (FragmentTransaction)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now