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.StringassemblyFullNameFully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Webstatic java.lang.StringclassNameQualified class name: System.Web.UI.TemplateControlstatic JCTypeclassTypeThe 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 voidaddAbortTransaction(EventHandler handler)voidaddCommitTransaction(EventHandler handler)voidaddError(EventHandler handler)static TemplateControlcast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoTemplateControl, a cast assert is made to check if types are compatible.java.lang.StringgetAppRelativeVirtualPath()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 TypeControlLoadControl(java.lang.String virtualPath)ControlLoadControl(NetType t, NetObject[] parameters)ITemplateLoadTemplate(java.lang.String virtualPath)ControlParseControl(java.lang.String content)ControlParseControl(java.lang.String content, boolean ignoreParserFilter)NetObjectReadStringResource()static NetObjectReadStringResource(NetType t)voidremoveAbortTransaction(EventHandler handler)voidremoveCommitTransaction(EventHandler handler)voidremoveError(EventHandler handler)voidsetAppRelativeVirtualPath(java.lang.String AppRelativeVirtualPath)voidsetJCOInstance(JCObject instance)booleanTestDeviceFilter(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:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIFilterResolutionService- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceINamingContainer- Specified by:
getJCOAssemblyNamein interfaceIParserAccessor- Overrides:
getJCOAssemblyNamein classControl- 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 interfaceIFilterResolutionService- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Specified by:
getJCOClassNamein interfaceINamingContainer- Specified by:
getJCOClassNamein interfaceIParserAccessor- Overrides:
getJCOClassNamein classControl- 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 interfaceIFilterResolutionService- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Specified by:
getJCOObjectNamein interfaceINamingContainer- Specified by:
getJCOObjectNamein interfaceIParserAccessor- Overrides:
getJCOObjectNamein classControl- 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 interfaceIFilterResolutionService- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Specified by:
getJCOInstancein interfaceINamingContainer- Specified by:
getJCOInstancein interfaceIParserAccessor- Overrides:
getJCOInstancein classControl- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classControl
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIFilterResolutionService- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceINamingContainer- Specified by:
getJCOTypein interfaceIParserAccessor- Overrides:
getJCOTypein classControl- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static TemplateControl cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoTemplateControl, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
TemplateControlinstance- 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.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionHttpExceptionHttpRequestValidationExceptionConfigurationErrorsExceptionNotSupportedExceptionConfigurationExceptionNullReferenceException
-
ReadStringResource
public NetObject ReadStringResource() throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentException, ArgumentOutOfRangeException, IndexOutOfRangeException, InvalidOperationException, NotSupportedException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, HttpException
- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionHttpException
-
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.ThrowableArgumentNullExceptionFormatExceptionArgumentExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionInvalidOperationExceptionNotSupportedExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionHttpException
-
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, NotSupportedException, MissingMethodException, MulticastNotSupportedException, SecurityException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionOutOfMemoryExceptionHttpRequestValidationExceptionNullReferenceExceptionHttpParseExceptionHttpCompileExceptionNotSupportedExceptionMissingMethodExceptionMulticastNotSupportedExceptionSecurityException
-
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.ThrowableInvalidOperationExceptionArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionHttpExceptionSecurityExceptionNotSupportedExceptionMissingMethodExceptionMulticastNotSupportedExceptionNullReferenceException
-
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.ThrowableArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionHttpExceptionArgumentExceptionOutOfMemoryExceptionMissingMethodExceptionTargetInvocationExceptionConfigurationErrorsExceptionConfigurationExceptionNotSupportedExceptionHttpParseException
-
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.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionHttpExceptionOutOfMemoryExceptionHttpRequestValidationExceptionNullReferenceExceptionHttpParseExceptionHttpCompileException
-
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
-
-