Package org.opensaml.xacml.ctx.impl
Class AttributeTypeImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.xacml.impl.AbstractXACMLObject
-
- org.opensaml.xacml.ctx.impl.AttributeTypeImpl
-
- All Implemented Interfaces:
XMLObject,AttributeType,XACMLObject
public class AttributeTypeImpl extends AbstractXACMLObject implements AttributeType
Concrete implementation ofAttributeType.
-
-
Field Summary
Fields Modifier and Type Field Description private StringattributeIDAttributeID of the attribute.private XMLObjectChildrenList<AttributeValueType>attributeValuesList of values for this attribute.private StringdatatypeDatatype of the attribute.private StringissuerIssuer of the attribute.-
Fields inherited from interface org.opensaml.xacml.ctx.AttributeType
ATTRIBUTEID_ATTTRIB_NAME, DATATYPE_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ISSUER_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAttributeTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttributeId()List<AttributeValueType>getAttributeValues()StringgetDataType()StringgetIssuer()List<XMLObject>getOrderedChildren()voidsetAttributeID(String attributeId)voidsetDataType(String type)voidsetIssuer(String iss)-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Field Detail
-
issuer
private String issuer
Issuer of the attribute.
-
attributeID
private String attributeID
AttributeID of the attribute.
-
datatype
private String datatype
Datatype of the attribute.
-
attributeValues
private final XMLObjectChildrenList<AttributeValueType> attributeValues
List of values for this attribute.
-
-
Constructor Detail
-
AttributeTypeImpl
protected AttributeTypeImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
Constructor.- Parameters:
namespaceURI- the namespace the element is inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
getAttributeId
public String getAttributeId()
- Specified by:
getAttributeIdin interfaceAttributeType
-
getDataType
public String getDataType()
- Specified by:
getDataTypein interfaceAttributeType
-
getIssuer
public String getIssuer()
- Specified by:
getIssuerin interfaceAttributeType
-
setAttributeID
public void setAttributeID(String attributeId)
- Specified by:
setAttributeIDin interfaceAttributeType
-
setDataType
public void setDataType(String type)
- Specified by:
setDataTypein interfaceAttributeType
-
setIssuer
public void setIssuer(String iss)
- Specified by:
setIssuerin interfaceAttributeType
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject
-
getAttributeValues
public List<AttributeValueType> getAttributeValues()
- Specified by:
getAttributeValuesin interfaceAttributeType
-
-