/* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (http://www.swig.org). * Version 1.3.31 * * Do not make changes to this file unless you know what you are doing--modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ package com.entrouvert.lasso; public class SamlAttribute extends SamlAttributeDesignator { protected SamlAttribute(long cPtr, boolean cMemoryOwn) { super(cPtr, cMemoryOwn); } protected static long getCPtr(SamlAttribute obj) { return (obj == null) ? 0 : obj.swigCPtr; } protected void finalize() { delete(); } public void delete() { super.delete(); } public void setAttributeName(String value) { lassoJNI.SamlAttribute_attributeName_set(swigCPtr, this, value); } public String getAttributeName() { return lassoJNI.SamlAttribute_attributeName_get(swigCPtr, this); } public void setAttributeNamespace(String value) { lassoJNI.SamlAttribute_attributeNamespace_set(swigCPtr, this, value); } public String getAttributeNamespace() { return lassoJNI.SamlAttribute_attributeNamespace_get(swigCPtr, this); } public void setAttributeValue(NodeList value) { lassoJNI.SamlAttribute_attributeValue_set(swigCPtr, this, NodeList.getCPtr(value), value); } public NodeList getAttributeValue() { long cPtr = lassoJNI.SamlAttribute_attributeValue_get(swigCPtr, this); return (cPtr == 0) ? null : new NodeList(cPtr, false); } public SamlAttribute() { this(lassoJNI.new_SamlAttribute(), true); } public String dump() { return lassoJNI.SamlAttribute_dump(swigCPtr, this); } }