Package system.web.ui
Class TemplateControl
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.web.ui.Control
-
- system.web.ui.TemplateControl
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IFilterResolutionService
,INamingContainer
,IParserAccessor
- Direct Known Subclasses:
Page
,UserControl
public class TemplateControl extends Control implements INamingContainer, IFilterResolutionService
The base .NET class managing System.Web.UI.TemplateControl, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.UI.TemplateControl
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.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: System.Webstatic java.lang.String
className
Qualified class name: System.Web.UI.TemplateControlstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description TemplateControl()
TemplateControl(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAbortTransaction(EventHandler handler)
void
addCommitTransaction(EventHandler handler)
void
addError(EventHandler handler)
static TemplateControl
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoTemplateControl
, a cast assert is made to check if types are compatible.java.lang.String
getAppRelativeVirtualPath()
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 TypeControl
LoadControl(java.lang.String virtualPath)
Control
LoadControl(NetType t, NetObject[] parameters)
ITemplate
LoadTemplate(java.lang.String virtualPath)
Control
ParseControl(java.lang.String content)
Control
ParseControl(java.lang.String content, boolean ignoreParserFilter)
NetObject
ReadStringResource()
static NetObject
ReadStringResource(NetType t)
void
removeAbortTransaction(EventHandler handler)
void
removeCommitTransaction(EventHandler handler)
void
removeError(EventHandler handler)
void
setAppRelativeVirtualPath(java.lang.String AppRelativeVirtualPath)
void
setJCOInstance(JCObject instance)
boolean
TestDeviceFilter(java.lang.String filterName)
-
Methods inherited from class system.web.ui.Control
addDataBinding, addDisposed, addInit, addLoad, addPreRender, addUnload, ApplyStyleSheetSkin, close, DataBind, Dispose, FindControl, Focus, getAppRelativeTemplateSourceDirectory, getBindingContainer, getClientID, getClientIDMode, getControls, getDataItemContainer, getDataKeysContainer, getEnableTheming, getEnableViewState, getID, getNamingContainer, getPage, getParent, getRenderingCompatibility, GetRouteUrl, GetRouteUrl, GetRouteUrl, GetRouteUrl, getSite, getSkinID, getTemplateControl, getTemplateSourceDirectory, getUniqueID, GetUniqueIDRelativeTo, getValidateRequestMode, getViewStateMode, getVisible, HasControls, removeDataBinding, removeDisposed, removeInit, removeLoad, removePreRender, removeUnload, RenderControl, ResolveClientUrl, ResolveUrl, setAppRelativeTemplateSourceDirectory, setClientIDMode, setEnableTheming, setEnableViewState, setID, setPage, setRenderingCompatibility, SetRenderMethodDelegate, setSite, setSkinID, setTemplateControl, SetTraceData, SetTraceData, setValidateRequestMode, setViewStateMode, setVisible
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.web.ui.IFilterResolutionService
CompareFilters, EvaluateFilter
-
Methods inherited from interface system.web.ui.IParserAccessor
AddParsedSubObject
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Web- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Web.UI.TemplateControl- 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 interfaceIFilterResolutionService
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOAssemblyName
in interfaceINamingContainer
- Specified by:
getJCOAssemblyName
in interfaceIParserAccessor
- Overrides:
getJCOAssemblyName
in classControl
- 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 interfaceIFilterResolutionService
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOClassName
in interfaceINamingContainer
- Specified by:
getJCOClassName
in interfaceIParserAccessor
- Overrides:
getJCOClassName
in classControl
- 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 interfaceIFilterResolutionService
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Specified by:
getJCOObjectName
in interfaceINamingContainer
- Specified by:
getJCOObjectName
in interfaceIParserAccessor
- Overrides:
getJCOObjectName
in classControl
- 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 interfaceIFilterResolutionService
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Specified by:
getJCOInstance
in interfaceINamingContainer
- Specified by:
getJCOInstance
in interfaceIParserAccessor
- Overrides:
getJCOInstance
in classControl
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIFilterResolutionService
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Specified by:
getJCOType
in interfaceINamingContainer
- Specified by:
getJCOType
in interfaceIParserAccessor
- Overrides:
getJCOType
in classControl
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static TemplateControl cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoTemplateControl
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
TemplateControl
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
TestDeviceFilter
public boolean TestDeviceFilter(java.lang.String filterName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, HttpException, HttpRequestValidationException, ConfigurationErrorsException, NotSupportedException, ConfigurationException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
HttpException
HttpRequestValidationException
ConfigurationErrorsException
NotSupportedException
ConfigurationException
NullReferenceException
-
ReadStringResource
public NetObject ReadStringResource() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidOperationException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, HttpException
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentException
ArgumentOutOfRangeException
IndexOutOfRangeException
InvalidOperationException
NotSupportedException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
AbandonedMutexException
HttpException
-
ReadStringResource
public static NetObject ReadStringResource(NetType t) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidOperationException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, HttpException
- Throws:
java.lang.Throwable
ArgumentNullException
FormatException
ArgumentException
ArgumentOutOfRangeException
IndexOutOfRangeException
InvalidOperationException
NotSupportedException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
AbandonedMutexException
HttpException
-
LoadControl
public Control LoadControl(java.lang.String virtualPath) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, OutOfMemoryException, HttpRequestValidationException, NullReferenceException, HttpParseException, HttpCompileException, SecurityException, NotSupportedException, MissingMethodException, MulticastNotSupportedException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
HttpException
OutOfMemoryException
HttpRequestValidationException
NullReferenceException
HttpParseException
HttpCompileException
SecurityException
NotSupportedException
MissingMethodException
MulticastNotSupportedException
-
LoadControl
public Control LoadControl(NetType t, NetObject[] parameters) throws java.lang.Throwable, InvalidOperationException, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, HttpException, SecurityException, NotSupportedException, MissingMethodException, MulticastNotSupportedException, NullReferenceException
- Throws:
java.lang.Throwable
InvalidOperationException
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
HttpException
SecurityException
NotSupportedException
MissingMethodException
MulticastNotSupportedException
NullReferenceException
-
ParseControl
public Control ParseControl(java.lang.String content) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, HttpException, ArgumentException, OutOfMemoryException, ConfigurationErrorsException, InvalidOperationException, ConfigurationException, HttpParseException
-
ParseControl
public Control ParseControl(java.lang.String content, boolean ignoreParserFilter) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, HttpException, ArgumentException, OutOfMemoryException, MissingMethodException, TargetInvocationException, ConfigurationErrorsException, ConfigurationException, NotSupportedException, HttpParseException
- Throws:
java.lang.Throwable
ArgumentNullException
MissingManifestResourceException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
HttpException
ArgumentException
OutOfMemoryException
MissingMethodException
TargetInvocationException
ConfigurationErrorsException
ConfigurationException
NotSupportedException
HttpParseException
-
LoadTemplate
public ITemplate LoadTemplate(java.lang.String virtualPath) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, OutOfMemoryException, HttpRequestValidationException, NullReferenceException, HttpParseException, HttpCompileException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
HttpException
OutOfMemoryException
HttpRequestValidationException
NullReferenceException
HttpParseException
HttpCompileException
-
getAppRelativeVirtualPath
public java.lang.String getAppRelativeVirtualPath() throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, HttpException, CultureNotFoundException
-
setAppRelativeVirtualPath
public void setAppRelativeVirtualPath(java.lang.String AppRelativeVirtualPath) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, OutOfMemoryException
-
addAbortTransaction
public void addAbortTransaction(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeAbortTransaction
public void removeAbortTransaction(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addCommitTransaction
public void addCommitTransaction(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeCommitTransaction
public void removeCommitTransaction(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
addError
public void addError(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeError
public void removeError(EventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-