org.apache.axis2.policy.model
Class MTOMAssertion

java.lang.Object
  extended by org.apache.axis2.policy.model.MTOMAssertion
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class MTOMAssertion
extends java.lang.Object
implements org.apache.neethi.Assertion

Assertion to pick up the QName


Field Summary
static java.lang.String MTOM_SERIALIZATION_CONFIG_LN
           
static java.lang.String NS
           
static java.lang.String PREFIX
           
 
Constructor Summary
MTOMAssertion()
           
 
Method Summary
 boolean equal(org.apache.neethi.PolicyComponent policyComponent)
           
 QName getName()
           
 short getType()
           
 boolean isOptional()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setOptional(boolean isOptional)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NS

public static final java.lang.String NS
See Also:
Constant Field Values

MTOM_SERIALIZATION_CONFIG_LN

public static final java.lang.String MTOM_SERIALIZATION_CONFIG_LN
See Also:
Constant Field Values

PREFIX

public static final java.lang.String PREFIX
See Also:
Constant Field Values
Constructor Detail

MTOMAssertion

public MTOMAssertion()
Method Detail

getName

public QName getName()
Specified by:
getName in interface org.apache.neethi.Assertion

getType

public short getType()
Specified by:
getType in interface org.apache.neethi.PolicyComponent

equal

public boolean equal(org.apache.neethi.PolicyComponent policyComponent)
Specified by:
equal in interface org.apache.neethi.PolicyComponent

isOptional

public boolean isOptional()
Specified by:
isOptional in interface org.apache.neethi.Assertion

setOptional

public void setOptional(boolean isOptional)

serialize

public void serialize(javax.xml.stream.XMLStreamWriter writer)
               throws javax.xml.stream.XMLStreamException
Specified by:
serialize in interface org.apache.neethi.Assertion
Specified by:
serialize in interface org.apache.neethi.PolicyComponent
Throws:
javax.xml.stream.XMLStreamException

normalize

public org.apache.neethi.PolicyComponent normalize()
Specified by:
normalize in interface org.apache.neethi.Assertion


Copyright © 2007 Apache Web Services Project. All Rights Reserved.