/** Deny default construction; we need a SymtolTable! */ public XMLDTDLoader() { this(new SymbolTable()); } // <init>()
public SynchronizedSymbolTable() { fSymbolTable = new SymbolTable(); } // init()
public SynchronizedSymbolTable(int size) { fSymbolTable = new SymbolTable(size); } // init(int)
/** Default constructor. */ public XMLGrammarPreparser() { this(new SymbolTable()); } // <init>()
/** * */ public XPointerHandler() { super(); fXPointerParts = new ArrayList(); fSymbolTable = new SymbolTable(); }
public XMLSchemaLoader() { this( new SymbolTable(), null, new XMLEntityManager(), null, null, null); }
/** Default constructor. */ public CachingParserPool() { this(new SymbolTable(), new XMLGrammarPoolImpl()); } // <init>()
private void initSerializer(XMLSerializer ser) { ser.fNSBinder = new NamespaceSupport(); ser.fLocalNSBinder = new NamespaceSupport(); ser.fSymbolTable = new SymbolTable(); }
/** Main program entry. */ public static void main(String[] argv) throws Exception { for (int i = 0; i < argv.length; i++) { final String expression = argv[i]; System.out.println("# XPath expression: \""+expression+'"'); try { SymbolTable symbolTable = new SymbolTable(); XPath xpath = new XPath(expression, symbolTable, null); System.out.println("expanded xpath: \""+xpath.toString()+'"'); } catch (XPathException e) { System.out.println("error: "+e.getMessage()); } } } // main(String[])
/** * This methods turns on namespace fixup algorithm during * DOM serialization. * @see org.w3c.dom.ls.DOMSerializer * * @param namespaces */ public void setNamespaces (boolean namespaces){ fNamespaces = namespaces; if (fNSBinder == null) { fNSBinder = new NamespaceSupport(); fLocalNSBinder = new NamespaceSupport(); fSymbolTable = new SymbolTable(); } }
/** * This methods turns on namespace fixup algorithm during * DOM serialization. * @see org.w3c.dom.ls.LSSerializer * * @param namespaces */ public void setNamespaces (boolean namespaces){ fNamespaces = namespaces; if (fNSBinder == null) { fNSBinder = new NamespaceSupport(); fLocalNSBinder = new NamespaceSupport(); fSymbolTable = new SymbolTable(); } }
symbolTable = new SymbolTable();
fComponents.put(ERROR_HANDLER, null); fComponents.put(SECURITY_MANAGER, null); fComponents.put(SYMBOL_TABLE, new SymbolTable());
symbolTable = new SymbolTable();
symbolTable = new SymbolTable();
public ValidatingDocumentBuilderFactory() throws ParserConfigurationException { setNamespaceAware(true); setValidating(true); setAttribute("http://apache.org/xml/properties/internal/grammar-pool", this.grammarPool); setAttribute("http://apache.org/xml/properties/internal/symbol-table", new SymbolTable(2039)); setAttribute("http://xml.org/sax/features/validation", Boolean.TRUE); setAttribute("http://apache.org/xml/features/validation/schema", Boolean.TRUE); setAttribute("http://apache.org/xml/features/validation/schema-full-checking", Boolean.FALSE); }
SymbolTable sym = new SymbolTable( BIG_PRIME );
symbolTable = new SymbolTable();
public Schema createSchema(SAXSource source, PropertyMap properties) throws IOException, SAXException, IncorrectSchemaException { SymbolTable symbolTable = new SymbolTable(); XMLGrammarPreparser preparser = new XMLGrammarPreparser(symbolTable); XMLGrammarPool grammarPool = new XMLGrammarPoolImpl();
public Schema createSchema(SAXSource source, PropertyMap properties) throws IOException, SAXException, IncorrectSchemaException { SymbolTable symbolTable = new SymbolTable(); XMLGrammarPreparser preparser = new XMLGrammarPreparser(symbolTable); XMLGrammarPool grammarPool = new XMLGrammarPoolImpl();