Class XmlDataContract
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.runtime.serialization.datacontracts.DataContract
-
- system.runtime.serialization.datacontracts.XmlDataContract
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class XmlDataContract extends DataContract
The base .NET class managing System.Runtime.Serialization.DataContracts.XmlDataContract, System.Private.DataContractSerialization, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Serialization.DataContracts.XmlDataContract
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Private.DataContractSerialization, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Private.DataContractSerializationstatic java.lang.StringclassNameQualified class name: System.Runtime.Serialization.DataContracts.XmlDataContractstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XmlDataContract()XmlDataContract(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XmlDataContractcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoXmlDataContract, a cast assert is made to check if types are compatible.booleangetHasRoot()booleangetIsAnonymous()booleangetIsTopLevelElementNullable()booleangetIsTypeDefinedOnImport()booleangetIsValueType()java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class TypeXmlSchemaTypegetXsdType()voidsetHasRoot(boolean HasRoot)voidsetIsTopLevelElementNullable(boolean IsTopLevelElementNullable)voidsetIsTypeDefinedOnImport(boolean IsTypeDefinedOnImport)voidsetIsValueType(boolean IsValueType)voidsetJCOInstance(JCObject instance)voidsetXsdType(XmlSchemaType XsdType)-
Methods inherited from class system.runtime.serialization.datacontracts.DataContract
GetArrayTypeName, getBaseContract, GetBuiltInDataContract, getContractType, getIsBuiltInDataContract, getIsISerializable, getIsReference, getOriginalUnderlyingType, getTopLevelElementName, getTopLevelElementNamespace, getUnderlyingType, getXmlName, GetXmlName, IsDictionaryLike, setIsISerializable, setIsReference, setTopLevelElementName, setTopLevelElementNamespace, setXmlName
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Private.DataContractSerialization, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Private.DataContractSerialization- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Runtime.Serialization.DataContracts.XmlDataContract- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classDataContract- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classDataContract- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classDataContract- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classDataContract- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDataContract
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classDataContract- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static XmlDataContract cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoXmlDataContract, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
XmlDataContractinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
getHasRoot
public boolean getHasRoot() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setHasRoot
public void setHasRoot(boolean HasRoot) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsAnonymous
public boolean getIsAnonymous() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsTopLevelElementNullable
public boolean getIsTopLevelElementNullable() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIsTopLevelElementNullable
public void setIsTopLevelElementNullable(boolean IsTopLevelElementNullable) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsTypeDefinedOnImport
public boolean getIsTypeDefinedOnImport() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIsTypeDefinedOnImport
public void setIsTypeDefinedOnImport(boolean IsTypeDefinedOnImport) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsValueType
public boolean getIsValueType() throws java.lang.Throwable- Overrides:
getIsValueTypein classDataContract- Throws:
java.lang.Throwable
-
setIsValueType
public void setIsValueType(boolean IsValueType) throws java.lang.Throwable- Overrides:
setIsValueTypein classDataContract- Throws:
java.lang.Throwable
-
getXsdType
public XmlSchemaType getXsdType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setXsdType
public void setXsdType(XmlSchemaType XsdType) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-