com.sun.xml.internal.fastinfoset.util.FixedEntryStringIntMap Java Examples
The following examples show how to use
com.sun.xml.internal.fastinfoset.util.FixedEntryStringIntMap.
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: ParserVocabulary.java From TencentKona-8 with 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 File: ParserVocabulary.java From jdk8u60 with 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 File: ParserVocabulary.java From openjdk-jdk8u with 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 File: ParserVocabulary.java From openjdk-jdk8u-backup with 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 File: ParserVocabulary.java From openjdk-jdk9 with 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 File: ParserVocabulary.java From hottub with 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 File: ParserVocabulary.java From openjdk-8-source with 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 File: ParserVocabulary.java From openjdk-8 with 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 File: SerializerVocabulary.java From TencentKona-8 with 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 File: SerializerVocabulary.java From jdk8u60 with 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 File: SerializerVocabulary.java From openjdk-jdk8u with 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 File: SerializerVocabulary.java From openjdk-jdk8u-backup with 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 File: SerializerVocabulary.java From openjdk-jdk9 with 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 File: SerializerVocabulary.java From hottub with 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 File: SerializerVocabulary.java From openjdk-8-source with 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 File: SerializerVocabulary.java From openjdk-8 with 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(); }