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 DynamicIntegerValue
IGNORED_DYNAMIC_VALUE
-
Constructor Summary
Constructors Constructor Description XtceStaxReader()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ParameterReference
getParameterReference(SpaceSystem spaceSystem, String paramName)
static void
makeParameterReference(SpaceSystem spaceSystem, String paramRef, ParameterReference.ParameterResolvedAction action)
SpaceSystem
readXmlDocument(String fileName)
Reading of the XML XTCE filevoid
setExcludedContainers(Set<String> excludedContainers)
void
writeStatistics()
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:
XMLStreamException
IOException
XtceLoadException
-
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)
-
-