Package system.servicemodel.syndication
Class SyndicationContent
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.servicemodel.syndication.SyndicationContent
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
TextSyndicationContent
,UrlSyndicationContent
,XmlSyndicationContent
public class SyndicationContent extends NetObject
The base .NET class managing System.ServiceModel.Syndication.SyndicationContent, System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ServiceModel.Syndication.SyndicationContent
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.String
assemblyFullName
Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.ServiceModelstatic java.lang.String
className
Qualified class name: System.ServiceModel.Syndication.SyndicationContentstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SyndicationContent()
SyndicationContent(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SyndicationContent
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSyndicationContent
, a cast assert is made to check if types are compatible.SyndicationContent
Clone()
static TextSyndicationContent
CreateHtmlContent(java.lang.String content)
static TextSyndicationContent
CreatePlaintextContent(java.lang.String content)
static UrlSyndicationContent
CreateUrlContent(Uri url, java.lang.String mediaType)
static TextSyndicationContent
CreateXhtmlContent(java.lang.String content)
static XmlSyndicationContent
CreateXmlContent(NetObject dataContractObject)
static XmlSyndicationContent
CreateXmlContent(NetObject dataContractObject, XmlObjectSerializer dataContractSerializer)
static XmlSyndicationContent
CreateXmlContent(NetObject xmlSerializerObject, XmlSerializer serializer)
static XmlSyndicationContent
CreateXmlContent(XmlReader xmlReader)
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class Typejava.lang.String
getType()
void
setJCOInstance(JCObject instance)
void
WriteTo(XmlWriter writer, java.lang.String outerElementName, java.lang.String outerElementNamespace)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.ServiceModel- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.ServiceModel.Syndication.SyndicationContent- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classNetObject
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classNetObject
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classNetObject
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classNetObject
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SyndicationContent cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSyndicationContent
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SyndicationContent
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Clone
public SyndicationContent Clone() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
CreateHtmlContent
public static TextSyndicationContent CreateHtmlContent(java.lang.String content) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, SecurityException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
SecurityException
OutOfMemoryException
-
CreatePlaintextContent
public static TextSyndicationContent CreatePlaintextContent(java.lang.String content) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
-
CreateXhtmlContent
public static TextSyndicationContent CreateXhtmlContent(java.lang.String content) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, SecurityException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
SecurityException
OutOfMemoryException
-
CreateUrlContent
public static UrlSyndicationContent CreateUrlContent(Uri url, java.lang.String mediaType) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
-
CreateXmlContent
public static XmlSyndicationContent CreateXmlContent(NetObject dataContractObject) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, NotImplementedException
-
CreateXmlContent
public static XmlSyndicationContent CreateXmlContent(NetObject dataContractObject, XmlObjectSerializer dataContractSerializer) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, OutOfMemoryException, NotImplementedException
-
CreateXmlContent
public static XmlSyndicationContent CreateXmlContent(NetObject xmlSerializerObject, XmlSerializer serializer) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, OutOfMemoryException, ObjectDisposedException, AbandonedMutexException, ThreadAbortException, SecurityException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, InvalidEnumArgumentException, FileNotFoundException, ConfigurationException, UnauthorizedAccessException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
ArgumentNullException
MissingManifestResourceException
InvalidOperationException
OutOfMemoryException
ObjectDisposedException
AbandonedMutexException
ThreadAbortException
SecurityException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
InvalidEnumArgumentException
FileNotFoundException
ConfigurationException
UnauthorizedAccessException
-
CreateXmlContent
public static XmlSyndicationContent CreateXmlContent(XmlReader xmlReader) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, MulticastNotSupportedException, ArgumentNullException, FormatException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ConfigurationErrorsException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException, XmlException, NotSupportedException
- Throws:
java.lang.Throwable
ArgumentException
IndexOutOfRangeException
MulticastNotSupportedException
ArgumentNullException
FormatException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
ConfigurationErrorsException
ArgumentOutOfRangeException
OverflowException
OutOfMemoryException
XmlException
NotSupportedException
-
WriteTo
public void WriteTo(XmlWriter writer, java.lang.String outerElementName, java.lang.String outerElementNamespace) throws java.lang.Throwable, ArgumentException, IndexOutOfRangeException, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, OverflowException, OutOfMemoryException
-
getType
public java.lang.String getType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-