org.plasma.provisioning.xsd
Class PropertyAssembler
java.lang.Object
org.plasma.provisioning.xsd.AbstractAssembler
org.plasma.provisioning.xsd.PropertyAssembler
public class PropertyAssembler
- extends AbstractAssembler
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyAssembler
public PropertyAssembler(ConverterSupport converterSupport,
javax.xml.namespace.QName appNamespaceQName)
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 classcomplexType - the XSD complex typeexplicitGroup - the XSD parent groupchildExplicitGroup - the XSD child group, may be nullelement - the local elementsequenceNum - 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 classcomplexType - the Schema Complex Typeattribute - 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.