Codota Logo
XmlSchema.getAttributeFormDefault
Code IndexAdd Codota to your IDE (free)

How to use
getAttributeFormDefault
method
in
org.apache.ws.commons.schema.XmlSchema

Best Java code snippets using org.apache.ws.commons.schema.XmlSchema.getAttributeFormDefault (Showing top 13 results out of 315)

  • Common ways to obtain XmlSchema
private void myMethod () {
XmlSchema x =
  • Codota IconXmlSchemaExternal xmlSchemaExternal;xmlSchemaExternal.getSchema()
  • Codota IconMap map;Object key;(XmlSchema) map.get(key)
  • Codota IconXmlSchemaCollection xmlSchemaCollection;Element elem;String systemId;xmlSchemaCollection.read(elem, systemId)
  • Smart code suggestions by Codota
}
origin: org.apache.cxf/cxf-core

public void setSchema(XmlSchema schema) {
  this.schema = schema;
  isElementQualified = schema.getElementFormDefault().equals(XmlSchemaForm.QUALIFIED);
  isAttributeQualified = schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED);
}
origin: apache/cxf

private static boolean isAttributeFormQualified(XmlSchema schema, String uri) {
  if (uri.equals(schema.getTargetNamespace())) {
    return schema.getAttributeFormDefault() == XmlSchemaForm.QUALIFIED;
  }
  for (XmlSchemaExternal extSchema : schema.getExternals()) {
    return isAttributeFormQualified(extSchema.getSchema(), uri);
  }
  return false;
}
origin: org.apache.cxf/cxf-bundle-jaxrs

public void setSchema(XmlSchema schema) {
  this.schema = schema;
  isElementQualified = schema.getElementFormDefault().equals(XmlSchemaForm.QUALIFIED);
  isAttributeQualified = schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED);
}
origin: apache/cxf

public void setSchema(XmlSchema schema) {
  this.schema = schema;
  isElementQualified = schema.getElementFormDefault().equals(XmlSchemaForm.QUALIFIED);
  isAttributeQualified = schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED);
}
origin: org.apache.cxf/cxf-api

public void setSchema(XmlSchema schema) {
  this.schema = schema;
  isElementQualified = schema.getElementFormDefault().equals(XmlSchemaForm.QUALIFIED);
  isAttributeQualified = schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED);
}
origin: org.apache.cxf/cxf-api

public static boolean isAttributeNameQualified(XmlSchemaAttribute attribute, XmlSchema schema) {
  if (attribute.isRef()) {
    throw new RuntimeException("isElementNameQualified on element with ref=");
  }
  if (attribute.getForm().equals(XmlSchemaForm.QUALIFIED)) {
    return true;
  }
  if (attribute.getForm().equals(XmlSchemaForm.UNQUALIFIED)) {
    return false;
  }
  return schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED);
}
origin: apache/cxf

public static boolean isAttributeNameQualified(XmlSchemaAttribute attribute, XmlSchema schema) {
  if (attribute.isRef()) {
    throw new RuntimeException("isElementNameQualified on element with ref=");
  }
  if (attribute.getForm().equals(XmlSchemaForm.QUALIFIED)) {
    return true;
  }
  if (attribute.getForm().equals(XmlSchemaForm.UNQUALIFIED)) {
    return false;
  }
  return schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED);
}
origin: org.apache.cxf/cxf-common-utilities

public static boolean isAttributeNameQualified(XmlSchemaAttribute attribute, XmlSchema schema) {
  if (attribute.isRef()) {
    throw new RuntimeException("isElementNameQualified on element with ref=");
  }
  if (attribute.getForm().equals(XmlSchemaForm.QUALIFIED)) {
    return true;
  }
  if (attribute.getForm().equals(XmlSchemaForm.UNQUALIFIED)) {
    return false;
  }
  return schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED);
}
origin: org.apache.cxf/cxf-core

public static boolean isAttributeNameQualified(XmlSchemaAttribute attribute, XmlSchema schema) {
  if (attribute.isRef()) {
    throw new RuntimeException("isElementNameQualified on element with ref=");
  }
  if (attribute.getForm().equals(XmlSchemaForm.QUALIFIED)) {
    return true;
  }
  if (attribute.getForm().equals(XmlSchemaForm.UNQUALIFIED)) {
    return false;
  }
  return schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED);
}
origin: org.apache.cxf/cxf-bundle-jaxrs

public static boolean isAttributeNameQualified(XmlSchemaAttribute attribute, XmlSchema schema) {
  if (attribute.isRef()) {
    throw new RuntimeException("isElementNameQualified on element with ref=");
  }
  if (attribute.getForm().equals(XmlSchemaForm.QUALIFIED)) {
    return true;
  }
  if (attribute.getForm().equals(XmlSchemaForm.UNQUALIFIED)) {
    return false;
  }
  return schema.getAttributeFormDefault().equals(XmlSchemaForm.QUALIFIED);
}
origin: org.apache.ws.commons.schema/XmlSchema

boolean isQualified = schema.getAttributeFormDefault().getValue()
    .equals(XmlSchemaForm.QUALIFIED);
if (attr.name != null) {
origin: org.apache.ws.schema/XmlSchema

boolean isQualified = schema.getAttributeFormDefault().getValue()
    .equals(XmlSchemaForm.QUALIFIED);
if (attr.name != null) {
origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

boolean isQualified = schema.getAttributeFormDefault().getValue().equals(XmlSchemaForm.QUALIFIED);
if (attr.name != null) {
  final String name = attr.name;
org.apache.ws.commons.schemaXmlSchemagetAttributeFormDefault

Popular methods of XmlSchema

  • getTargetNamespace
  • write
    Serialie the schema to a given writer
  • getSourceURI
  • getElements
  • getElementByName
  • getItems
  • getTypeByName
    Protected method that allows safe (non-recursive schema loading). It looks for a type with constrain
  • getNamespaceContext
  • setNamespaceContext
    Sets the schema elements namespace context. This may be used for schema serialization, until a bette
  • getSchemaTypes
  • <init>
    Creates new XmlSchema
  • getExternals
  • <init>,
  • getExternals,
  • getElementFormDefault,
  • setElementFormDefault,
  • getSchemaDocument,
  • getIncludes,
  • setTargetNamespace,
  • setAttributeFormDefault,
  • getAttributes

Popular in Java

  • Reactive rest calls using spring rest template
  • setRequestProperty (URLConnection)
  • getSystemService (Context)
  • putExtra (Intent)
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • JFileChooser (javax.swing)
  • JList (javax.swing)
  • JOptionPane (javax.swing)
  • JTable (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