java.lang.Object
org.yamcs.xtce.xml.XtceStaxReader
This class reads the XTCE XML files. XML document is accessed with the use of the Stax Iterator API.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ParameterReferencegetParameterReference(SpaceSystem spaceSystem, String paramName) static voidmakeParameterReference(SpaceSystem spaceSystem, String paramRef, ParameterReference.ParameterResolvedAction action) readXmlDocument(String fileName) Reading of the XML XTCE filevoidsetExcludedContainers(Set<String> excludedContainers) voidWrite statistics.
-
Field Details
-
IGNORED_DYNAMIC_VALUE
-
-
Constructor Details
-
XtceStaxReader
public XtceStaxReader()
-
-
Method Details
-
readXmlDocument
public SpaceSystem readXmlDocument(String fileName) throws XMLStreamException, IOException, XtceLoadException Reading of the XML XTCE file- Parameters:
fileName-- Returns:
- returns the SpaceSystem read from the XML file
- Throws:
XMLStreamExceptionIOExceptionXtceLoadException
-
writeStatistics
public void writeStatistics()Write statistics. -
setExcludedContainers
-
getParameterReference
-
makeParameterReference
public static void makeParameterReference(SpaceSystem spaceSystem, String paramRef, ParameterReference.ParameterResolvedAction action)
-