[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cti-users] Java-STIX examples
Stuart, I’m not terribly familiar with JAXB, but I think you could create addr in my example with (new org.mitre.cybox.common_2.ObjectFactory()).createStringObjectPropertyType().withValue("10.0.0.1") SpringObjectPropertyType also provides a way to get an instance with just a constructor, skipping the intermediate of a factory: (new StringObjectPropertyType()).withValue("10.0.0.1")
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]