public void play(TemplateHandler handler) throws SAXException { handler.endElement(uri,localName, qName); } }
public void play(TemplateHandler handler) throws SAXException { handler.startElement(uri,localName,qName,attributes); } }
public static FieldReferenceOffsetManager loadFrom(String source) throws ParserConfigurationException, SAXException, IOException { return loadFrom(source,(short)0); }
public static void postProcessDictionary(TemplateHandler handler, int byteGap, int maxByteLength) { handler.buildDictionaryMemberLists(); // the catalog file need not be "Small" but it probably will be. // the catalog file must be "Fast" to load without any "Processing" // needed by the consumer. // this enables fast startup/recovery times that do not produce garbage. handler.defaultConstValues.setTypeCounts( handler.tokenBuilderIntCount.intValue(), handler.tokenBuilderLongCount.intValue(), handler.tokenBuilderByteCount.intValue(), byteGap, maxByteLength); }
public static FieldReferenceOffsetManager from(TemplateHandler handler, short preambleBytes) { return from(handler, preambleBytes,"Catalog"); }
public LocalHeap byteDictionary() { if (bytesCount == 0) { return null; } if (null==byteHeap) { byteHeap = new LocalHeap(singleBytesSize, gapBytesSize, nextPowerOfTwo(bytesCount), byteInitTotalLength, byteInitIndex, byteInitValue); LocalHeap.reset(byteHeap); } return byteHeap; }
public static byte[] initConstantByteArray(DictionaryFactory dcr) { if (null!=dcr) { LocalHeap byteHeap = dcr.byteDictionary(); if (null!=byteHeap) { return LocalHeap.rawInitAccess(byteHeap); } else { return null; } } else { return null; } }
public static FieldReferenceOffsetManager loadFrom(String source) throws ParserConfigurationException, SAXException, IOException { return loadFrom(source,(short)0); }
public static void postProcessDictionary(TemplateHandler handler, int byteGap, int maxByteLength) { handler.buildDictionaryMemberLists(); // the catalog file need not be "Small" but it probably will be. // the catalog file must be "Fast" to load without any "Processing" // needed by the consumer. // this enables fast startup/recovery times that do not produce garbage. handler.defaultConstValues.setTypeCounts( handler.tokenBuilderIntCount.intValue(), handler.tokenBuilderLongCount.intValue(), handler.tokenBuilderByteCount.intValue(), byteGap, maxByteLength); }
public void play(TemplateHandler handler) throws SAXException { handler.endElement(uri,localName, qName); } }
public void play(TemplateHandler handler) throws SAXException { handler.startElement(uri,localName,qName,attributes); } }
public static FieldReferenceOffsetManager from(TemplateHandler handler, short preambleBytes) { return from(handler, preambleBytes,"Catalog"); }
public LocalHeap byteDictionary() { if (bytesCount == 0) { return null; } if (null==byteHeap) { byteHeap = new LocalHeap(singleBytesSize, gapBytesSize, nextPowerOfTwo(bytesCount), byteInitTotalLength, byteInitIndex, byteInitValue); LocalHeap.reset(byteHeap); } return byteHeap; }
public static FieldReferenceOffsetManager loadFrom(String source) throws ParserConfigurationException, SAXException, IOException { return loadFrom(source,(short)0); }
public static void postProcessDictionary(TemplateHandler handler, int byteGap, int maxByteLength) { handler.buildDictionaryMemberLists(); // the catalog file need not be "Small" but it probably will be. // the catalog file must be "Fast" to load without any "Processing" // needed by the consumer. // this enables fast startup/recovery times that do not produce garbage. handler.defaultConstValues.setTypeCounts( handler.tokenBuilderIntCount.intValue(), handler.tokenBuilderLongCount.intValue(), handler.tokenBuilderByteCount.intValue(), byteGap, maxByteLength); }
public void play(TemplateHandler handler) throws SAXException { handler.endElement(uri,localName, qName); } }
public void play(TemplateHandler handler) throws SAXException { handler.startElement(uri,localName,qName,attributes); } }
public static FieldReferenceOffsetManager from(TemplateHandler handler, short preambleBytes) { return from(handler, preambleBytes,"Catalog"); }
public LocalHeap byteDictionary() { if (bytesCount == 0) { return null; } if (null==byteHeap) { byteHeap = new LocalHeap(singleBytesSize, gapBytesSize, nextPowerOfTwo(bytesCount), byteInitTotalLength, byteInitIndex, byteInitValue); LocalHeap.reset(byteHeap); } return byteHeap; }
public static FieldReferenceOffsetManager buildFROM(String source) { try { return TemplateHandler.loadFrom(source); } catch (Exception e) { throw new RuntimeException(e); } }