Package system.web
Class XmlSiteMapProvider
-
- All Implemented Interfaces:
AutoCloseable
,IJCOBridgeReflected
public class XmlSiteMapProvider extends StaticSiteMapProvider implements AutoCloseable
The base .NET class managing System.Web.XmlSiteMapProvider, System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.See: https://docs.microsoft.com/en-us/dotnet/api/System.Web.XmlSiteMapProvider
-
-
Field Summary
Fields Modifier and Type Field Description static String
assemblyFullName
Fully assembly qualified name: System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic String
assemblyShortName
Assembly name: System.Webstatic String
className
Qualified class name: System.Web.XmlSiteMapProviderstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XmlSiteMapProvider()
XmlSiteMapProvider(Object instance)
Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SiteMapNode
BuildSiteMap()
static XmlSiteMapProvider
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoXmlSiteMapProvider
, a cast assert is made to check if types are compatible.void
close()
void
Dispose()
SiteMapNode
FindSiteMapNode(String rawUrl)
SiteMapNode
FindSiteMapNodeFromKey(String key)
SiteMapNodeCollection
GetChildNodes(SiteMapNode node)
String
getJCOAssemblyName()
Returns the reflected Assembly nameString
getJCOClassName()
Returns the reflected Class nameObject
getJCOInstance()
Returns the instantiated classString
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeSiteMapNode
GetParentNode(SiteMapNode node)
void
Initialize(String name, NameValueCollection attributes)
void
setJCOInstance(JCObject instance)
-
Methods inherited from class system.web.SiteMapProvider
addSiteMapResolve, FindSiteMapNode, getCurrentNode, GetCurrentNodeAndHintAncestorNodes, GetCurrentNodeAndHintNeighborhoodNodes, getEnableLocalization, GetParentNodeRelativeToCurrentNodeAndHintDownFromParent, GetParentNodeRelativeToNodeAndHintDownFromParent, getParentProvider, getResourceKey, getRootNode, getRootProvider, getSecurityTrimmingEnabled, HintAncestorNodes, HintNeighborhoodNodes, IsAccessibleToUser, removeSiteMapResolve, setEnableLocalization, setParentProvider, setResourceKey
-
Methods inherited from class system.configuration.provider.ProviderBase
getDescription, getName
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toObjectFromArray, toObjectFromArray, toString, ToString, translateException
-
-
-
-
Field Detail
-
assemblyFullName
public static final 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 String assemblyShortName
Assembly name: System.Web- See Also:
- Constant Field Values
-
className
public static final String className
Qualified class name: System.Web.XmlSiteMapProvider- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classStaticSiteMapProvider
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classStaticSiteMapProvider
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public 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 classStaticSiteMapProvider
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classStaticSiteMapProvider
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classStaticSiteMapProvider
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classStaticSiteMapProvider
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static XmlSiteMapProvider cast(IJCOBridgeReflected from) throws Throwable
Try to cast theIJCOBridgeReflected
instance intoXmlSiteMapProvider
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
XmlSiteMapProvider
instance- Throws:
Throwable
- in case of error during cast operation
-
BuildSiteMap
public SiteMapNode BuildSiteMap() throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException, HttpException, NotSupportedException, ConfigurationErrorsException, ConfigurationException, OverflowException, AbandonedMutexException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, SecurityException, XmlSchemaException, XmlException, NullReferenceException, ProviderException, ThreadAbortException
- Overrides:
BuildSiteMap
in classStaticSiteMapProvider
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
IndexOutOfRangeException
HttpException
NotSupportedException
ConfigurationErrorsException
ConfigurationException
OverflowException
AbandonedMutexException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
SecurityException
XmlSchemaException
XmlException
NullReferenceException
ProviderException
ThreadAbortException
-
FindSiteMapNode
public SiteMapNode FindSiteMapNode(String rawUrl) throws Throwable, ArgumentNullException, HttpException, ArgumentOutOfRangeException, ArgumentException, ConfigurationErrorsException, ConfigurationException, ObjectDisposedException, AbandonedMutexException, ProviderException, RankException, InvalidOperationException
- Overrides:
FindSiteMapNode
in classStaticSiteMapProvider
- Throws:
Throwable
ArgumentNullException
HttpException
ArgumentOutOfRangeException
ArgumentException
ConfigurationErrorsException
ConfigurationException
ObjectDisposedException
AbandonedMutexException
ProviderException
RankException
InvalidOperationException
-
FindSiteMapNodeFromKey
public SiteMapNode FindSiteMapNodeFromKey(String key) throws Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, FormatException, HttpException, ConfigurationErrorsException, ConfigurationException, ObjectDisposedException, AbandonedMutexException, ProviderException, RankException, InvalidOperationException
- Overrides:
FindSiteMapNodeFromKey
in classStaticSiteMapProvider
- Throws:
Throwable
ArgumentException
ArgumentOutOfRangeException
ArgumentNullException
FormatException
HttpException
ConfigurationErrorsException
ConfigurationException
ObjectDisposedException
AbandonedMutexException
ProviderException
RankException
InvalidOperationException
-
GetParentNode
public SiteMapNode GetParentNode(SiteMapNode node) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, HttpException, ConfigurationErrorsException, ConfigurationException, NotSupportedException, InvalidOperationException, IndexOutOfRangeException, HttpRequestValidationException
- Overrides:
GetParentNode
in classStaticSiteMapProvider
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
HttpException
ConfigurationErrorsException
ConfigurationException
NotSupportedException
InvalidOperationException
IndexOutOfRangeException
HttpRequestValidationException
-
GetChildNodes
public SiteMapNodeCollection GetChildNodes(SiteMapNode node) throws Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, HttpException, CultureNotFoundException, ConfigurationErrorsException, ConfigurationException, NotSupportedException, InvalidOperationException, HttpRequestValidationException
- Overrides:
GetChildNodes
in classStaticSiteMapProvider
- Throws:
Throwable
ArgumentNullException
ArgumentException
ArgumentOutOfRangeException
FormatException
MissingManifestResourceException
HttpException
CultureNotFoundException
ConfigurationErrorsException
ConfigurationException
NotSupportedException
InvalidOperationException
HttpRequestValidationException
-
Dispose
public void Dispose() throws Throwable, ArgumentNullException, ArgumentException, NotImplementedException, CultureNotFoundException, IndexOutOfRangeException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, HttpException, OverflowException, SecurityException, TargetParameterCountException, NotSupportedException, ConfigurationErrorsException, ConfigurationException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException
- Throws:
Throwable
ArgumentNullException
ArgumentException
NotImplementedException
CultureNotFoundException
IndexOutOfRangeException
ArgumentOutOfRangeException
MissingManifestResourceException
ObjectDisposedException
InvalidOperationException
HttpException
OverflowException
SecurityException
TargetParameterCountException
NotSupportedException
ConfigurationErrorsException
ConfigurationException
PathTooLongException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
DriveNotFoundException
OperationCanceledException
-
Initialize
public void Initialize(String name, NameValueCollection attributes) throws Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, FormatException, HttpException, ConfigurationErrorsException
- Overrides:
Initialize
in classSiteMapProvider
- Throws:
Throwable
ArgumentNullException
ArgumentException
InvalidOperationException
MissingMethodException
TargetInvocationException
NotImplementedException
NotSupportedException
ArgumentOutOfRangeException
CultureNotFoundException
MissingManifestResourceException
ObjectDisposedException
FormatException
HttpException
ConfigurationErrorsException
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
-