diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-21 20:31:48 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-10-21 20:31:48 +0000 |
commit | c9dbd184c6731e08baf3575a3e66e34993760b23 (patch) | |
tree | 7bc31031143ef16e2e6d84f94279976fe6f8e82a /branches/sca-equinox/modules/policy-xml/src/main/java/org/apache/tuscany/sca/policy/xml/BindingTypeProcessor.java | |
parent | 2e3e92d8042285aaa02dd22d288292f1d6952bde (diff) |
Format the code
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@706758 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/sca-equinox/modules/policy-xml/src/main/java/org/apache/tuscany/sca/policy/xml/BindingTypeProcessor.java')
-rw-r--r-- | branches/sca-equinox/modules/policy-xml/src/main/java/org/apache/tuscany/sca/policy/xml/BindingTypeProcessor.java | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/branches/sca-equinox/modules/policy-xml/src/main/java/org/apache/tuscany/sca/policy/xml/BindingTypeProcessor.java b/branches/sca-equinox/modules/policy-xml/src/main/java/org/apache/tuscany/sca/policy/xml/BindingTypeProcessor.java index a91a021c6a..ae6805c832 100644 --- a/branches/sca-equinox/modules/policy-xml/src/main/java/org/apache/tuscany/sca/policy/xml/BindingTypeProcessor.java +++ b/branches/sca-equinox/modules/policy-xml/src/main/java/org/apache/tuscany/sca/policy/xml/BindingTypeProcessor.java @@ -31,7 +31,6 @@ import org.apache.tuscany.sca.policy.IntentAttachPointTypeFactory; import org.apache.tuscany.sca.policy.PolicyFactory; import org.apache.tuscany.sca.policy.impl.BindingTypeImpl; - /** * Processor for handling XML models of BindingType meta data definitions * @@ -39,30 +38,33 @@ import org.apache.tuscany.sca.policy.impl.BindingTypeImpl; */ public class BindingTypeProcessor extends IntentAttachPointTypeProcessor { - public BindingTypeProcessor(PolicyFactory policyFactory, IntentAttachPointTypeFactory intentAttachPointTypeFactory, - StAXArtifactProcessor<Object> extensionProcessor, Monitor monitor) { + public BindingTypeProcessor(PolicyFactory policyFactory, + IntentAttachPointTypeFactory intentAttachPointTypeFactory, + StAXArtifactProcessor<Object> extensionProcessor, + Monitor monitor) { super(policyFactory, intentAttachPointTypeFactory, extensionProcessor, monitor); } - public BindingTypeProcessor(FactoryExtensionPoint modelFactories, - StAXArtifactProcessor<Object> extensionProcessor, - Monitor monitor) { - super(modelFactories.getFactory(PolicyFactory.class), - modelFactories.getFactory(IntentAttachPointTypeFactory.class), extensionProcessor, monitor); + public BindingTypeProcessor(FactoryExtensionPoint modelFactories, + StAXArtifactProcessor<Object> extensionProcessor, + Monitor monitor) { + super(modelFactories.getFactory(PolicyFactory.class), modelFactories + .getFactory(IntentAttachPointTypeFactory.class), extensionProcessor, monitor); } public QName getArtifactType() { return BINDING_TYPE_QNAME; } - + @Override - protected IntentAttachPointType resolveExtensionType(IntentAttachPointType extnType, ModelResolver resolver) throws ContributionResolveException { - if ( extnType instanceof BindingTypeImpl ) { + protected IntentAttachPointType resolveExtensionType(IntentAttachPointType extnType, ModelResolver resolver) + throws ContributionResolveException { + if (extnType instanceof BindingTypeImpl) { BindingTypeImpl bindingType = (BindingTypeImpl)extnType; return resolver.resolveModel(BindingTypeImpl.class, bindingType); } else { return extnType; } - + } } |