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

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

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

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

XmlSchemaForm getFormDefault(Element el, String attrName) {
  if (el.getAttributeNode(attrName) != null) {
    String value = el.getAttribute(attrName);
    return new XmlSchemaForm(value);
  } else
    return new XmlSchemaForm("unqualified");
}
origin: org.apache.ws.schema/XmlSchema

XmlSchemaForm getFormDefault(Element el, String attrName) {
  if (el.getAttributeNode(attrName) != null) {
    String value = el.getAttribute(attrName);
    return new XmlSchemaForm(value);
  } else
    return new XmlSchemaForm("unqualified");
}
origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

XmlSchemaForm getFormDefault(Element el, String attrName) {
  if (el.getAttributeNode(attrName) != null) {
    String value = el.getAttribute(attrName);
    return new XmlSchemaForm(value);
  } else
    return new XmlSchemaForm("unqualified");
}
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.schema/XmlSchema

/**
 * Creates new XmlSchemaElement
 */
public XmlSchemaElement() {
  constraints = new XmlSchemaObjectCollection();
  isAbstract = false;
  isNillable = false;
  form = new XmlSchemaForm(XmlSchemaForm.NONE);
  finalDerivation = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE);
  block = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE);
}
origin: org.wso2.carbon.data/org.wso2.carbon.dataservices.core

/**
 * Retrieve the XML schema with the given namespace.
 * @param cparams Common parameters used in the schema generator
 * @param namespace The target namespace of the XML schema
 * @return The XML schema object
 */
private static XmlSchema retrieveSchema(CommonParams cparams, String namespace) {
  Map<String, XmlSchema> schemaMap = cparams.getSchemaMap();
  if (!schemaMap.containsKey(namespace)) {
    XmlSchema schema = new XmlSchema(namespace, cparams.getXmlSchemaCollection());
    schema.setNamespaceContext(new NamespaceMap());
    schemaMap.put(namespace, schema);
    schema.setElementFormDefault(new XmlSchemaForm(XmlSchemaForm.QUALIFIED));
    schema.setAttributeFormDefault(new XmlSchemaForm(XmlSchemaForm.UNQUALIFIED));
  }
  return schemaMap.get(namespace);
}
 
origin: org.apache.ws.commons.schema/XmlSchema

/**
 * Creates new XmlSchemaElement
 */
public XmlSchemaElement() {
  constraints = new XmlSchemaObjectCollection();
  isAbstract = false;
  isNillable = false;
  form = new XmlSchemaForm(XmlSchemaForm.NONE);
  finalDerivation = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE);
  block = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE);
}
origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

/**
 * Creates new XmlSchemaElement
 */
public XmlSchemaElement() {
  constraints = new XmlSchemaObjectCollection();
  isAbstract = false;
  isNillable = false;
  form = new XmlSchemaForm(XmlSchemaForm.NONE);
  finalDerivation = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE);
  block = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE);
}
origin: org.apache.ws.commons.schema/XmlSchema

attr.form = new XmlSchemaForm(formValue);
origin: org.apache.ws.schema/XmlSchema

attr.form = new XmlSchemaForm(formValue);
origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

attr.form = new XmlSchemaForm(formValue);
origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

/**
 * Creates new XmlSchema
 */
public XmlSchema(XmlSchemaCollection parent) {
  this.parent = parent;
  attributeFormDefault = new XmlSchemaForm(XmlSchemaForm.UNQUALIFIED);
  elementFormDefault = new XmlSchemaForm(XmlSchemaForm.UNQUALIFIED);
  blockDefault = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE);
  finalDefault = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE);
  items = new XmlSchemaObjectCollection();
  includes = new XmlSchemaObjectCollection();
  elements = new XmlSchemaObjectTable();
  attributeGroups = new XmlSchemaObjectTable();
  attributes = new XmlSchemaObjectTable();
  groups = new XmlSchemaObjectTable();
  notations = new XmlSchemaObjectTable();
  schemaTypes = new XmlSchemaObjectTable();
}
origin: org.apache.ws.commons.schema/XmlSchema

if (el.hasAttribute("form")) {
  String formDef = el.getAttribute("form");
  element.form = new XmlSchemaForm(formDef);
  isQualified = formDef.equals(XmlSchemaForm.QUALIFIED);
origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

if (el.hasAttribute("form")) {
  String formDef = el.getAttribute("form");
  element.form = new XmlSchemaForm(formDef);
  isQualified = formDef.equals(XmlSchemaForm.QUALIFIED);
origin: org.apache.ws.schema/XmlSchema

if (el.hasAttribute("form")) {
  String formDef = el.getAttribute("form");
  element.form = new XmlSchemaForm(formDef);
  isQualified = formDef.equals(XmlSchemaForm.QUALIFIED);
origin: org.apache.ws.schema/XmlSchema

attributeFormDefault = new XmlSchemaForm(XmlSchemaForm.UNQUALIFIED);
elementFormDefault = new XmlSchemaForm(XmlSchemaForm.UNQUALIFIED);
blockDefault = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE);
finalDefault = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE);
origin: org.apache.ws.commons.schema/XmlSchema

attributeFormDefault = new XmlSchemaForm(XmlSchemaForm.UNQUALIFIED);
elementFormDefault = new XmlSchemaForm(XmlSchemaForm.UNQUALIFIED);
blockDefault = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE);
finalDefault = new XmlSchemaDerivationMethod(Constants.BlockConstants.NONE);
org.apache.ws.commons.schemaXmlSchemaForm<init>

Javadoc

Creates new XmlSchemaForm

Popular methods of XmlSchemaForm

  • equals
  • getValue
  • schemaValueOf

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • runOnUiThread (Activity)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
  • ImageIO (javax.imageio)
  • JPanel (javax.swing)
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