xml.parser
Class SchemaToCompletion

java.lang.Object
  extended by xml.parser.SchemaToCompletion

public class SchemaToCompletion
extends java.lang.Object

converts the RNG object model to a list of CompletionInfo


Constructor Summary
SchemaToCompletion()
           
 
Method Summary
static java.util.Map<java.lang.String,CompletionInfo> rngSchemaToCompletionInfo(java.lang.String current, java.lang.String schemaFileNameOrURL, org.xml.sax.ErrorHandler handler, org.gjt.sp.jedit.Buffer requestingBuffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchemaToCompletion

public SchemaToCompletion()
Method Detail

rngSchemaToCompletionInfo

public static java.util.Map<java.lang.String,CompletionInfo> rngSchemaToCompletionInfo(java.lang.String current,
                                                                                       java.lang.String schemaFileNameOrURL,
                                                                                       org.xml.sax.ErrorHandler handler,
                                                                                       org.gjt.sp.jedit.Buffer requestingBuffer)
Parameters:
current - systemId of the mapping document, to resolve the schema URL
schemaFileNameOrURL - identifier of the schema to load
handler - channel to report errors
requestingBuffer - Buffer requesting the CompletionInfo (for caching)