[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [cti-users] Java-STIX examples
The javadocs *are* in Maven Central associate with each build. http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.mitre%22%20AND%20a%3A%22stix%22 So for v1.2.0.2 you could on the command-line: curl -o javadoc.jar http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22org.mitre%22%20AND%20a%3A%22stix%22 jar -xvf javadoc.jar And you’ll have all the javadocs. -Michael On 8/18/15, 3:24 PM, "cti-users@lists.oasis-open.org on behalf of Alex ter Weele" <cti-users@lists.oasis-open.org on behalf of alexterweele@centripetalnetworks.com> wrote: >The STIX bindings are pretty expansive because of the complexity of STIX. If you haven’t already, I recommend cloning the project off of GitHub and building it locally, because I don’t think the javadoc is hosted anywhere. >I favor the “with” style methods because they chain easily to produce XML with the elements you want: > > new org.mitre.cybox.objects.Address() > .withAddressValue(addr) > .withIsDestination(false) > .withIsSpoofed(true) > // ...etc > >The downside of this is that you’ll still have to check the STIX spec to make sure that you’re filling in all the required fields and producing valid STIX. >Hope that helps. >This publicly archived list provides a forum for asking questions, > >offering answers, and discussing topics of interest on STIX, > >TAXII, and CybOX. Users and developers of solutions that leverage > >STIX, TAXII and CybOX are invited to participate. > > > >In order to verify user consent to OASIS mailing list guidelines > >and to minimize spam in the list archive, subscription is required > >before posting. > > > >Subscribe: cti-users-subscribe@lists.oasis-open.org > >Unsubscribe: cti-users-unsubscribe@lists.oasis-open.org > >Post: cti-users@lists.oasis-open.org > >List help: cti-users-help@lists.oasis-open.org > >List archive: http://lists.oasis-open.org/archives/cti-users/ > >List Guidelines: http://www.oasis-open.org/maillists/guidelines.php > >CTI Technical Committee: https://www.oasis-open.org/committees/cti/ > >Join OASIS: http://www.oasis-open.org/join/ >
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]