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

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

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

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

public java.util.List getBuiltInTypeNamesList()
{
 TypesHelper helper = new TypesHelper(simpleType.getSchema());
 return helper.getBuiltInTypeNamesList();
}
origin: org.eclipse/org.eclipse.wst.xsd.ui

public java.util.List getUserSimpleTypeNamesList()
{
 TypesHelper helper = new TypesHelper(simpleType.getSchema());
 return helper.getUserSimpleTypeNamesList();
}
origin: org.eclipse/org.eclipse.wst.xsd.ui

 private void initializeMemberListContent()
 {
//    String result = element.getAttribute(XSDConstants.MEMBERTYPES_ATTRIBUTE);
//    if (result == null)
//    {
//      return;
//    }
//    StringTokenizer token = new StringTokenizer(result);
//    while (token.hasMoreTokens())
//    {
//      memberTypesList.add(token.nextToken());
//    }
  XSDSchema schema = simpleType.getSchema();
  for (Iterator i = simpleType.getMemberTypeDefinitions().iterator(); i.hasNext(); )
  {
   String name = ((XSDSimpleTypeDefinition)i.next()).getQName(schema);
   if (name != null)
   memberTypesList.add(name);
  }
 }

origin: org.eclipse.xsd/org.eclipse.xsd

 /*{@link XSDUtil.XSDNamedComponentCrossReferencer */XSDUtil.XSDNamedComponentCrossReferencer/*}*/.find(xsdSchemaForSchema.resolveSimpleTypeDefinition("anySimpleType").getSchema());
EcoreUtil.CrossReferencer.print(out, xsdNamedComponentUsage);
origin: org.eclipse/org.eclipse.wst.xsd.ui

public void setInput(IWorkbenchPart part, ISelection selection)
{
 super.setInput(part, selection);
 init();
 
 XSDSchema schemaOfType = null;
 if (!isReadOnly)
 {
  schemaOfType = xsdSimpleTypeDefinition.getSchema();
 }
 if (schemaOfType == owningEditor.getAdapter(XSDSchema.class))
 {
  isReadOnly = false;
 }
 else
 {
  if (!XSDConstants.SCHEMA_FOR_SCHEMA_URI_2001.equals(xsdSimpleTypeDefinition.getTargetNamespace()))
   isReadOnly = true;
 }
 if (hasMaxMinFacets)
 {
  title.setText(titleString + (isReadOnly ? " - " + Messages._UI_LABEL_READONLY : "")); //$NON-NLS-1$ //$NON-NLS-2$
 }
 relayout();
 constraintsWidget.setCommandStack(getCommandStack());
}
origin: org.eclipse/org.eclipse.xsd

 /*{@link XSDUtil.XSDNamedComponentCrossReferencer */XSDUtil.XSDNamedComponentCrossReferencer/*}*/.find(xsdSchemaForSchema.resolveSimpleTypeDefinition("anySimpleType").getSchema());
EcoreUtil.CrossReferencer.print(out, xsdNamedComponentUsage);
origin: org.eclipse/org.eclipse.xsd

@Override
protected void validateValue()
{
 XSDSimpleTypeDefinition whiteSpaceEnumeration = 
  ((XSDAttributeUse)
   ((XSDComplexTypeDefinition)
     getSimpleTypeDefinition().
     getSchema().
     getSchemaForSchema().  
     resolveElementDeclaration("whiteSpace").
     getTypeDefinition()).
    getAttributeContents().get(0)).
   getAttributeDeclaration().getTypeDefinition();
 checkSimpleTypeConstraint
  (whiteSpaceEnumeration,
   getLexicalValue(),
   XSDConstants.PART2,
   "element-whiteSpace",
   getElement(),
   XSDConstants.VALUE_ATTRIBUTE,
   true);
}
origin: org.eclipse.xsd/org.eclipse.xsd

@Override
protected void validateValue()
{
 XSDSimpleTypeDefinition whiteSpaceEnumeration = 
  ((XSDAttributeUse)
   ((XSDComplexTypeDefinition)
     getSimpleTypeDefinition().
     getSchema().
     getSchemaForSchema().  
     resolveElementDeclaration("whiteSpace").
     getTypeDefinition()).
    getAttributeContents().get(0)).
   getAttributeDeclaration().getTypeDefinition();
 checkSimpleTypeConstraint
  (whiteSpaceEnumeration,
   getLexicalValue(),
   XSDConstants.PART2,
   "element-whiteSpace",
   getElement(),
   XSDConstants.VALUE_ATTRIBUTE,
   true);
}
origin: org.eclipse/org.eclipse.wst.xsd.ui

if (registry != null)
 if (schema == st.getSchema())
org.eclipse.xsdXSDSimpleTypeDefinitiongetSchema

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

Popular in Java

  • Making http requests using okhttp
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Kernel (java.awt.image)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • 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