Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javatools.xml
Class XMLUtils  view XMLUtils download XMLUtils.java

java.lang.Object
  extended byjavatools.xml.XMLUtils

public class XMLUtils
extends java.lang.Object

Version:
0.2.0

Field Summary
protected static int BIG_PRIME
           
protected static java.lang.String GRAMMAR_POOL
          Property identifier: grammar pool.
protected static java.lang.String NAMESPACES_FEATURE_ID
          Namespaces feature id (http://xml.org/sax/features/namespaces).
protected static java.lang.String SCHEMA_FULL_CHECKING_FEATURE_ID
          Schema full checking feature id (http://apache.org/xml/features/validation/schema-full-checking).
protected static java.lang.String SCHEMA_VALIDATION_FEATURE_ID
          Schema validation feature id (http://apache.org/xml/features/validation/schema).
protected static java.lang.String SYMBOL_TABLE
          Property identifier: symbol table.
protected static java.lang.String VALIDATION_FEATURE_ID
          Validation feature id (http://xml.org/sax/features/validation).
 
Constructor Summary
XMLUtils()
           
 
Method Summary
static void configureParser(javax.xml.parsers.SAXParser parser, org.apache.xerces.util.SymbolTable sym, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
           
static org.apache.xerces.util.SymbolTable newSymbolTable()
           
static org.apache.xerces.xni.grammars.XMLGrammarPool newXMLGrammarPool(org.apache.xerces.util.SymbolTable sym, java.lang.String schema)
           
static void setSchemaFullChecking(javax.xml.parsers.SAXParserFactory factory, boolean value)
           
static void setValidating(javax.xml.parsers.SAXParserFactory factory, boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYMBOL_TABLE

protected static final java.lang.String SYMBOL_TABLE
Property identifier: symbol table.

See Also:
Constant Field Values

GRAMMAR_POOL

protected static final java.lang.String GRAMMAR_POOL
Property identifier: grammar pool.

See Also:
Constant Field Values

NAMESPACES_FEATURE_ID

protected static final java.lang.String NAMESPACES_FEATURE_ID
Namespaces feature id (http://xml.org/sax/features/namespaces).

See Also:
Constant Field Values

VALIDATION_FEATURE_ID

protected static final java.lang.String VALIDATION_FEATURE_ID
Validation feature id (http://xml.org/sax/features/validation).

See Also:
Constant Field Values

SCHEMA_VALIDATION_FEATURE_ID

protected static final java.lang.String SCHEMA_VALIDATION_FEATURE_ID
Schema validation feature id (http://apache.org/xml/features/validation/schema).

See Also:
Constant Field Values

SCHEMA_FULL_CHECKING_FEATURE_ID

protected static final java.lang.String SCHEMA_FULL_CHECKING_FEATURE_ID
Schema full checking feature id (http://apache.org/xml/features/validation/schema-full-checking).

See Also:
Constant Field Values

BIG_PRIME

protected static final int BIG_PRIME
See Also:
Constant Field Values
Constructor Detail

XMLUtils

public XMLUtils()
Method Detail

newSymbolTable

public static org.apache.xerces.util.SymbolTable newSymbolTable()

newXMLGrammarPool

public static org.apache.xerces.xni.grammars.XMLGrammarPool newXMLGrammarPool(org.apache.xerces.util.SymbolTable sym,
                                                                              java.lang.String schema)
                                                                       throws java.io.IOException

setValidating

public static void setValidating(javax.xml.parsers.SAXParserFactory factory,
                                 boolean value)
                          throws javax.xml.parsers.ParserConfigurationException,
                                 org.xml.sax.SAXNotRecognizedException,
                                 org.xml.sax.SAXNotSupportedException

setSchemaFullChecking

public static void setSchemaFullChecking(javax.xml.parsers.SAXParserFactory factory,
                                         boolean value)
                                  throws javax.xml.parsers.ParserConfigurationException,
                                         org.xml.sax.SAXNotRecognizedException,
                                         org.xml.sax.SAXNotSupportedException

configureParser

public static void configureParser(javax.xml.parsers.SAXParser parser,
                                   org.apache.xerces.util.SymbolTable sym,
                                   org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
                            throws org.xml.sax.SAXNotRecognizedException,
                                   org.xml.sax.SAXNotSupportedException