org.systinet.wasp.policy
Class DefaultDomainExpression

java.lang.Object
  extended byorg.systinet.wasp.policy.DefaultDomainExpression
All Implemented Interfaces:
DomainExpression

public class DefaultDomainExpression
extends java.lang.Object
implements DomainExpression

This class represents default domain expression. A policy attached to default domain expression represents default policy for whole WSO2 SOA Enablement Server.

Since:
5.0
Component:
Core

Constructor Summary
DefaultDomainExpression()
          Creates an instance of this object.
DefaultDomainExpression(javax.xml.transform.Source source)
          Creates instance of this object from given XML source.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 javax.xml.transform.Source getContent()
          Gets XML content of this object.
 int hashCode()
           
 boolean includes(DomainExpression domainExpression)
          Returns always true.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDomainExpression

public DefaultDomainExpression(javax.xml.transform.Source source)
                        throws PolicyException
Creates instance of this object from given XML source.

Parameters:
source - XML source
Throws:
PolicyException - when an error occurs during creation

DefaultDomainExpression

public DefaultDomainExpression()
Creates an instance of this object.

Method Detail

includes

public boolean includes(DomainExpression domainExpression)
Returns always true.

Specified by:
includes in interface DomainExpression
Parameters:
domainExpression - domain expression to check
Returns:
always true

equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()

getContent

public javax.xml.transform.Source getContent()
                                      throws PolicyException
Gets XML content of this object.

Specified by:
getContent in interface DomainExpression
Returns:
the XML content source
Throws:
PolicyException - when an error occurs