JBoss port of sunxacml 2.0.8.Final-redhat-1

org.jboss.security.xacml.sunxacml.cond
Interface Expression

All Known Subinterfaces:
Evaluatable, Function
All Known Implementing Classes:
AbsFunction, AddFunction, AnyURIAttribute, Apply, AttributeDesignator, AttributeSelector, AttributeValue, BagAttribute, BagFunction, Base64BinaryAttribute, BooleanAttribute, ComparisonFunction, Condition, ConditionBagFunction, ConditionSetFunction, DateAttribute, DateMathFunction, DateTimeAttribute, DayTimeDurationAttribute, DivideFunction, DNSNameAttribute, DoubleAttribute, EqualFunction, FloorFunction, FunctionBase, GeneralBagFunction, GeneralSetFunction, HexBinaryAttribute, HigherOrderFunction, IntegerAttribute, IPAddressAttribute, IPv4AddressAttribute, IPv6AddressAttribute, LogicalFunction, MatchFunction, ModFunction, MultiplyFunction, NOfFunction, NotFunction, NumericConvertFunction, RFC822NameAttribute, RoundFunction, SetFunction, StringAttribute, StringFunction, StringNormalizeFunction, SubtractFunction, TimeAttribute, TimeInRangeFunction, URLStringCatFunction, VariableReference, X500NameAttribute, YearMonthDurationAttribute

public interface Expression

This interface represents the expression type in the XACML 2.0 schema.

Since:
2.0
Author:
Seth Proctor

Method Summary
 void encode(OutputStream output)
          Encodes this Expression into its XML representation and writes this encoding to the given OutputStream with no indentation.
 void encode(OutputStream output, Indenter indenter)
          Encodes this Expression into its XML representation and writes this encoding to the given OutputStream with indentation.
 URI getType()
          Returns the type of the expression.
 boolean returnsBag()
          Returns whether or not this expression returns, or evaluates to a Bag.
 

Method Detail

getType

URI getType()
Returns the type of the expression. This may be the data type of an AttributeValue, the return type of a Function, etc.

Returns:
the attribute type of the referenced expression

returnsBag

boolean returnsBag()
Returns whether or not this expression returns, or evaluates to a Bag. Note that Evaluatable, which extends this interface, defines evaluatesToBag which is essentially the same function. This method has been deprecated, and returnsBag is now the preferred way to query all Expressions.


encode

void encode(OutputStream output)
Encodes this Expression into its XML representation and writes this encoding to the given OutputStream with no indentation.

Parameters:
output - a stream into which the XML-encoded data is written

encode

void encode(OutputStream output,
            Indenter indenter)
Encodes this Expression into its XML representation and writes this encoding to the given OutputStream with indentation.

Parameters:
output - a stream into which the XML-encoded data is written
indenter - an object that creates indentation strings

JBoss port of sunxacml 2.0.8.Final-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.