Codota Logo
XmlSchemaUse.<init>
Code IndexAdd Codota to your IDE (free)

How to use
org.apache.ws.commons.schema.XmlSchemaUse
constructor

Best Java code snippets using org.apache.ws.commons.schema.XmlSchemaUse.<init> (Showing top 7 results out of 315)

  • Common ways to obtain XmlSchemaUse
private void myMethod () {
XmlSchemaUse x =
  • Codota IconString value;new XmlSchemaUse(value)
  • Smart code suggestions by Codota
}
origin: org.apache.ws.commons.schema/XmlSchema

/**
 * Creates new XmlSchemaAttribute
 */
public XmlSchemaAttribute() {
  form = new XmlSchemaForm(XmlSchemaForm.NONE);
  use = new XmlSchemaUse(Constants.BlockConstants.NONE);
}
origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

/**
 * Creates new XmlSchemaAttribute
 */
public XmlSchemaAttribute() {
  form = new XmlSchemaForm(XmlSchemaForm.NONE);
  use = new XmlSchemaUse(Constants.BlockConstants.NONE);
}
origin: org.apache.ws.schema/XmlSchema

/**
 * Creates new XmlSchemaAttribute
 */
public XmlSchemaAttribute() {
  form = new XmlSchemaForm(XmlSchemaForm.NONE);
  use = new XmlSchemaUse(Constants.BlockConstants.NONE);
}
origin: org.apache.ws.commons.schema/XmlSchema

attr.use = new XmlSchemaUse(useType);
origin: org.apache.ws.schema/XmlSchema

attr.use = new XmlSchemaUse(useType);
origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

attr.use = new XmlSchemaUse(useType);
origin: org.wso2.carbon.data/org.wso2.carbon.dataservices.core

/**
 * Adds the given parameter to the complex type.
 * @param complexType The complex type which the attribute will be added to
 * @param name The name of the attribute
 * @param xsdType The type of the attribute
 */
@SuppressWarnings("unchecked")
private static void addAttributeToComplexType(XmlSchemaComplexType complexType, String name,
    QName xsdType) {
  XmlSchemaAttribute attr = new XmlSchemaAttribute();
  attr.setName(name);
  attr.setSchemaTypeName(xsdType);
  attr.setUse(new XmlSchemaUse("optional"));
  XmlSchemaAttribute tmpAttr;
  for (Iterator<XmlSchemaAttribute> itr = complexType.getAttributes().getIterator(); 
       itr.hasNext();) {
    tmpAttr = itr.next();
    if (tmpAttr.getName().equals(attr.getName())) {
      /* current attribute is already set, nothing more to do */
      return;
    }
  }
  complexType.getAttributes().add(attr);
}
 
org.apache.ws.commons.schemaXmlSchemaUse<init>

Javadoc

Creates new XmlSchemaUse

Popular methods of XmlSchemaUse

  • getValue
  • equals
  • toString

Popular in Java

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • scheduleAtFixedRate (Timer)
    Schedules the specified task for repeated fixed-rate execution, beginning after the specified delay.
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • KeyStore (java.security)
    This class represents an in-memory collection of keys and certificates. It manages two types of entr
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now