org.plasma.provisioning.xsd
Class PropertyAssembler

java.lang.Object
  extended by org.plasma.provisioning.xsd.AbstractAssembler
      extended by org.plasma.provisioning.xsd.PropertyAssembler

public class PropertyAssembler
extends AbstractAssembler


Field Summary
 
Fields inherited from class org.plasma.provisioning.xsd.AbstractAssembler
destNamespacePrefix, destNamespaceURI, support
 
Constructor Summary
PropertyAssembler(ConverterSupport converterSupport, javax.xml.namespace.QName appNamespaceQName)
           
 
Method Summary
 Property buildDatatypeProperty(Class clss, AbstractComplexType complexType, Attribute attribute)
          Creates non-reference property definitions.
 void buildDataTypeReference(Property property, javax.xml.namespace.QName xsdTypeName)
           
 Property buildElementContentDatatypeProperty(Class clss, javax.xml.namespace.QName xsdTypeNameQName)
           
 Property buildProperty(Class clss, AbstractComplexType complexType, ExplicitGroup explicitGroup, ExplicitGroup childExplicitGroup, LocalElement element, int sequenceNum)
          Build a property from the given XDS structures.
 Property createDerivedPropertyOpposite(Class clss, Property sourceProperty)
           
 
Methods inherited from class org.plasma.provisioning.xsd.AbstractAssembler
createDocumentation, findAppInfoValue, formatLocalClassName, formatLocalPropertyName, getDocumentationContent, serializeElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyAssembler

public PropertyAssembler(ConverterSupport converterSupport,
                         javax.xml.namespace.QName appNamespaceQName)
Method Detail

buildProperty

public Property buildProperty(Class clss,
                              AbstractComplexType complexType,
                              ExplicitGroup explicitGroup,
                              ExplicitGroup childExplicitGroup,
                              LocalElement element,
                              int sequenceNum)
Build a property from the given XDS structures. Max occurs and min-occurs values are taken from the local element, child group, and then parent group in that order and if still null are given the XSD defaults.

Parameters:
clss - the provisioning class
complexType - the XSD complex type
explicitGroup - the XSD parent group
childExplicitGroup - the XSD child group, may be null
element - the local element
sequenceNum - the group sequence
Returns:
the property

buildDatatypeProperty

public Property buildDatatypeProperty(Class clss,
                                      AbstractComplexType complexType,
                                      Attribute attribute)
Creates non-reference property definitions.

Parameters:
clss - the owner class
complexType - the Schema Complex Type
attribute - the Schema Attribute
Returns:
the property definition

buildElementContentDatatypeProperty

public Property buildElementContentDatatypeProperty(Class clss,
                                                    javax.xml.namespace.QName xsdTypeNameQName)

createDerivedPropertyOpposite

public Property createDerivedPropertyOpposite(Class clss,
                                              Property sourceProperty)

buildDataTypeReference

public void buildDataTypeReference(Property property,
                                   javax.xml.namespace.QName xsdTypeName)


Copyright © 2013. All Rights Reserved.