Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package javax.xml.validation;
 
 import java.io.File;
 import java.net.URL;
public abstract class SchemaFactory
  public static final SchemaFactory newInstance(String paramString)
  {
    ClassLoader localClassLoader = SecuritySupport.getContextClassLoader();
    if (localClassLoader == null)
      localClassLoader = SchemaFactory.class.getClassLoader();
    SchemaFactory localSchemaFactory = new SchemaFactoryFinder(localClassLoader).newFactory(paramString);
    if (localSchemaFactory == null)
      throw new IllegalArgumentException(paramString);
    return localSchemaFactory;
  }
  public abstract boolean isSchemaLanguageSupported(String paramString);
  public boolean getFeature(String paramString)
  {
    if (paramString == null)
      throw new NullPointerException("the name parameter is null");
    throw new SAXNotRecognizedException(paramString);
  }
  public void setFeature(String paramStringboolean paramBoolean)
  {
    if (paramString == null)
      throw new NullPointerException("the name parameter is null");
    throw new SAXNotRecognizedException(paramString);
  }
  public void setProperty(String paramStringObject paramObject)
  {
    if (paramString == null)
      throw new NullPointerException("the name parameter is null");
    throw new SAXNotRecognizedException(paramString);
  }
  public Object getProperty(String paramString)
  {
    if (paramString == null)
      throw new NullPointerException("the name parameter is null");
    throw new SAXNotRecognizedException(paramString);
  }
  public abstract void setErrorHandler(ErrorHandler paramErrorHandler);
  public abstract ErrorHandler getErrorHandler();
  public abstract void setResourceResolver(LSResourceResolver paramLSResourceResolver);
  public abstract LSResourceResolver getResourceResolver();
  public Schema newSchema(Source paramSource)
    throws SAXException
  {
    return newSchema(new Source[] { paramSource });
  }
  public Schema newSchema(File paramFile)
    throws SAXException
  {
    return newSchema(new StreamSource(paramFile));
  }
  public Schema newSchema(URL paramURL)
    throws SAXException
  {
    return newSchema(new StreamSource(paramURL.toExternalForm()));
  }
  public abstract Schema newSchema(Source[] paramArrayOfSource)
    throws SAXException;
  public abstract Schema newSchema()
    throws SAXException;
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     javax.xml.validation.SchemaFactory
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X