Package org.yamcs.xtce.xml
Class XtceStaxReader
- java.lang.Object
-
- org.yamcs.xtce.xml.XtceStaxReader
-
public class XtceStaxReader extends Object
This class reads the XTCE XML files. XML document is accessed with the use of the Stax Iterator API.
-
-
Field Summary
Fields Modifier and Type Field Description static DynamicIntegerValueIGNORED_DYNAMIC_VALUE
-
Constructor Summary
Constructors Constructor Description XtceStaxReader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParameterReferencegetParameterReference(SpaceSystem spaceSystem, String paramName)static voidmakeParameterReference(SpaceSystem spaceSystem, String paramRef, ParameterReference.ParameterResolvedAction action)SpaceSystemreadXmlDocument(String fileName)Reading of the XML XTCE filevoidsetExcludedContainers(Set<String> excludedContainers)voidwriteStatistics()Write statistics.
-
-
-
Field Detail
-
IGNORED_DYNAMIC_VALUE
public static final DynamicIntegerValue IGNORED_DYNAMIC_VALUE
-
-
Method Detail
-
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.
-
getParameterReference
public static ParameterReference getParameterReference(SpaceSystem spaceSystem, String paramName)
-
makeParameterReference
public static void makeParameterReference(SpaceSystem spaceSystem, String paramRef, ParameterReference.ParameterResolvedAction action)
-
-