Package com._1c.g5.modeling.xml.parser
Class StaxXmiParser
- java.lang.Object
-
- com._1c.g5.modeling.xml.parser.XmlParserAdapter
-
- com._1c.g5.modeling.xml.parser.AbstractStaxXmlParser
-
- com._1c.g5.modeling.xml.parser.AbstractStaxXmiParser
-
- com._1c.g5.modeling.xml.parser.StaxXmiParser
-
- All Implemented Interfaces:
IXmlParser
,org.eclipse.emf.ecore.xmi.XMLLoad
public class StaxXmiParser extends AbstractStaxXmiParser
XMI парсер с сохранением форматирования и позиций для элементов модели. Так же поддерживает резолвинг символических ссылок и абстрактных ссылок без указания xsi:type
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com._1c.g5.modeling.xml.parser.AbstractStaxXmlParser
AbstractStaxXmlParser.Attributes, AbstractStaxXmlParser.ManyReference, AbstractStaxXmlParser.MyEObjectStack, AbstractStaxXmlParser.MyStack<E>, AbstractStaxXmlParser.SingleReference
-
-
Field Summary
-
Fields inherited from class com._1c.g5.modeling.xml.parser.AbstractStaxXmiParser
ID_ATTRIB, UUID_ATTRIB, VERSION_ATTRIB, XMI_ELEMENT_NAME, XMI_ELEMENT_TYPE, XMI_EXTENSION, XMI_TYPE_ATTRIB, XMI_UUID
-
Fields inherited from class com._1c.g5.modeling.xml.parser.AbstractStaxXmlParser
anySimpleType, anyType, ARRAY_SIZE, attribs, capacity, contextFeature, DEBUG_DEMANDED_PACKAGES, deferIDREFResolution, deferredExtent, disableNotify, DOCUMENT_ROOT_TYPE, documentRoot, documentRootNode, ecoreBuilder, elements, eObjectToExtensionMap, ERROR_TYPE, extendedMetaData, extent, externalURIToLocations, forwardManyReferences, forwardSingleReferences, helper, hrefAttribute, idAttribute, identifiers, isIDREF, isNamespaceAware, isRoot, isSimpleFeature, keepAttributeLocation, laxWildcardProcessing, mixedTargets, namespaces, NAMESPACES_PREFIX_MAP, needsPushContext, NIL_ATTRIB, NO_NAMESPACE_SCHEMA_LOCATION_ATTRIB, nodes, notFeatures, OBJECT_TYPE, objects, oldStyleProxyURIs, packageRegistry, parseResult, positions, prefixesToFactories, processAnyXML, processSchemaLocations, reader, recordAnyTypeNSDecls, recordUnknownFeature, REFERENCE_THRESHOLD, resolve, resourceEntityHandler, resourceSet, resourceURI, rootNode, sameDocumentProxies, SCHEMA_LOCATION_ATTRIB, suppressDocumentRoot, text, TYPE_ATTRIB, types, UNKNOWN_FEATURE_TYPE, uriHandler, urisToLocations, useConfigurationCache, usedNullNamespacePackage, useSymlink, xmlMap, xmlResource, xmlSchemaTypePackage
-
Fields inherited from interface com._1c.g5.modeling.xml.parser.IXmlParser
OPTION_USE_SYMLINK
-
-
Constructor Summary
Constructors Constructor Description StaxXmiParser()
StaxXmiParser(org.eclipse.emf.ecore.xmi.XMLHelper xmlHelper, Map<?,?> options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getXsiType()
Returns the xsi type attribute's value.-
Methods inherited from class com._1c.g5.modeling.xml.parser.AbstractStaxXmiParser
createDocumentRoot, createObject, handleUnknownFeature, init, isTextFeatureValue, processElement, startElement
-
Methods inherited from class com._1c.g5.modeling.xml.parser.AbstractStaxXmlParser
characters, comment, createAttributeNodeForProxy, createEcoreBuilder, createObject, createObjectByType, createObjectFromFactory, createObjectFromFeatureType, createObjectFromTypeName, createTopObject, endDocument, endElement, error, fatalError, findAppropriateQName, findInstantiableCompatible, findSubTypeInEPackage, getColumnNumber, getContentFeature, getCurrentLocation, getExtension, getFactoryForPrefix, getFeature, getFeature, getLineNumber, getLocation, getPackageForURI, getParseResult, getRegistry, getStartLocation, getURIConverter, globalFindInstantiableCompatible, growArrays, handleComment, handleFeature, handleForwardReferences, handleForwardReferences, handleMissingPackage, handleMixedText, handleObjectAttribs, handleProxy, handleSchemaLocation, handleTopLocations, handleXSINoNamespaceSchemaLocation, handleXSISchemaLocation, initReader, isError, isNull, parse, process, processFeature, processObject, processSchemaLocations, processTopObject, recordHeaderInformation, recordNamespacesSchemaLocations, recordUnknownFeature, reportUnknownFeature, resolveObjectWithoutXsiType, setAttributes, setAttribValue, setExtendedMetaDataOption, setFeatureValue, setFeatureValue, setFeatureValues, setNamespaces, setNamespaceValue, setNodeEndLocation, setValueFromId, setValueFromId, setXMIAttribValue, startDocument, storeAttributeNodeLocationInfo, storeWhitespacesInformation, validateCreateObjectFromFactory, validateCreateObjectFromFactory, validateCreateObjectFromFactory, warning
-
Methods inherited from class com._1c.g5.modeling.xml.parser.XmlParserAdapter
createDefaultHandler, load, load, load
-
-
-
-
Constructor Detail
-
StaxXmiParser
public StaxXmiParser()
-
StaxXmiParser
public StaxXmiParser(org.eclipse.emf.ecore.xmi.XMLHelper xmlHelper, Map<?,?> options)
-
-
Method Detail
-
getXsiType
protected String getXsiType()
Description copied from class:AbstractStaxXmlParser
Returns the xsi type attribute's value.- Specified by:
getXsiType
in classAbstractStaxXmlParser
-
-