Codota Logo
ObjectNode.retain
Code IndexAdd Codota to your IDE (free)

How to use
retain
method
in
org.codehaus.jackson.node.ObjectNode

Best Java code snippets using org.codehaus.jackson.node.ObjectNode.retain (Showing top 5 results out of 315)

  • Common ways to obtain ObjectNode
private void myMethod () {
ObjectNode o =
  • Codota IconJsonNodeFactory instance;instance.objectNode()
  • Codota IconObjectMapper mapper;mapper.createObjectNode()
  • Codota IconArrayNode arrayNode;arrayNode.addObject()
  • Smart code suggestions by Codota
}
origin: org.codehaus.jackson/jackson-mapper-asl

/**
 * Method for removing all field properties out of this ObjectNode
 * <b>except</b> for ones specified in argument.
 * 
 * @param fieldNames Fields to <b>retain</b> in this ObjectNode
 * 
 * @return This ObjectNode (to allow call chaining)
 * 
 * @since 1.6
 */
public ObjectNode retain(String... fieldNames) {
  return retain(Arrays.asList(fieldNames));
}

origin: camunda/camunda-bpm-platform

/**
 * Method for removing all field properties out of this ObjectNode
 * <b>except</b> for ones specified in argument.
 * 
 * @param fieldNames Fields to <b>retain</b> in this ObjectNode
 * 
 * @return This ObjectNode (to allow call chaining)
 * 
 * @since 1.6
 */
public ObjectNode retain(String... fieldNames) {
  return retain(Arrays.asList(fieldNames));
}

origin: org.codehaus.jackson/jackson-mapper-lgpl

/**
 * Method for removing all field properties out of this ObjectNode
 * <b>except</b> for ones specified in argument.
 * 
 * @param fieldNames Fields to <b>retain</b> in this ObjectNode
 * 
 * @return This ObjectNode (to allow call chaining)
 * 
 * @since 1.6
 */
public ObjectNode retain(String... fieldNames) {
  return retain(Arrays.asList(fieldNames));
}

origin: com.barchart.wrap/barchart-wrap-jackson

/**
 * Method for removing all field properties out of this ObjectNode
 * <b>except</b> for ones specified in argument.
 * 
 * @param fieldNames Fields to <b>retain</b> in this ObjectNode
 * 
 * @return This ObjectNode (to allow call chaining)
 * 
 * @since 1.6
 */
public ObjectNode retain(String... fieldNames) {
  return retain(Arrays.asList(fieldNames));
}

origin: ovea-deprecated/jetty-session-redis

/**
 * Method for removing all field properties out of this ObjectNode
 * <b>except</b> for ones specified in argument.
 * 
 * @param fieldNames Fields to <b>retain</b> in this ObjectNode
 * 
 * @return This ObjectNode (to allow call chaining)
 * 
 * @since 1.6
 */
public ObjectNode retain(String... fieldNames) {
  return retain(Arrays.asList(fieldNames));
}

org.codehaus.jackson.nodeObjectNoderetain

Javadoc

Method for removing all field properties out of this ObjectNode except for ones specified in argument.

Popular methods of ObjectNode

  • put
    Method for setting value of a field to specified binary value
  • get
  • getFields
    Method to use for accessing all fields (with both names and values) of this JSON Object.
  • toString
  • putArray
    Method that will construct an ArrayNode and add it as a field of this ObjectNode, replacing old valu
  • has
  • remove
    Method for removing specified field properties out of this ObjectNode.
  • objectNode
  • size
  • <init>
  • arrayNode
  • putObject
    Method that will construct an ObjectNode and add it as a field of this ObjectNode, replacing old val
  • arrayNode,
  • putObject,
  • nullNode,
  • path,
  • putNull,
  • POJONode,
  • _put,
  • binaryNode,
  • booleanNode,
  • equals

Popular in Java

  • Running tasks concurrently on multiple threads
  • getSystemService (Context)
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Socket (java.net)
    Provides a client-side TCP socket.
  • TimerTask (java.util)
    A task that can be scheduled for one-time or repeated execution by a Timer.
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JFrame (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now