com.sun.xml.internal.org.jvnet.fastinfoset.VocabularyApplicationData Java Examples
The following examples show how to use
com.sun.xml.internal.org.jvnet.fastinfoset.VocabularyApplicationData.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: FastInfosetStreamWriterOutput.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
public FastInfosetStreamWriterOutput(StAXDocumentSerializer out, JAXBContextImpl context) { super(out); this.fiout = out; this.localNames = context.getUTF8NameTable(); final VocabularyApplicationData vocabAppData = fiout.getVocabularyApplicationData(); AppData appData = null; if (vocabAppData == null || !(vocabAppData instanceof AppData)) { appData = new AppData(); fiout.setVocabularyApplicationData(appData); } else { appData = (AppData)vocabAppData; } final TablesPerJAXBContext tablesPerContext = appData.contexts.get(context); if (tablesPerContext != null) { tables = tablesPerContext; /** * Obtain the current local name index. Thus will be used to * calculate the maximum index value when serializing for this context */ tables.clearOrResetTables(out.getLocalNameIndex()); } else { tables = new TablesPerJAXBContext(context, out.getLocalNameIndex()); appData.contexts.put(context, tables); } }
Example #2
Source File: FastInfosetStreamWriterOutput.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
public FastInfosetStreamWriterOutput(StAXDocumentSerializer out, JAXBContextImpl context) { super(out, NoEscapeHandler.theInstance); this.fiout = out; this.localNames = context.getUTF8NameTable(); final VocabularyApplicationData vocabAppData = fiout.getVocabularyApplicationData(); AppData appData = null; if (vocabAppData == null || !(vocabAppData instanceof AppData)) { appData = new AppData(); fiout.setVocabularyApplicationData(appData); } else { appData = (AppData)vocabAppData; } final TablesPerJAXBContext tablesPerContext = appData.contexts.get(context); if (tablesPerContext != null) { tables = tablesPerContext; /** * Obtain the current local name index. Thus will be used to * calculate the maximum index value when serializing for this context */ tables.clearOrResetTables(out.getLocalNameIndex()); } else { tables = new TablesPerJAXBContext(context, out.getLocalNameIndex()); appData.contexts.put(context, tables); } }
Example #3
Source File: FastInfosetStreamWriterOutput.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
public FastInfosetStreamWriterOutput(StAXDocumentSerializer out, JAXBContextImpl context) { super(out); this.fiout = out; this.localNames = context.getUTF8NameTable(); final VocabularyApplicationData vocabAppData = fiout.getVocabularyApplicationData(); AppData appData = null; if (vocabAppData == null || !(vocabAppData instanceof AppData)) { appData = new AppData(); fiout.setVocabularyApplicationData(appData); } else { appData = (AppData)vocabAppData; } final TablesPerJAXBContext tablesPerContext = appData.contexts.get(context); if (tablesPerContext != null) { tables = tablesPerContext; /** * Obtain the current local name index. Thus will be used to * calculate the maximum index value when serializing for this context */ tables.clearOrResetTables(out.getLocalNameIndex()); } else { tables = new TablesPerJAXBContext(context, out.getLocalNameIndex()); appData.contexts.put(context, tables); } }
Example #4
Source File: FastInfosetStreamWriterOutput.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
public FastInfosetStreamWriterOutput(StAXDocumentSerializer out, JAXBContextImpl context) { super(out); this.fiout = out; this.localNames = context.getUTF8NameTable(); final VocabularyApplicationData vocabAppData = fiout.getVocabularyApplicationData(); AppData appData = null; if (vocabAppData == null || !(vocabAppData instanceof AppData)) { appData = new AppData(); fiout.setVocabularyApplicationData(appData); } else { appData = (AppData)vocabAppData; } final TablesPerJAXBContext tablesPerContext = appData.contexts.get(context); if (tablesPerContext != null) { tables = tablesPerContext; /** * Obtain the current local name index. Thus will be used to * calculate the maximum index value when serializing for this context */ tables.clearOrResetTables(out.getLocalNameIndex()); } else { tables = new TablesPerJAXBContext(context, out.getLocalNameIndex()); appData.contexts.put(context, tables); } }
Example #5
Source File: FastInfosetStreamWriterOutput.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
public FastInfosetStreamWriterOutput(StAXDocumentSerializer out, JAXBContextImpl context) { super(out, NoEscapeHandler.theInstance); this.fiout = out; this.localNames = context.getUTF8NameTable(); final VocabularyApplicationData vocabAppData = fiout.getVocabularyApplicationData(); AppData appData = null; if (vocabAppData == null || !(vocabAppData instanceof AppData)) { appData = new AppData(); fiout.setVocabularyApplicationData(appData); } else { appData = (AppData)vocabAppData; } final TablesPerJAXBContext tablesPerContext = appData.contexts.get(context); if (tablesPerContext != null) { tables = tablesPerContext; /** * Obtain the current local name index. Thus will be used to * calculate the maximum index value when serializing for this context */ tables.clearOrResetTables(out.getLocalNameIndex()); } else { tables = new TablesPerJAXBContext(context, out.getLocalNameIndex()); appData.contexts.put(context, tables); } }
Example #6
Source File: FastInfosetStreamWriterOutput.java From hottub with GNU General Public License v2.0 | 5 votes |
public FastInfosetStreamWriterOutput(StAXDocumentSerializer out, JAXBContextImpl context) { super(out); this.fiout = out; this.localNames = context.getUTF8NameTable(); final VocabularyApplicationData vocabAppData = fiout.getVocabularyApplicationData(); AppData appData = null; if (vocabAppData == null || !(vocabAppData instanceof AppData)) { appData = new AppData(); fiout.setVocabularyApplicationData(appData); } else { appData = (AppData)vocabAppData; } final TablesPerJAXBContext tablesPerContext = appData.contexts.get(context); if (tablesPerContext != null) { tables = tablesPerContext; /** * Obtain the current local name index. Thus will be used to * calculate the maximum index value when serializing for this context */ tables.clearOrResetTables(out.getLocalNameIndex()); } else { tables = new TablesPerJAXBContext(context, out.getLocalNameIndex()); appData.contexts.put(context, tables); } }
Example #7
Source File: FastInfosetStreamWriterOutput.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
public FastInfosetStreamWriterOutput(StAXDocumentSerializer out, JAXBContextImpl context) { super(out, NoEscapeHandler.theInstance); this.fiout = out; this.localNames = context.getUTF8NameTable(); final VocabularyApplicationData vocabAppData = fiout.getVocabularyApplicationData(); AppData appData = null; if (vocabAppData == null || !(vocabAppData instanceof AppData)) { appData = new AppData(); fiout.setVocabularyApplicationData(appData); } else { appData = (AppData)vocabAppData; } final TablesPerJAXBContext tablesPerContext = appData.contexts.get(context); if (tablesPerContext != null) { tables = tablesPerContext; /** * Obtain the current local name index. Thus will be used to * calculate the maximum index value when serializing for this context */ tables.clearOrResetTables(out.getLocalNameIndex()); } else { tables = new TablesPerJAXBContext(context, out.getLocalNameIndex()); appData.contexts.put(context, tables); } }
Example #8
Source File: FastInfosetStreamWriterOutput.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
public FastInfosetStreamWriterOutput(StAXDocumentSerializer out, JAXBContextImpl context) { super(out, NoEscapeHandler.theInstance); this.fiout = out; this.localNames = context.getUTF8NameTable(); final VocabularyApplicationData vocabAppData = fiout.getVocabularyApplicationData(); AppData appData = null; if (vocabAppData == null || !(vocabAppData instanceof AppData)) { appData = new AppData(); fiout.setVocabularyApplicationData(appData); } else { appData = (AppData)vocabAppData; } final TablesPerJAXBContext tablesPerContext = appData.contexts.get(context); if (tablesPerContext != null) { tables = tablesPerContext; /** * Obtain the current local name index. Thus will be used to * calculate the maximum index value when serializing for this context */ tables.clearOrResetTables(out.getLocalNameIndex()); } else { tables = new TablesPerJAXBContext(context, out.getLocalNameIndex()); appData.contexts.put(context, tables); } }
Example #9
Source File: Encoder.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public void setVocabularyApplicationData(VocabularyApplicationData data) { _vData = data; }
Example #10
Source File: Encoder.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public VocabularyApplicationData getVocabularyApplicationData() { return _vData; }
Example #11
Source File: Encoder.java From openjdk-8 with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public void setVocabularyApplicationData(VocabularyApplicationData data) { _vData = data; }
Example #12
Source File: Encoder.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public VocabularyApplicationData getVocabularyApplicationData() { return _vData; }
Example #13
Source File: Encoder.java From openjdk-8-source with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public void setVocabularyApplicationData(VocabularyApplicationData data) { _vData = data; }
Example #14
Source File: Encoder.java From hottub with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public VocabularyApplicationData getVocabularyApplicationData() { return _vData; }
Example #15
Source File: Encoder.java From hottub with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public void setVocabularyApplicationData(VocabularyApplicationData data) { _vData = data; }
Example #16
Source File: Encoder.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public VocabularyApplicationData getVocabularyApplicationData() { return _vData; }
Example #17
Source File: Encoder.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public void setVocabularyApplicationData(VocabularyApplicationData data) { _vData = data; }
Example #18
Source File: Encoder.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public VocabularyApplicationData getVocabularyApplicationData() { return _vData; }
Example #19
Source File: Encoder.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public void setVocabularyApplicationData(VocabularyApplicationData data) { _vData = data; }
Example #20
Source File: Encoder.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public VocabularyApplicationData getVocabularyApplicationData() { return _vData; }
Example #21
Source File: Encoder.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public void setVocabularyApplicationData(VocabularyApplicationData data) { _vData = data; }
Example #22
Source File: Encoder.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public VocabularyApplicationData getVocabularyApplicationData() { return _vData; }
Example #23
Source File: Encoder.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public void setVocabularyApplicationData(VocabularyApplicationData data) { _vData = data; }
Example #24
Source File: Encoder.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
/** * {@inheritDoc} */ public VocabularyApplicationData getVocabularyApplicationData() { return _vData; }