Package org.eclipse.persistence.internal.oxm.schema.model

Examples of org.eclipse.persistence.internal.oxm.schema.model.AnyAttribute


     * schema components will be generated and set accordingly.
     *
     * @param type the ComplexType which compositor(s) should be added to
     */
    private void addAnyAttributeToSchema(ComplexType type) {
        AnyAttribute anyAttribute = new AnyAttribute();
        anyAttribute.setProcessContents(SKIP);
        anyAttribute.setNamespace(Constants.ANY_NAMESPACE_OTHER);
        if (type.getSimpleContent() != null) {
          SimpleContent content = type.getSimpleContent();
            if(content.getExtension() != null){
              content.getExtension().setAnyAttribute(anyAttribute);
            }else if(content.getRestriction() != null){
View Full Code Here


        } else if (mapping instanceof XMLCompositeObjectMapping) {
            processXMLCompositeMapping((XMLCompositeObjectMapping) mapping, seq, ct, schemaForNamespace, workingSchema, properties, descriptors, false);
        } else if (mapping instanceof XMLCompositeCollectionMapping) {
            processXMLCompositeMapping((XMLCompositeCollectionMapping) mapping, seq, ct, schemaForNamespace, workingSchema, properties, descriptors, true);
        } else if (mapping instanceof XMLAnyAttributeMapping) {
            AnyAttribute anyAttribute = new AnyAttribute();
            anyAttribute.setProcessContents(AnyAttribute.LAX);
            ct.setAnyAttribute(anyAttribute);
        } else if (mapping instanceof XMLAnyObjectMapping) {
            processAnyMapping(seq, false);
        } else if (mapping instanceof XMLAnyCollectionMapping) {
            processAnyMapping(seq, true);
View Full Code Here

     * schema components will be generated and set accordingly.
     *
     * @param type the ComplexType which compositor(s) should be added to
     */
    private void addAnyAttributeToSchema(ComplexType type) {
        AnyAttribute anyAttribute = new AnyAttribute();
        anyAttribute.setProcessContents(SKIP);
        anyAttribute.setNamespace(XMLConstants.ANY_NAMESPACE_OTHER);
        if (type.getSimpleContent() != null) {
          SimpleContent content = type.getSimpleContent();
            if(content.getExtension() != null){
              content.getExtension().setAnyAttribute(anyAttribute);
            }else if(content.getRestriction() != null){
View Full Code Here

        } else if (mapping instanceof XMLCompositeObjectMapping) {
            processXMLCompositeMapping((XMLCompositeObjectMapping) mapping, seq, ct, schemaForNamespace, workingSchema, properties, descriptors, false);
        } else if (mapping instanceof XMLCompositeCollectionMapping) {
            processXMLCompositeMapping((XMLCompositeCollectionMapping) mapping, seq, ct, schemaForNamespace, workingSchema, properties, descriptors, true);
        } else if (mapping instanceof XMLAnyAttributeMapping) {
            AnyAttribute anyAttribute = new AnyAttribute();
            anyAttribute.setProcessContents(AnyAttribute.LAX);
            ct.setAnyAttribute(anyAttribute);
        } else if (mapping instanceof XMLAnyObjectMapping) {
            processAnyMapping(seq, false);
        } else if (mapping instanceof XMLAnyCollectionMapping) {
            processAnyMapping(seq, true);
View Full Code Here

     * schema components will be generated and set accordingly.
     *
     * @param type the ComplexType which compositor(s) should be added to
     */
    private void addAnyAttributeToSchema(ComplexType type) {
        AnyAttribute anyAttribute = new AnyAttribute();
        anyAttribute.setProcessContents(SKIP);
        anyAttribute.setNamespace(XMLConstants.ANY_NAMESPACE_OTHER);
        if (type.getSimpleContent() != null) {
            SimpleContent content = type.getSimpleContent();
            content.getRestriction().setAnyAttribute(anyAttribute);
        } else {
            type.setAnyAttribute(anyAttribute);
View Full Code Here

        } else if (mapping instanceof XMLCompositeObjectMapping) {
            processXMLCompositeMapping((XMLCompositeObjectMapping) mapping, seq, ct, schemaForNamespace, workingSchema, properties, descriptors, false);
        } else if (mapping instanceof XMLCompositeCollectionMapping) {
            processXMLCompositeMapping((XMLCompositeCollectionMapping) mapping, seq, ct, schemaForNamespace, workingSchema, properties, descriptors, true);
        } else if (mapping instanceof XMLAnyAttributeMapping) {
            AnyAttribute anyAttribute = new AnyAttribute();
            anyAttribute.setProcessContents(AnyAttribute.LAX);
            ct.setAnyAttribute(anyAttribute);
        } else if (mapping instanceof XMLAnyObjectMapping) {
            processAnyMapping(seq, false);
        } else if (mapping instanceof XMLAnyCollectionMapping) {
            processAnyMapping(seq, true);
View Full Code Here

     * schema components will be generated and set accordingly.
     *
     * @param type the ComplexType which compositor(s) should be added to
     */
    private void addAnyAttributeToSchema(ComplexType type) {
        AnyAttribute anyAttribute = new AnyAttribute();
        anyAttribute.setProcessContents(SKIP);
        anyAttribute.setNamespace(Constants.ANY_NAMESPACE_OTHER);
        if (type.getSimpleContent() != null) {
          SimpleContent content = type.getSimpleContent();
            if(content.getExtension() != null){
              content.getExtension().setAnyAttribute(anyAttribute);
            }else if(content.getRestriction() != null){
View Full Code Here

        } else if (mapping instanceof XMLCompositeObjectMapping) {
            processXMLCompositeMapping((XMLCompositeObjectMapping) mapping, seq, ct, schemaForNamespace, workingSchema, properties, descriptors, false);
        } else if (mapping instanceof XMLCompositeCollectionMapping) {
            processXMLCompositeMapping((XMLCompositeCollectionMapping) mapping, seq, ct, schemaForNamespace, workingSchema, properties, descriptors, true);
        } else if (mapping instanceof XMLAnyAttributeMapping) {
            AnyAttribute anyAttribute = new AnyAttribute();
            anyAttribute.setProcessContents(AnyAttribute.LAX);
            ct.setAnyAttribute(anyAttribute);
        } else if (mapping instanceof XMLAnyObjectMapping) {
            processAnyMapping(seq, false);
        } else if (mapping instanceof XMLAnyCollectionMapping) {
            processAnyMapping(seq, true);
View Full Code Here

     * schema components will be generated and set accordingly.
     *
     * @param type the ComplexType which compositor(s) should be added to
     */
    private void addAnyAttributeToSchema(ComplexType type) {
        AnyAttribute anyAttribute = new AnyAttribute();
        anyAttribute.setProcessContents(SKIP);
        anyAttribute.setNamespace(OTHER);
        if (type.getSimpleContent() != null) {
            SimpleContent content = type.getSimpleContent();
            content.getRestriction().setAnyAttribute(anyAttribute);
        } else {
            type.setAnyAttribute(anyAttribute);
View Full Code Here

        } else if (mapping instanceof XMLCompositeObjectMapping) {
            processXMLCompositeMapping((XMLCompositeObjectMapping) mapping, seq, ct, schemaForNamespace, workingSchema, properties, descriptors, false);
        } else if (mapping instanceof XMLCompositeCollectionMapping) {
            processXMLCompositeMapping((XMLCompositeCollectionMapping) mapping, seq, ct, schemaForNamespace, workingSchema, properties, descriptors, true);
        } else if (mapping instanceof XMLAnyAttributeMapping) {
            AnyAttribute anyAttribute = new AnyAttribute();
            anyAttribute.setProcessContents(AnyAttribute.LAX);
            ct.setAnyAttribute(anyAttribute);
        } else if (mapping instanceof XMLAnyObjectMapping) {
            processAnyMapping(seq, false);
        } else if (mapping instanceof XMLAnyCollectionMapping) {
            processAnyMapping(seq, true);
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.internal.oxm.schema.model.AnyAttribute

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.