public class XmlElementAttribute extends Attribute
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Xml.Serialization.XmlElementAttribute
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.Xml, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.Xml
|
static java.lang.String |
className
Qualified class name: System.Xml.Serialization.XmlElementAttribute
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
XmlElementAttribute()
Initializes a new instance by invoking the .NET constructor.
|
XmlElementAttribute(NetType type)
Initializes a new instance by invoking the .NET constructor.
|
XmlElementAttribute(java.lang.Object instance)
Internal constructor.
|
XmlElementAttribute(java.lang.String elementName)
Initializes a new instance by invoking the .NET constructor.
|
XmlElementAttribute(java.lang.String elementName,
NetType type)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static XmlElementAttribute |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XmlElementAttribute, a cast assert is made to check if types are compatible. |
java.lang.String |
getDataType()
Gets the value of the .NET property DataType.
|
java.lang.String |
getElementName()
Gets the value of the .NET property ElementName.
|
XmlSchemaForm |
getForm()
Gets the value of the .NET property Form.
|
boolean |
getIsNullable()
Gets the value of the .NET property IsNullable.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
java.lang.String |
getNamespace()
Gets the value of the .NET property Namespace.
|
int |
getOrder()
Gets the value of the .NET property Order.
|
NetType |
getType()
Gets the value of the .NET property Type.
|
void |
setDataType(java.lang.String DataType)
Sets the value of the .NET property DataType.
|
void |
setElementName(java.lang.String ElementName)
Sets the value of the .NET property ElementName.
|
void |
setForm(XmlSchemaForm Form)
Sets the value of the .NET property Form.
|
void |
setIsNullable(boolean IsNullable)
Sets the value of the .NET property IsNullable.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setNamespace(java.lang.String Namespace)
Sets the value of the .NET property Namespace.
|
void |
setOrder(int Order)
Sets the value of the .NET property Order.
|
void |
setType(NetType Type)
Sets the value of the .NET property Type.
|
GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttribute, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, GetCustomAttributes, getTypeId, IsDefaultAttribute, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, IsDefined, Matchpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public XmlElementAttribute()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic XmlElementAttribute(NetType type) throws java.lang.Throwable
type - the argument of type NetTypejava.lang.Throwable - if the .NET constructor failspublic XmlElementAttribute(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic XmlElementAttribute(java.lang.String elementName)
throws java.lang.Throwable
elementName - the argument of type java.lang.Stringjava.lang.Throwable - if the .NET constructor failspublic XmlElementAttribute(java.lang.String elementName,
NetType type)
throws java.lang.Throwable
elementName - the argument of type java.lang.Stringtype - the argument of type NetTypejava.lang.Throwable - if the .NET constructor failspublic static XmlElementAttribute cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XmlElementAttribute, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXmlElementAttribute instancejava.lang.Throwable - in case of error during cast operationpublic java.lang.String getDataType()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getElementName()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic XmlSchemaForm getForm() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsNullable()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Attributepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Attributepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Attributenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Attributepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Attributepublic java.lang.String getNamespace()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic int getOrder()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic NetType getType() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDataType(java.lang.String DataType)
throws java.lang.Throwable
DataType - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setElementName(java.lang.String ElementName)
throws java.lang.Throwable
ElementName - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setForm(XmlSchemaForm Form) throws java.lang.Throwable
Form - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setIsNullable(boolean IsNullable)
throws java.lang.Throwable
IsNullable - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class Attributeinstance - the new underlying objectpublic void setNamespace(java.lang.String Namespace)
throws java.lang.Throwable
Namespace - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setOrder(int Order)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
Order - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic void setType(NetType Type) throws java.lang.Throwable
Type - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLR