BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.apache.xerces.impl.xs
Class SchemaNamespaceSupport

java.lang.Object
  extended byweblogic.apache.xerces.util.NamespaceSupport
      extended byweblogic.apache.xerces.impl.xs.SchemaNamespaceSupport
All Implemented Interfaces:
NamespaceContext

Deprecated. please use JDK supplied XML parsers and transformers

public class SchemaNamespaceSupport
extends NamespaceSupport

This class customizes the behaviour of the util.NamespaceSupport class in order to easily implement some features that we need for efficient schema handling. It will not be generally useful.


Field Summary
 
Fields inherited from class weblogic.apache.xerces.util.NamespaceSupport
fContext, fCurrentContext, fNamespace, fNamespaceSize
 
Fields inherited from interface weblogic.apache.xerces.xni.NamespaceContext
XML_URI, XMLNS_URI
 
Constructor Summary
SchemaNamespaceSupport()
          Deprecated.  
SchemaNamespaceSupport(SchemaNamespaceSupport nSupport)
          Deprecated.  
 
Method Summary
 String[] getEffectiveLocalContext()
          Deprecated. This method returns an array of Strings, as would be stored in a NamespaceSupport object.
 void makeGlobal()
          Deprecated.  
 void setEffectiveContext(String[] namespaceDecls)
          Deprecated. This method takes a set of Strings, as stored in a NamespaceSupport object, and "fools" the object into thinking that this is one unified context.
 
Methods inherited from class weblogic.apache.xerces.util.NamespaceSupport
declarePrefix, getDeclaredPrefixAt, getDeclaredPrefixCount, getParentContext, getPrefix, getURI, popContext, pushContext, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaNamespaceSupport

public SchemaNamespaceSupport()
Deprecated. 

SchemaNamespaceSupport

public SchemaNamespaceSupport(SchemaNamespaceSupport nSupport)
Deprecated. 
Method Detail

getEffectiveLocalContext

public String[] getEffectiveLocalContext()
Deprecated. 
This method returns an array of Strings, as would be stored in a NamespaceSupport object. This array contains all declarations except those at the global level.


makeGlobal

public void makeGlobal()
Deprecated. 

setEffectiveContext

public void setEffectiveContext(String[] namespaceDecls)
Deprecated. 
This method takes a set of Strings, as stored in a NamespaceSupport object, and "fools" the object into thinking that this is one unified context. This is meant to be used in conjunction with things like local elements, whose declarations may be deeply nested but which for all practical purposes may be regarded as being one level below the global element--at least with regard to namespace declarations. It's worth noting that the context from which the strings are being imported had better be using the same SymbolTable.


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.