Codota Logo
XmlSchemaAttribute.getForm
Code IndexAdd Codota to your IDE (free)

How to use
getForm
method
in
org.apache.ws.commons.schema.XmlSchemaAttribute

Best Java code snippets using org.apache.ws.commons.schema.XmlSchemaAttribute.getForm (Showing top 6 results out of 315)

  • Common ways to obtain XmlSchemaAttribute
private void myMethod () {
XmlSchemaAttribute x =
  • Codota Iconnew XmlSchemaAttribute()
  • Smart code suggestions by Codota
}
origin: apache/cxf

private boolean getAttributeQualification(XmlSchemaAttribute attr, String uri) {
  QName schemaName = attr.getQName();
  boolean qualified = false;
  if (attr.getForm() == XmlSchemaForm.QUALIFIED) {
    qualified = true;
  } else {
    qualified = WSDLUtils.isElementFormQualified(xmlSchemaList, schemaName);
  }
  return 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);
}
org.apache.ws.commons.schemaXmlSchemaAttributegetForm

Popular methods of XmlSchemaAttribute

  • getSchemaTypeName
  • getQName
  • <init>
  • getRef
  • getName
  • getUnhandledAttributes
  • isRef
  • getSchemaType
  • getUse
  • setAnnotation
  • setName
  • setSchemaTypeName
  • setName,
  • setSchemaTypeName,
  • setUnhandledAttributes,
  • getDefaultValue,
  • getFixedValue,
  • addMetaInfo,
  • getMetaInfoMap,
  • getRefName,
  • getWireName

Popular in Java

  • Reactive rest calls using spring rest template
  • addToBackStack (FragmentTransaction)
  • getSystemService (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Vector (java.util)
    The Vector class implements a growable array of objects. Like an array, it contains components that
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
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