public class SecurityElement extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Security.SecurityElement
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=8.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Security.SecurityElement
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
SecurityElement() |
SecurityElement(java.lang.Object instance)
Internal constructor.
|
SecurityElement(java.lang.String tag) |
SecurityElement(java.lang.String tag,
java.lang.String text) |
| Modifier and Type | Method and Description |
|---|---|
void |
AddAttribute(java.lang.String name,
java.lang.String value) |
void |
AddChild(SecurityElement child) |
java.lang.String |
Attribute(java.lang.String name) |
static SecurityElement |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into SecurityElement, a cast assert is made to check if types are compatible. |
SecurityElement |
Copy() |
boolean |
Equal(SecurityElement other) |
static java.lang.String |
Escape(java.lang.String str) |
static SecurityElement |
FromString(java.lang.String xml) |
Hashtable |
getAttributes() |
NetArrayList |
getChildren() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
java.lang.String |
getTag() |
java.lang.String |
getText() |
static boolean |
IsValidAttributeName(java.lang.String name) |
static boolean |
IsValidAttributeValue(java.lang.String value) |
static boolean |
IsValidTag(java.lang.String tag) |
static boolean |
IsValidText(java.lang.String text) |
SecurityElement |
SearchForChildByTag(java.lang.String tag) |
java.lang.String |
SearchForTextOfTag(java.lang.String tag) |
void |
setAttributes(Hashtable Attributes) |
void |
setChildren(NetArrayList Children) |
void |
setJCOInstance(JCObject instance) |
void |
setTag(java.lang.String Tag) |
void |
setText(java.lang.String Text) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public SecurityElement()
throws java.lang.Throwable
java.lang.Throwablepublic SecurityElement(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic SecurityElement(java.lang.String tag)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
public SecurityElement(java.lang.String tag,
java.lang.String text)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
public void AddAttribute(java.lang.String name,
java.lang.String value)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
public void AddChild(SecurityElement child) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public java.lang.String Attribute(java.lang.String name)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
OutOfMemoryException,
CultureNotFoundException,
ExternalException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionCultureNotFoundExceptionExternalExceptionpublic static SecurityElement cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into SecurityElement, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSecurityElement instancejava.lang.Throwable - in case of error during cast operationpublic SecurityElement Copy() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException
public boolean Equal(SecurityElement other) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static java.lang.String Escape(java.lang.String str)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
OutOfMemoryException,
IndexOutOfRangeException
public static SecurityElement FromString(java.lang.String xml) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public Hashtable getAttributes() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, FormatException
public NetArrayList getChildren() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic java.lang.String getTag()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getText()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
ArgumentNullException,
InvalidOperationException,
ArgumentException,
FormatException,
ArrayTypeMismatchException,
OutOfMemoryException,
CultureNotFoundException,
ExternalException
public static boolean IsValidAttributeName(java.lang.String name)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionPlatformNotSupportedExceptionpublic static boolean IsValidAttributeValue(java.lang.String value)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean IsValidTag(java.lang.String tag)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean IsValidText(java.lang.String text)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic SecurityElement SearchForChildByTag(java.lang.String tag) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
public java.lang.String SearchForTextOfTag(java.lang.String tag)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException,
OutOfMemoryException,
CultureNotFoundException,
ExternalException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionOutOfMemoryExceptionCultureNotFoundExceptionExternalExceptionpublic void setAttributes(Hashtable Attributes) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, CultureNotFoundException, ObjectDisposedException
public void setChildren(NetArrayList Children) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setTag(java.lang.String Tag)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
ArgumentNullException
public void setText(java.lang.String Text)
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
InvalidOperationException,
PlatformNotSupportedException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
FormatException