Package system.web
Class SiteMapProvider
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.configuration.provider.ProviderBase
-
- system.web.SiteMapProvider
-
- All Implemented Interfaces:
IJCOBridgeReflected
- Direct Known Subclasses:
StaticSiteMapProvider
public class SiteMapProvider extends ProviderBase
The base .NET class managing System.Web.SiteMapProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Web.SiteMapProvider
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.SiteMapProviderstatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SiteMapProvider()
SiteMapProvider(java.lang.Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSiteMapResolve(SiteMapResolveEventHandler handler)
static SiteMapProvider
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoSiteMapProvider
, a cast assert is made to check if types are compatible.SiteMapNode
FindSiteMapNode(java.lang.String rawUrl)
SiteMapNode
FindSiteMapNode(HttpContext context)
SiteMapNode
FindSiteMapNodeFromKey(java.lang.String key)
SiteMapNodeCollection
GetChildNodes(SiteMapNode node)
SiteMapNode
getCurrentNode()
SiteMapNode
GetCurrentNodeAndHintAncestorNodes(int upLevel)
SiteMapNode
GetCurrentNodeAndHintNeighborhoodNodes(int upLevel, int downLevel)
boolean
getEnableLocalization()
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 objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class TypeSiteMapNode
GetParentNode(SiteMapNode node)
SiteMapNode
GetParentNodeRelativeToCurrentNodeAndHintDownFromParent(int walkupLevels, int relativeDepthFromWalkup)
SiteMapNode
GetParentNodeRelativeToNodeAndHintDownFromParent(SiteMapNode node, int walkupLevels, int relativeDepthFromWalkup)
SiteMapProvider
getParentProvider()
java.lang.String
getResourceKey()
SiteMapNode
getRootNode()
SiteMapProvider
getRootProvider()
boolean
getSecurityTrimmingEnabled()
void
HintAncestorNodes(SiteMapNode node, int upLevel)
void
HintNeighborhoodNodes(SiteMapNode node, int upLevel, int downLevel)
void
Initialize(java.lang.String name, NameValueCollection attributes)
boolean
IsAccessibleToUser(HttpContext context, SiteMapNode node)
void
removeSiteMapResolve(SiteMapResolveEventHandler handler)
void
setEnableLocalization(boolean EnableLocalization)
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
void
setParentProvider(SiteMapProvider ParentProvider)
void
setResourceKey(java.lang.String ResourceKey)
-
Methods inherited from class system.configuration.provider.ProviderBase
getDescription, getName
-
-
-
-
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.SiteMapProvider- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
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 classProviderBase
- 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 classProviderBase
- 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 classProviderBase
- 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 classProviderBase
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classProviderBase
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classProviderBase
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static SiteMapProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoSiteMapProvider
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
SiteMapProvider
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
IsAccessibleToUser
public boolean IsAccessibleToUser(HttpContext context, SiteMapNode node) throws java.lang.Throwable, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, IndexOutOfRangeException, HttpException, CultureNotFoundException, HttpRequestValidationException, ProviderException, ConfigurationErrorsException, SecurityException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
MissingManifestResourceException
NotImplementedException
ObjectDisposedException
InvalidOperationException
ArgumentOutOfRangeException
IndexOutOfRangeException
HttpException
CultureNotFoundException
HttpRequestValidationException
ProviderException
ConfigurationErrorsException
SecurityException
-
FindSiteMapNode
public SiteMapNode FindSiteMapNode(java.lang.String rawUrl) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
FindSiteMapNode
public SiteMapNode FindSiteMapNode(HttpContext context) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, HttpException, ConfigurationErrorsException, NotSupportedException, NullReferenceException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
HttpException
ConfigurationErrorsException
NotSupportedException
NullReferenceException
-
FindSiteMapNodeFromKey
public SiteMapNode FindSiteMapNodeFromKey(java.lang.String key) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetCurrentNodeAndHintAncestorNodes
public SiteMapNode GetCurrentNodeAndHintAncestorNodes(int upLevel) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, ConfigurationErrorsException, ThreadAbortException, HttpRequestValidationException, NotSupportedException, ConfigurationException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
HttpException
ConfigurationErrorsException
ThreadAbortException
HttpRequestValidationException
NotSupportedException
ConfigurationException
-
GetCurrentNodeAndHintNeighborhoodNodes
public SiteMapNode GetCurrentNodeAndHintNeighborhoodNodes(int upLevel, int downLevel) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, ConfigurationErrorsException, ThreadAbortException, HttpRequestValidationException, NotSupportedException, ConfigurationException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
NotImplementedException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
HttpException
ConfigurationErrorsException
ThreadAbortException
HttpRequestValidationException
NotSupportedException
ConfigurationException
-
GetParentNode
public SiteMapNode GetParentNode(SiteMapNode node) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
GetParentNodeRelativeToCurrentNodeAndHintDownFromParent
public SiteMapNode GetParentNodeRelativeToCurrentNodeAndHintDownFromParent(int walkupLevels, int relativeDepthFromWalkup) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, HttpException, ThreadAbortException, HttpRequestValidationException, NotSupportedException
-
GetParentNodeRelativeToNodeAndHintDownFromParent
public SiteMapNode GetParentNodeRelativeToNodeAndHintDownFromParent(SiteMapNode node, int walkupLevels, int relativeDepthFromWalkup) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
-
GetChildNodes
public SiteMapNodeCollection GetChildNodes(SiteMapNode node) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
HintAncestorNodes
public void HintAncestorNodes(SiteMapNode node, int upLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
-
HintNeighborhoodNodes
public void HintNeighborhoodNodes(SiteMapNode node, int upLevel, int downLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException
- Throws:
java.lang.Throwable
ArgumentNullException
ArgumentOutOfRangeException
-
Initialize
public void Initialize(java.lang.String name, NameValueCollection attributes) throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException, ArgumentOutOfRangeException, OutOfMemoryException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, InvalidOperationException, NotSupportedException, ConfigurationErrorsException
- Overrides:
Initialize
in classProviderBase
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
ArgumentOutOfRangeException
OutOfMemoryException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
MissingManifestResourceException
InvalidOperationException
NotSupportedException
ConfigurationErrorsException
-
getEnableLocalization
public boolean getEnableLocalization() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setEnableLocalization
public void setEnableLocalization(boolean EnableLocalization) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSecurityTrimmingEnabled
public boolean getSecurityTrimmingEnabled() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getResourceKey
public java.lang.String getResourceKey() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setResourceKey
public void setResourceKey(java.lang.String ResourceKey) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getCurrentNode
public SiteMapNode getCurrentNode() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, NullReferenceException, ConfigurationErrorsException, NotSupportedException, ConfigurationException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
HttpException
NullReferenceException
ConfigurationErrorsException
NotSupportedException
ConfigurationException
-
getRootNode
public SiteMapNode getRootNode() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, ArgumentOutOfRangeException, HttpException, ArgumentException, CultureNotFoundException, ConfigurationErrorsException, ConfigurationException
-
getParentProvider
public SiteMapProvider getParentProvider() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setParentProvider
public void setParentProvider(SiteMapProvider ParentProvider) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getRootProvider
public SiteMapProvider getRootProvider() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException, NotImplementedException, NotSupportedException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, ProviderException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
InvalidOperationException
MissingMethodException
TargetInvocationException
FormatException
NotImplementedException
NotSupportedException
IndexOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
AbandonedMutexException
ProviderException
-
addSiteMapResolve
public void addSiteMapResolve(SiteMapResolveEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
removeSiteMapResolve
public void removeSiteMapResolve(SiteMapResolveEventHandler handler) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-