public class XTCETMStream extends XTCENamedObject
| Modifier and Type | Method and Description |
|---|---|
List<XTCETMContainer> |
getContainers()
Function to retrieve all of the Telemetry Containers that are members
of this stream in the XTCE document.
|
org.omg.space.xtce.PCMStreamType |
getReference()
Retrieve a reference to the native JAXB object that is generated from
the XTCE schema.
|
XTCETMContainer |
getStreamRootContainer()
Retrieve the XTCETMContainer that is the base container for this
stream.
|
String |
getStreamRootContainerPath()
Retrieve the path to the XTCE SequenceContainer element that is the
base container for this stream definition.
|
XTCEContainerContentModel |
processStream(BitSet binaryData)
Function to decompose a binary data stream into a simple array of
entries that an application can iterate over without the need to
resolve XTCE data model references, included additional containers,
base containers, and conditional processing.
|
XTCEContainerContentModel |
processStream(byte[] bytes)
Function to decompose a binary data stream into a simple array of
entries that an application can iterate over without the need to
resolve XTCE data model references, included additional containers,
base containers, and conditional processing.
|
XTCEContainerContentModel |
processStream(InputStream stream)
Function to decompose a binary data stream into a simple array of
entries that an application can iterate over without the need to
resolve XTCE data model references, included additional containers,
base containers, and conditional processing.
|
XTCEContainerContentModel |
processStreamIncludeOnly(BitSet binaryData,
List<XTCETMContainer> includeList)
Function to decompose a binary data stream into a simple array of
entries that an application can iterate over without the need to
resolve XTCE data model references, included additional containers,
base containers, and conditional processing.
|
XTCEContainerContentModel |
processStreamIncludeOnly(byte[] bytes,
List<XTCETMContainer> includeList)
Function to decompose a binary data stream into a simple array of
entries that an application can iterate over without the need to
resolve XTCE data model references, included additional containers,
base containers, and conditional processing.
|
XTCEContainerContentModel |
processStreamIncludeOnly(InputStream stream,
List<XTCETMContainer> includeList)
Function to decompose a binary data stream into a simple array of
entries that an application can iterate over without the need to
resolve XTCE data model references, included additional containers,
base containers, and conditional processing.
|
XTCEContainerContentModel |
processStreamWithExcludes(BitSet binaryData,
List<XTCETMContainer> excludeList)
Function to decompose a binary data stream into a simple array of
entries that an application can iterate over without the need to
resolve XTCE data model references, included additional containers,
base containers, and conditional processing.
|
XTCEContainerContentModel |
processStreamWithExcludes(byte[] bytes,
List<XTCETMContainer> excludeList)
Function to decompose a binary data stream into a simple array of
entries that an application can iterate over without the need to
resolve XTCE data model references, included additional containers,
base containers, and conditional processing.
|
XTCEContainerContentModel |
processStreamWithExcludes(InputStream stream,
List<XTCETMContainer> excludeList)
Function to decompose a binary data stream into a simple array of
entries that an application can iterate over without the need to
resolve XTCE data model references, included additional containers,
base containers, and conditional processing.
|
String |
toXml()
Retrieve an XML string that represents this Stream element.
|
compareTo, equals, getAlias, getAliasSet, getAncillaryData, getAncillaryData, getFullPath, getName, getPrimaryLongDescription, getPrimaryShortDescription, getSpaceSystemName, getSpaceSystemPath, hashCode, populateAliasListFromReference, setPrimaryLongDescription, setPrimaryShortDescriptionpublic final String getStreamRootContainerPath()
public final XTCETMContainer getStreamRootContainer()
public final org.omg.space.xtce.PCMStreamType getReference()
public List<XTCETMContainer> getContainers()
public XTCEContainerContentModel processStream(BitSet binaryData) throws XTCEDatabaseException
binaryData - BitSet containing the container binary encoded data
so that the output object contains entries with actual values from a
real binary image.XTCEDatabaseException - thrown in the event that it is not
possible to decompose the container completely due to bad references in
the XTCE document.public XTCEContainerContentModel processStream(byte[] bytes) throws XTCEDatabaseException
bytes - byte[] containing the container binary encoded data
so that the output object contains entries with actual values from a
real binary image.XTCEDatabaseException - thrown in the event that it is not
possible to decompose the container completely due to bad references in
the XTCE document.public XTCEContainerContentModel processStream(InputStream stream) throws XTCEDatabaseException
stream - InputStream containing the container binary encoded data
so that the output object contains entries with actual values from a
real binary image.XTCEDatabaseException - thrown in the event that it is not
possible to decompose the container completely due to bad references in
the XTCE document, or if the stream throws an IOException.public XTCEContainerContentModel processStreamIncludeOnly(BitSet binaryData, List<XTCETMContainer> includeList) throws XTCEDatabaseException
binaryData - BitSet containing the container binary encoded data
so that the output object contains entries with actual values from a
real binary image.includeList - List of XTCETMContainer objects to restrict the
stream processing. Only the containers in the provided list will result
in an output. This list should not include abstract containers from
the inheritance tree or it may hide containers that are more specific.XTCEDatabaseException - thrown in the event that it is not
possible to decompose the container completely due to bad references in
the XTCE document.public XTCEContainerContentModel processStreamIncludeOnly(byte[] bytes, List<XTCETMContainer> includeList) throws XTCEDatabaseException
bytes - byte[] containing the container binary encoded data
so that the output object contains entries with actual values from a
real binary image.includeList - List of XTCETMContainer objects to restrict the
stream processing. Only the containers in the provided list will result
in an output. This list should not include abstract containers from
the inheritance tree or it may hide containers that are more specific.XTCEDatabaseException - thrown in the event that it is not
possible to decompose the container completely due to bad references in
the XTCE document.public XTCEContainerContentModel processStreamIncludeOnly(InputStream stream, List<XTCETMContainer> includeList) throws XTCEDatabaseException
stream - InputStream containing the container binary encoded data
so that the output object contains entries with actual values from a
real binary image.includeList - List of XTCETMContainer objects to restrict the
stream processing. Only the containers in the provided list will result
in an output. This list should not include abstract containers from
the inheritance tree or it may hide containers that are more specific.XTCEDatabaseException - thrown in the event that it is not
possible to decompose the container completely due to bad references in
the XTCE document, or if the stream throws an IOException.public XTCEContainerContentModel processStreamWithExcludes(BitSet binaryData, List<XTCETMContainer> excludeList) throws XTCEDatabaseException
binaryData - BitSet containing the container binary encoded data
so that the output object contains entries with actual values from a
real binary image.excludeList - List of XTCETMContainer objects to restrict the
stream processing. Containers in this list will be ignored. If there
is no match for the binary data, then the model returned will be null.XTCEDatabaseException - thrown in the event that it is not
possible to decompose the container completely due to bad references in
the XTCE document.public XTCEContainerContentModel processStreamWithExcludes(byte[] bytes, List<XTCETMContainer> excludeList) throws XTCEDatabaseException
bytes - byte[] containing the container binary encoded data
so that the output object contains entries with actual values from a
real binary image.excludeList - List of XTCETMContainer objects to restrict the
stream processing. Containers in this list will be ignored. If there
is no match for the binary data, then the model returned will be null.XTCEDatabaseException - thrown in the event that it is not
possible to decompose the container completely due to bad references in
the XTCE document.public XTCEContainerContentModel processStreamWithExcludes(InputStream stream, List<XTCETMContainer> excludeList) throws XTCEDatabaseException
stream - InputStream containing the container binary encoded data
so that the output object contains entries with actual values from a
real binary image.excludeList - List of XTCETMContainer objects to restrict the
stream processing. Containers in this list will be ignored. If there
is no match for the binary data, then the model returned will be null.XTCEDatabaseException - thrown in the event that it is not
possible to decompose the container completely due to bad references in
the XTCE document, or if the stream throws an IOException.public String toXml() throws XTCEDatabaseException
XTCEDatabaseException - in the event that the elements being
marshaled from the JAXB internal classes cannot make a valid document.
Check the exception message for causality information.Copyright © 2015–2019. All rights reserved.