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

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

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

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

XSDMaxFacet maxFacet = type.getMaxFacet();
origin: org.eclipse.emf/org.eclipse.xsd.edit

 /**
  * This tests whether the specified simple type definition,
  * <code>s</code>, can accomodate the given constraining facet,
  * <code>f</code>, based on its existing facet children.
  */
 protected boolean canAccomodateFacet(XSDSimpleTypeDefinition s,
                    XSDConstrainingFacet f)
 {
  return
   (f instanceof XSDRepeatableFacet) ||
   (f instanceof XSDLengthFacet && s.getLengthFacet() == null &&
    s.getMinLengthFacet() == null && s.getMaxLengthFacet() == null) ||
   (f instanceof XSDMinLengthFacet && s.getMinLengthFacet() == null &&
    s.getLengthFacet() == null) ||
   (f instanceof XSDMaxLengthFacet && s.getMaxLengthFacet() == null &&
    s.getLengthFacet() == null) ||
   (f instanceof XSDWhiteSpaceFacet && s.getWhiteSpaceFacet() == null) ||
   (f instanceof XSDMinInclusiveFacet && s.getMinFacet() == null) ||
   (f instanceof XSDMinExclusiveFacet && s.getMinFacet() == null) ||
   (f instanceof XSDMaxInclusiveFacet && s.getMaxFacet() == null) ||
   (f instanceof XSDMaxExclusiveFacet && s.getMaxFacet() == null) ||
   (f instanceof XSDTotalDigitsFacet && s.getTotalDigitsFacet() == null) ||
   (f instanceof XSDFractionDigitsFacet 
    && s.getFractionDigitsFacet() == null);
 }
}
origin: org.eclipse.xsd/org.eclipse.xsd

XSDMaxFacet xsdMaxFacet = xsdSimpleTypeDefinition.getMaxFacet();
origin: org.eclipse/org.eclipse.xsd

XSDMaxFacet xsdMaxFacet = xsdSimpleTypeDefinition.getMaxFacet();
org.eclipse.xsdXSDSimpleTypeDefinitiongetMaxFacet

Javadoc

Returns the value of the 'Max Facet' reference.

This represents the org.eclipse.xsd.XSDMaxFacet of the #getFacetContents.

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,
  • getMemberTypeDefinitions,
  • getTargetNamespace,
  • getValidFacets,
  • setBaseTypeDefinition,
  • setItemTypeDefinition,
  • setName,
  • setVariety

Popular in Java

  • Running tasks concurrently on multiple threads
  • findViewById (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Callable (java.util.concurrent)
    A task that returns a result and may throw an exception. Implementors define a single method with no
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • From CI to AI: The AI layer in your organization
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