Java Code Examples for com.sun.xml.internal.fastinfoset.util.FixedEntryStringIntMap
The following examples show how to use
com.sun.xml.internal.fastinfoset.util.FixedEntryStringIntMap. These examples are extracted from open source projects.
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 Project: TencentKona-8 Source File: ParserVocabulary.java License: GNU General Public License v2.0 | 6 votes |
private void convertVocabulary(com.sun.xml.internal.org.jvnet.fastinfoset.Vocabulary v) { final StringIntMap prefixMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_PREFIX, 8); final StringIntMap namespaceNameMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_NAME, 8); final StringIntMap localNameMap = new StringIntMap(); addToTable(v.restrictedAlphabets.iterator(), restrictedAlphabet); addToTable(v.encodingAlgorithms.iterator(), encodingAlgorithm); addToTable(v.prefixes.iterator(), prefix, prefixMap); addToTable(v.namespaceNames.iterator(), namespaceName, namespaceNameMap); addToTable(v.localNames.iterator(), localName, localNameMap); addToTable(v.otherNCNames.iterator(), otherNCName); addToTable(v.otherURIs.iterator(), otherURI); addToTable(v.attributeValues.iterator(), attributeValue); addToTable(v.otherStrings.iterator(), otherString); addToTable(v.characterContentChunks.iterator(), characterContentChunk); addToTable(v.elements.iterator(), elementName, false, prefixMap, namespaceNameMap, localNameMap); addToTable(v.attributes.iterator(), attributeName, true, prefixMap, namespaceNameMap, localNameMap); }
Example 2
Source Project: jdk8u60 Source File: ParserVocabulary.java License: GNU General Public License v2.0 | 6 votes |
private void convertVocabulary(com.sun.xml.internal.org.jvnet.fastinfoset.Vocabulary v) { final StringIntMap prefixMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_PREFIX, 8); final StringIntMap namespaceNameMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_NAME, 8); final StringIntMap localNameMap = new StringIntMap(); addToTable(v.restrictedAlphabets.iterator(), restrictedAlphabet); addToTable(v.encodingAlgorithms.iterator(), encodingAlgorithm); addToTable(v.prefixes.iterator(), prefix, prefixMap); addToTable(v.namespaceNames.iterator(), namespaceName, namespaceNameMap); addToTable(v.localNames.iterator(), localName, localNameMap); addToTable(v.otherNCNames.iterator(), otherNCName); addToTable(v.otherURIs.iterator(), otherURI); addToTable(v.attributeValues.iterator(), attributeValue); addToTable(v.otherStrings.iterator(), otherString); addToTable(v.characterContentChunks.iterator(), characterContentChunk); addToTable(v.elements.iterator(), elementName, false, prefixMap, namespaceNameMap, localNameMap); addToTable(v.attributes.iterator(), attributeName, true, prefixMap, namespaceNameMap, localNameMap); }
Example 3
Source Project: openjdk-jdk8u Source File: ParserVocabulary.java License: GNU General Public License v2.0 | 6 votes |
private void convertVocabulary(com.sun.xml.internal.org.jvnet.fastinfoset.Vocabulary v) { final StringIntMap prefixMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_PREFIX, 8); final StringIntMap namespaceNameMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_NAME, 8); final StringIntMap localNameMap = new StringIntMap(); addToTable(v.restrictedAlphabets.iterator(), restrictedAlphabet); addToTable(v.encodingAlgorithms.iterator(), encodingAlgorithm); addToTable(v.prefixes.iterator(), prefix, prefixMap); addToTable(v.namespaceNames.iterator(), namespaceName, namespaceNameMap); addToTable(v.localNames.iterator(), localName, localNameMap); addToTable(v.otherNCNames.iterator(), otherNCName); addToTable(v.otherURIs.iterator(), otherURI); addToTable(v.attributeValues.iterator(), attributeValue); addToTable(v.otherStrings.iterator(), otherString); addToTable(v.characterContentChunks.iterator(), characterContentChunk); addToTable(v.elements.iterator(), elementName, false, prefixMap, namespaceNameMap, localNameMap); addToTable(v.attributes.iterator(), attributeName, true, prefixMap, namespaceNameMap, localNameMap); }
Example 4
Source Project: openjdk-jdk8u-backup Source File: ParserVocabulary.java License: GNU General Public License v2.0 | 6 votes |
private void convertVocabulary(com.sun.xml.internal.org.jvnet.fastinfoset.Vocabulary v) { final StringIntMap prefixMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_PREFIX, 8); final StringIntMap namespaceNameMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_NAME, 8); final StringIntMap localNameMap = new StringIntMap(); addToTable(v.restrictedAlphabets.iterator(), restrictedAlphabet); addToTable(v.encodingAlgorithms.iterator(), encodingAlgorithm); addToTable(v.prefixes.iterator(), prefix, prefixMap); addToTable(v.namespaceNames.iterator(), namespaceName, namespaceNameMap); addToTable(v.localNames.iterator(), localName, localNameMap); addToTable(v.otherNCNames.iterator(), otherNCName); addToTable(v.otherURIs.iterator(), otherURI); addToTable(v.attributeValues.iterator(), attributeValue); addToTable(v.otherStrings.iterator(), otherString); addToTable(v.characterContentChunks.iterator(), characterContentChunk); addToTable(v.elements.iterator(), elementName, false, prefixMap, namespaceNameMap, localNameMap); addToTable(v.attributes.iterator(), attributeName, true, prefixMap, namespaceNameMap, localNameMap); }
Example 5
Source Project: openjdk-jdk9 Source File: ParserVocabulary.java License: GNU General Public License v2.0 | 6 votes |
private void convertVocabulary(com.sun.xml.internal.org.jvnet.fastinfoset.Vocabulary v) { final StringIntMap prefixMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_PREFIX, 8); final StringIntMap namespaceNameMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_NAME, 8); final StringIntMap localNameMap = new StringIntMap(); addToTable(v.restrictedAlphabets.iterator(), restrictedAlphabet); addToTable(v.encodingAlgorithms.iterator(), encodingAlgorithm); addToTable(v.prefixes.iterator(), prefix, prefixMap); addToTable(v.namespaceNames.iterator(), namespaceName, namespaceNameMap); addToTable(v.localNames.iterator(), localName, localNameMap); addToTable(v.otherNCNames.iterator(), otherNCName); addToTable(v.otherURIs.iterator(), otherURI); addToTable(v.attributeValues.iterator(), attributeValue); addToTable(v.otherStrings.iterator(), otherString); addToTable(v.characterContentChunks.iterator(), characterContentChunk); addToTable(v.elements.iterator(), elementName, false, prefixMap, namespaceNameMap, localNameMap); addToTable(v.attributes.iterator(), attributeName, true, prefixMap, namespaceNameMap, localNameMap); }
Example 6
Source Project: hottub Source File: ParserVocabulary.java License: GNU General Public License v2.0 | 6 votes |
private void convertVocabulary(com.sun.xml.internal.org.jvnet.fastinfoset.Vocabulary v) { final StringIntMap prefixMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_PREFIX, 8); final StringIntMap namespaceNameMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_NAME, 8); final StringIntMap localNameMap = new StringIntMap(); addToTable(v.restrictedAlphabets.iterator(), restrictedAlphabet); addToTable(v.encodingAlgorithms.iterator(), encodingAlgorithm); addToTable(v.prefixes.iterator(), prefix, prefixMap); addToTable(v.namespaceNames.iterator(), namespaceName, namespaceNameMap); addToTable(v.localNames.iterator(), localName, localNameMap); addToTable(v.otherNCNames.iterator(), otherNCName); addToTable(v.otherURIs.iterator(), otherURI); addToTable(v.attributeValues.iterator(), attributeValue); addToTable(v.otherStrings.iterator(), otherString); addToTable(v.characterContentChunks.iterator(), characterContentChunk); addToTable(v.elements.iterator(), elementName, false, prefixMap, namespaceNameMap, localNameMap); addToTable(v.attributes.iterator(), attributeName, true, prefixMap, namespaceNameMap, localNameMap); }
Example 7
Source Project: openjdk-8-source Source File: ParserVocabulary.java License: GNU General Public License v2.0 | 6 votes |
private void convertVocabulary(com.sun.xml.internal.org.jvnet.fastinfoset.Vocabulary v) { final StringIntMap prefixMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_PREFIX, 8); final StringIntMap namespaceNameMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_NAME, 8); final StringIntMap localNameMap = new StringIntMap(); addToTable(v.restrictedAlphabets.iterator(), restrictedAlphabet); addToTable(v.encodingAlgorithms.iterator(), encodingAlgorithm); addToTable(v.prefixes.iterator(), prefix, prefixMap); addToTable(v.namespaceNames.iterator(), namespaceName, namespaceNameMap); addToTable(v.localNames.iterator(), localName, localNameMap); addToTable(v.otherNCNames.iterator(), otherNCName); addToTable(v.otherURIs.iterator(), otherURI); addToTable(v.attributeValues.iterator(), attributeValue); addToTable(v.otherStrings.iterator(), otherString); addToTable(v.characterContentChunks.iterator(), characterContentChunk); addToTable(v.elements.iterator(), elementName, false, prefixMap, namespaceNameMap, localNameMap); addToTable(v.attributes.iterator(), attributeName, true, prefixMap, namespaceNameMap, localNameMap); }
Example 8
Source Project: openjdk-8 Source File: ParserVocabulary.java License: GNU General Public License v2.0 | 6 votes |
private void convertVocabulary(com.sun.xml.internal.org.jvnet.fastinfoset.Vocabulary v) { final StringIntMap prefixMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_PREFIX, 8); final StringIntMap namespaceNameMap = new FixedEntryStringIntMap( EncodingConstants.XML_NAMESPACE_NAME, 8); final StringIntMap localNameMap = new StringIntMap(); addToTable(v.restrictedAlphabets.iterator(), restrictedAlphabet); addToTable(v.encodingAlgorithms.iterator(), encodingAlgorithm); addToTable(v.prefixes.iterator(), prefix, prefixMap); addToTable(v.namespaceNames.iterator(), namespaceName, namespaceNameMap); addToTable(v.localNames.iterator(), localName, localNameMap); addToTable(v.otherNCNames.iterator(), otherNCName); addToTable(v.otherURIs.iterator(), otherURI); addToTable(v.attributeValues.iterator(), attributeValue); addToTable(v.otherStrings.iterator(), otherString); addToTable(v.characterContentChunks.iterator(), characterContentChunk); addToTable(v.elements.iterator(), elementName, false, prefixMap, namespaceNameMap, localNameMap); addToTable(v.attributes.iterator(), attributeName, true, prefixMap, namespaceNameMap, localNameMap); }
Example 9
Source Project: TencentKona-8 Source File: SerializerVocabulary.java License: GNU General Public License v2.0 | 5 votes |
public SerializerVocabulary() { tables[RESTRICTED_ALPHABET] = restrictedAlphabet = new StringIntMap(4); tables[ENCODING_ALGORITHM] = encodingAlgorithm = new StringIntMap(4); tables[PREFIX] = prefix = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_PREFIX, 8); tables[NAMESPACE_NAME] = namespaceName = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_NAME, 8); tables[LOCAL_NAME] = localName = new StringIntMap(); tables[OTHER_NCNAME] = otherNCName = new StringIntMap(4); tables[OTHER_URI] = otherURI = new StringIntMap(4); tables[ATTRIBUTE_VALUE] = attributeValue = new StringIntMap(); tables[OTHER_STRING] = otherString = new CharArrayIntMap(4); tables[CHARACTER_CONTENT_CHUNK] = characterContentChunk = new CharArrayIntMap(); tables[ELEMENT_NAME] = elementName = new LocalNameQualifiedNamesMap(); tables[ATTRIBUTE_NAME] = attributeName = new LocalNameQualifiedNamesMap(); }
Example 10
Source Project: jdk8u60 Source File: SerializerVocabulary.java License: GNU General Public License v2.0 | 5 votes |
public SerializerVocabulary() { tables[RESTRICTED_ALPHABET] = restrictedAlphabet = new StringIntMap(4); tables[ENCODING_ALGORITHM] = encodingAlgorithm = new StringIntMap(4); tables[PREFIX] = prefix = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_PREFIX, 8); tables[NAMESPACE_NAME] = namespaceName = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_NAME, 8); tables[LOCAL_NAME] = localName = new StringIntMap(); tables[OTHER_NCNAME] = otherNCName = new StringIntMap(4); tables[OTHER_URI] = otherURI = new StringIntMap(4); tables[ATTRIBUTE_VALUE] = attributeValue = new StringIntMap(); tables[OTHER_STRING] = otherString = new CharArrayIntMap(4); tables[CHARACTER_CONTENT_CHUNK] = characterContentChunk = new CharArrayIntMap(); tables[ELEMENT_NAME] = elementName = new LocalNameQualifiedNamesMap(); tables[ATTRIBUTE_NAME] = attributeName = new LocalNameQualifiedNamesMap(); }
Example 11
Source Project: openjdk-jdk8u Source File: SerializerVocabulary.java License: GNU General Public License v2.0 | 5 votes |
public SerializerVocabulary() { tables[RESTRICTED_ALPHABET] = restrictedAlphabet = new StringIntMap(4); tables[ENCODING_ALGORITHM] = encodingAlgorithm = new StringIntMap(4); tables[PREFIX] = prefix = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_PREFIX, 8); tables[NAMESPACE_NAME] = namespaceName = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_NAME, 8); tables[LOCAL_NAME] = localName = new StringIntMap(); tables[OTHER_NCNAME] = otherNCName = new StringIntMap(4); tables[OTHER_URI] = otherURI = new StringIntMap(4); tables[ATTRIBUTE_VALUE] = attributeValue = new StringIntMap(); tables[OTHER_STRING] = otherString = new CharArrayIntMap(4); tables[CHARACTER_CONTENT_CHUNK] = characterContentChunk = new CharArrayIntMap(); tables[ELEMENT_NAME] = elementName = new LocalNameQualifiedNamesMap(); tables[ATTRIBUTE_NAME] = attributeName = new LocalNameQualifiedNamesMap(); }
Example 12
Source Project: openjdk-jdk8u-backup Source File: SerializerVocabulary.java License: GNU General Public License v2.0 | 5 votes |
public SerializerVocabulary() { tables[RESTRICTED_ALPHABET] = restrictedAlphabet = new StringIntMap(4); tables[ENCODING_ALGORITHM] = encodingAlgorithm = new StringIntMap(4); tables[PREFIX] = prefix = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_PREFIX, 8); tables[NAMESPACE_NAME] = namespaceName = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_NAME, 8); tables[LOCAL_NAME] = localName = new StringIntMap(); tables[OTHER_NCNAME] = otherNCName = new StringIntMap(4); tables[OTHER_URI] = otherURI = new StringIntMap(4); tables[ATTRIBUTE_VALUE] = attributeValue = new StringIntMap(); tables[OTHER_STRING] = otherString = new CharArrayIntMap(4); tables[CHARACTER_CONTENT_CHUNK] = characterContentChunk = new CharArrayIntMap(); tables[ELEMENT_NAME] = elementName = new LocalNameQualifiedNamesMap(); tables[ATTRIBUTE_NAME] = attributeName = new LocalNameQualifiedNamesMap(); }
Example 13
Source Project: openjdk-jdk9 Source File: SerializerVocabulary.java License: GNU General Public License v2.0 | 5 votes |
public SerializerVocabulary() { tables[RESTRICTED_ALPHABET] = restrictedAlphabet = new StringIntMap(4); tables[ENCODING_ALGORITHM] = encodingAlgorithm = new StringIntMap(4); tables[PREFIX] = prefix = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_PREFIX, 8); tables[NAMESPACE_NAME] = namespaceName = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_NAME, 8); tables[LOCAL_NAME] = localName = new StringIntMap(); tables[OTHER_NCNAME] = otherNCName = new StringIntMap(4); tables[OTHER_URI] = otherURI = new StringIntMap(4); tables[ATTRIBUTE_VALUE] = attributeValue = new StringIntMap(); tables[OTHER_STRING] = otherString = new CharArrayIntMap(4); tables[CHARACTER_CONTENT_CHUNK] = characterContentChunk = new CharArrayIntMap(); tables[ELEMENT_NAME] = elementName = new LocalNameQualifiedNamesMap(); tables[ATTRIBUTE_NAME] = attributeName = new LocalNameQualifiedNamesMap(); }
Example 14
Source Project: hottub Source File: SerializerVocabulary.java License: GNU General Public License v2.0 | 5 votes |
public SerializerVocabulary() { tables[RESTRICTED_ALPHABET] = restrictedAlphabet = new StringIntMap(4); tables[ENCODING_ALGORITHM] = encodingAlgorithm = new StringIntMap(4); tables[PREFIX] = prefix = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_PREFIX, 8); tables[NAMESPACE_NAME] = namespaceName = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_NAME, 8); tables[LOCAL_NAME] = localName = new StringIntMap(); tables[OTHER_NCNAME] = otherNCName = new StringIntMap(4); tables[OTHER_URI] = otherURI = new StringIntMap(4); tables[ATTRIBUTE_VALUE] = attributeValue = new StringIntMap(); tables[OTHER_STRING] = otherString = new CharArrayIntMap(4); tables[CHARACTER_CONTENT_CHUNK] = characterContentChunk = new CharArrayIntMap(); tables[ELEMENT_NAME] = elementName = new LocalNameQualifiedNamesMap(); tables[ATTRIBUTE_NAME] = attributeName = new LocalNameQualifiedNamesMap(); }
Example 15
Source Project: openjdk-8-source Source File: SerializerVocabulary.java License: GNU General Public License v2.0 | 5 votes |
public SerializerVocabulary() { tables[RESTRICTED_ALPHABET] = restrictedAlphabet = new StringIntMap(4); tables[ENCODING_ALGORITHM] = encodingAlgorithm = new StringIntMap(4); tables[PREFIX] = prefix = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_PREFIX, 8); tables[NAMESPACE_NAME] = namespaceName = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_NAME, 8); tables[LOCAL_NAME] = localName = new StringIntMap(); tables[OTHER_NCNAME] = otherNCName = new StringIntMap(4); tables[OTHER_URI] = otherURI = new StringIntMap(4); tables[ATTRIBUTE_VALUE] = attributeValue = new StringIntMap(); tables[OTHER_STRING] = otherString = new CharArrayIntMap(4); tables[CHARACTER_CONTENT_CHUNK] = characterContentChunk = new CharArrayIntMap(); tables[ELEMENT_NAME] = elementName = new LocalNameQualifiedNamesMap(); tables[ATTRIBUTE_NAME] = attributeName = new LocalNameQualifiedNamesMap(); }
Example 16
Source Project: openjdk-8 Source File: SerializerVocabulary.java License: GNU General Public License v2.0 | 5 votes |
public SerializerVocabulary() { tables[RESTRICTED_ALPHABET] = restrictedAlphabet = new StringIntMap(4); tables[ENCODING_ALGORITHM] = encodingAlgorithm = new StringIntMap(4); tables[PREFIX] = prefix = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_PREFIX, 8); tables[NAMESPACE_NAME] = namespaceName = new FixedEntryStringIntMap(EncodingConstants.XML_NAMESPACE_NAME, 8); tables[LOCAL_NAME] = localName = new StringIntMap(); tables[OTHER_NCNAME] = otherNCName = new StringIntMap(4); tables[OTHER_URI] = otherURI = new StringIntMap(4); tables[ATTRIBUTE_VALUE] = attributeValue = new StringIntMap(); tables[OTHER_STRING] = otherString = new CharArrayIntMap(4); tables[CHARACTER_CONTENT_CHUNK] = characterContentChunk = new CharArrayIntMap(); tables[ELEMENT_NAME] = elementName = new LocalNameQualifiedNamesMap(); tables[ATTRIBUTE_NAME] = attributeName = new LocalNameQualifiedNamesMap(); }