org.jbind.xml.core.cmp
Interface IWildcard

All Known Implementing Classes:
Wildcard

public interface IWildcard


Method Summary
 boolean getIsNegative()
          Determines if the namespaces in the namespace set are the allowed namespaces or if they are the prohibited namespaces.
 java.util.Set getNamespaces()
          Gets the namespace set.
 ProcessContentsType getProcessContentsType()
           
 IWildcard intersect(IWildcard aWildcard, ProcessContentsType aProcessContentsType)
           
 boolean isAllowed(IDataRefOrDecl aDecl)
           
 boolean isAllowed(IRef aRef)
           
 boolean isAllowed(java.lang.String aNamespace)
           
 boolean isSubset(IWildcard aWildcard)
          Checks if this wildcard is a subset of the specified wildcard.
 IWildcard negate()
           
 IWildcard union(IWildcard aWildcard, ProcessContentsType aProcessContentsType)
           
 

Method Detail

intersect

public IWildcard intersect(IWildcard aWildcard,
                           ProcessContentsType aProcessContentsType)

union

public IWildcard union(IWildcard aWildcard,
                       ProcessContentsType aProcessContentsType)

negate

public IWildcard negate()

getIsNegative

public boolean getIsNegative()
Determines if the namespaces in the namespace set are the allowed namespaces or if they are the prohibited namespaces.

Returns:
Returns true iff the namespace set contains the allowed namespaces.

getNamespaces

public java.util.Set getNamespaces()
Gets the namespace set.

Returns:
(required). A set of namespace strings.

isAllowed

public boolean isAllowed(IDataRefOrDecl aDecl)

isAllowed

public boolean isAllowed(IRef aRef)

isAllowed

public boolean isAllowed(java.lang.String aNamespace)

isSubset

public boolean isSubset(IWildcard aWildcard)
Checks if this wildcard is a subset of the specified wildcard.

Returns:
Returns true iff this wildcard is a subset of the specified wildcard.

getProcessContentsType

public ProcessContentsType getProcessContentsType()