Codota Logo
XmlSchemaSerializer.serializeAnnotation
Code IndexAdd Codota to your IDE (free)

How to use
serializeAnnotation
method
in
org.apache.ws.commons.schema.XmlSchemaSerializer

Best Java code snippets using org.apache.ws.commons.schema.XmlSchemaSerializer.serializeAnnotation (Showing top 20 results out of 315)

  • Common ways to obtain XmlSchemaSerializer
private void myMethod () {
XmlSchemaSerializer x =
  • Codota Iconnew XmlSchemaSerializer()
  • Smart code suggestions by Codota
}
origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

private Element constructFacet(XmlSchemaFacet facetObj, Document doc,
                XmlSchema schema, String tagName) {
  Element facetEl = createNewElement(doc, tagName,
      schema.schema_ns_prefix, XmlSchema.SCHEMA_NS);
  facetEl.setAttribute("value",
      facetObj.value.toString());
  if (facetObj.fixed)
    facetEl.setAttribute("fixed", "true");
  if (facetObj.annotation != null) {
    Element annotation = serializeAnnotation(doc,
        facetObj.annotation, schema);
    facetEl.appendChild(annotation);
  }
  return facetEl;
}
origin: org.apache.ws.commons.schema/XmlSchema

private Element constructFacet(XmlSchemaFacet facetObj, Document doc,
                XmlSchema schema, String tagName) {
  Element facetEl = createNewElement(doc, tagName,
      schema.schema_ns_prefix, XmlSchema.SCHEMA_NS);
  facetEl.setAttribute("value",
      facetObj.value.toString());
  if (facetObj.fixed)
    facetEl.setAttribute("fixed", "true");
  if (facetObj.annotation != null) {
    Element annotation = serializeAnnotation(doc,
        facetObj.annotation, schema);
    facetEl.appendChild(annotation);
  }
  return facetEl;
}
origin: org.apache.ws.schema/XmlSchema

private Element constructFacet(XmlSchemaFacet facetObj, Document doc,
                XmlSchema schema, String tagName) {
  Element facetEl = createNewElement(doc, tagName,
      schema.schema_ns_prefix, XmlSchema.SCHEMA_NS);
  facetEl.setAttribute("value",
      facetObj.value.toString());
  if (facetObj.fixed)
    facetEl.setAttribute("fixed", "true");
  if (facetObj.annotation != null) {
    Element annotation = serializeAnnotation(doc,
        facetObj.annotation, schema);
    facetEl.appendChild(annotation);
  }
  return facetEl;
}
origin: org.apache.ws.commons.schema/XmlSchema

Element annotation = serializeAnnotation(doc,
    importObj.annotation, schema);
origin: org.apache.ws.commons.schema/XmlSchema

Element annotation = serializeAnnotation(doc,
    fieldObj.annotation, schema);
field.appendChild(annotation);
origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

Element annotation = serializeAnnotation(doc,
    fieldObj.annotation, schema);
field.appendChild(annotation);
origin: org.apache.ws.commons.schema/XmlSchema

Element annotation = serializeAnnotation(doc,
    selectorObj.annotation, schema);
selector.appendChild(annotation);
origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

Element annotation = serializeAnnotation(doc,
    selectorObj.annotation, schema);
selector.appendChild(annotation);
origin: org.apache.ws.schema/XmlSchema

Element annotation = serializeAnnotation(doc,
    fieldObj.annotation, schema);
field.appendChild(annotation);
origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

Element annotation = serializeAnnotation(doc, listObj.annotation, schema);
list.appendChild(annotation);
origin: org.apache.ws.schema/XmlSchema

Element annotation = serializeAnnotation(doc, listObj.annotation, schema);
list.appendChild(annotation);
origin: org.apache.ws.schema/XmlSchema

Element annotation = serializeAnnotation(doc,
    selectorObj.annotation, schema);
selector.appendChild(annotation);
origin: org.apache.ws.commons.schema/XmlSchema

Element annotation = serializeAnnotation(doc,
    anyObj.annotation, schema);
anyEl.appendChild(annotation);
origin: org.apache.ws.commons.schema/XmlSchema

Element annotation = serializeAnnotation(doc, listObj.annotation, schema);
list.appendChild(annotation);
origin: org.apache.ws/com.springsource.org.apache.ws.commons.schema

Element annotation = serializeAnnotation(doc,
    attributeGroupObj.annotation, schema);
attributeGroupRef.appendChild(annotation);
origin: org.apache.ws.commons.schema/XmlSchema

Element annotation = serializeAnnotation(doc,
    includeObj.annotation, schema);
includeEl.appendChild(annotation);
origin: org.apache.ws.schema/XmlSchema

Element annotation = serializeAnnotation(doc,
    includeObj.annotation, schema);
includeEl.appendChild(annotation);
origin: org.apache.ws.commons.schema/XmlSchema

Element annotation = serializeAnnotation(doc,
    complexContentObj.annotation, schema);
complexContent.appendChild(annotation);
origin: org.apache.ws.schema/XmlSchema

Element annotation = serializeAnnotation(doc, allObj.annotation,
    schema);
allEl.appendChild(annotation);
origin: org.apache.ws.commons.schema/XmlSchema

Element annotation = serializeAnnotation(doc,
    groupRefObj.annotation, schema);
groupRef.appendChild(annotation);
org.apache.ws.commons.schemaXmlSchemaSerializerserializeAnnotation

Javadoc

* Element serializeAnnotation(Document doc, XmlSchemaAnnotation annotationObj, XmlSchema schema)

Each member of complex type will be appended and pass the element created. Complex type processed according to w3c Recommendation May 2 2001.

Parameter: doc - Document the parent use. annotationObj - XmlSchemaAnnotation that will be serialized. schema - Schema Document object of the parent.

Return: annotation element that part of any type. will contain document and appinfo for child. *

Popular methods of XmlSchemaSerializer

  • serializeSchema
    * Document[] serializeSchema(XmlSchema schemaObj, boolean serializeIncluded) Serialize XmlSchema ob
  • setExtReg
    Set the registry of extensions for this serializer.
  • <init>
    Create a new serializer.
  • appendElement
  • constructFacet
  • convertString
  • createNewElement
  • getParts
  • processExtensibilityComponents
    A generic method to process the extra attributes and the the extra elements present within the schem
  • resolveQName
    will search whether the prefix is available in global hash table, if it is there than append the pre
  • serializeAll
    * Element serializeAll(Document doc, XmlSchemaAll allObj, XmlSchema schema) throws XmlSchemaSerializ
  • serializeAny
    * Element serializeAny(Document doc, XmlSchemaAny anyObj, XmlSchema schema) Each member of complex t
  • serializeAll,
  • serializeAny,
  • serializeAnyAttribute,
  • serializeAppInfo,
  • serializeAttribute,
  • serializeAttributeGroup,
  • serializeAttributeGroupRef,
  • serializeChoice,
  • serializeComplexContent

Popular in Java

  • Making http post requests using okhttp
  • compareTo (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • addToBackStack (FragmentTransaction)
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • IsNull (org.hamcrest.core)
    Is the value null?
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