public class StixObservableMapper extends Object implements ObjectPathResolver
| Constructor and Description |
|---|
StixObservableMapper(Set<Class<?>> stixClasses)
Provide a set of classes that use one of the STIX annotations from the mapper
annotations package.
|
| Modifier and Type | Method and Description |
|---|---|
StixObservableMapper |
addPathFilter(String filter)
Adds a path filter that will be used during getFilter(...).
|
Map<Class<?>,StixAnnotationType> |
getObservables()
Returns a map of STIX observable classes.
|
Map<String,StixObservablePropertyNode> |
getObservableTree()
Returns the STIX observable tree.
|
Object |
getValue(Object object,
String path)
Gets the value from an object using the specified object path.
|
static boolean |
isGenericJavaType(Class<?> type) |
public StixObservableMapper addPathFilter(String filter)
public Object getValue(Object object, String path) throws StixMappingException
getValue in interface ObjectPathResolverobject - path - StixMappingExceptionpublic static boolean isGenericJavaType(Class<?> type)
public Map<Class<?>,StixAnnotationType> getObservables()
StixEntity or
StixObject annotation.public Map<String,StixObservablePropertyNode> getObservableTree()
StixObservablePropertyNode.Copyright © 2020. All rights reserved.