org.apache.rampart.policy.builders
Class OptimizePartsBuilder

java.lang.Object
  extended by org.apache.rampart.policy.builders.OptimizePartsBuilder
All Implemented Interfaces:
org.apache.neethi.builders.AssertionBuilder

public class OptimizePartsBuilder
extends java.lang.Object
implements org.apache.neethi.builders.AssertionBuilder

OptimizePartsBuilder creates the OptimizePartsConfig This clase deserialize the following XML fragment inside the RampartConfig. Example

<ramp:optimizeParts>
<ramp:expressions>
<ramp:expression>//ns1:data1</ramp:expression>
<ramp:expression>//ns2:data2</ramp:expression>
</ramp:expressions>
 <ramp:namespaces>
<nampespace uri="http://test1.com" prefix="ns1"/>
<nampespace uri="http://test2.com" prefix="ns2"/>
</ramp:namespaces>
</ramp:optimizeParts>

See Also:
OptimizePartsConfig

Constructor Summary
OptimizePartsBuilder()
           
 
Method Summary
 org.apache.neethi.Assertion build(org.apache.axiom.om.OMElement element, org.apache.neethi.AssertionBuilderFactory factory)
           
 javax.xml.namespace.QName[] getKnownElements()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptimizePartsBuilder

public OptimizePartsBuilder()
Method Detail

build

public org.apache.neethi.Assertion build(org.apache.axiom.om.OMElement element,
                                         org.apache.neethi.AssertionBuilderFactory factory)
                                  throws java.lang.IllegalArgumentException
Specified by:
build in interface org.apache.neethi.builders.AssertionBuilder
Throws:
java.lang.IllegalArgumentException

getKnownElements

public javax.xml.namespace.QName[] getKnownElements()
Specified by:
getKnownElements in interface org.apache.neethi.builders.AssertionBuilder