org.apache.xerces.impl.xs

Class SchemaNamespaceSupport

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.

Version: $Id: SchemaNamespaceSupport.java,v 1.6 2004/10/06 15:14:55 mrglavas Exp $

Author: Neil Graham, IBM

UNKNOWN:

Constructor Summary
SchemaNamespaceSupport()
SchemaNamespaceSupport(SchemaNamespaceSupport nSupport)
Method Summary
String[]getEffectiveLocalContext()
This method returns an array of Strings, as would be stored in a NamespaceSupport object.
voidmakeGlobal()
voidsetEffectiveContext(String[] namespaceDecls)
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.

Constructor Detail

SchemaNamespaceSupport

public SchemaNamespaceSupport()

SchemaNamespaceSupport

public SchemaNamespaceSupport(SchemaNamespaceSupport nSupport)

Method Detail

getEffectiveLocalContext

public String[] getEffectiveLocalContext()
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()

setEffectiveContext

public void setEffectiveContext(String[] namespaceDecls)
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.
Copyright © 1999-2005 Apache XML Project. All Rights Reserved.