Package org.yamcs.xtce.xml
Class XtceStaxReader
java.lang.Object
org.yamcs.xtce.xml.AbstractStaxReader
org.yamcs.xtce.xml.XtceStaxReader
- All Implemented Interfaces:
AutoCloseable
This class reads the XTCE XML files. XML document is accessed with the use of the Stax Iterator API.
-
Field Summary
Fields inherited from class org.yamcs.xtce.xml.AbstractStaxReader
fileName, xmlEvent, xmlEventReader
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ParameterReference
getParameterReference
(SpaceSystem spaceSystem, String paramName) static void
makeParameterReference
(SpaceSystem spaceSystem, String paramRef, ParameterReference.ParameterResolvedAction action) Reads the XML XTCE filevoid
setExcludedContainers
(Set<String> excludedContainers) void
Write statistics.Methods inherited from class org.yamcs.xtce.xml.AbstractStaxReader
checkStartElementPreconditions, close, hasAttribute, hasAttributes, isEndElementWithName, isStartElementWithName, readAttribute, readBooleanAttribute, readDoubleAttribute, readDoubleAttribute, readIntAttribute, readIntAttribute, readLongAttribute, readLongAttribute, readMandatoryAttribute, readStringBetweenTags
-
Field Details
-
IGNORED_DYNAMIC_VALUE
-
-
Constructor Details
-
XtceStaxReader
- Throws:
IOException
XMLStreamException
-
-
Method Details
-
readXmlDocument
Reads the XML XTCE file- Returns:
- returns the SpaceSystem read from the XML file
- Throws:
XMLStreamException
IOException
XtceLoadException
-
writeStatistics
public void writeStatistics()Write statistics. -
setExcludedContainers
-
getParameterReference
-
makeParameterReference
public static void makeParameterReference(SpaceSystem spaceSystem, String paramRef, ParameterReference.ParameterResolvedAction action)
-