Codota Logo
EDIConfigDigester.digestParameters
Code IndexAdd Codota to your IDE (free)

How to use
digestParameters
method
in
org.milyn.edisax.model.EDIConfigDigester

Best Java code snippets using org.milyn.edisax.model.EDIConfigDigester.digestParameters (Showing top 4 results out of 315)

  • Common ways to obtain EDIConfigDigester
private void myMethod () {
EDIConfigDigester e =
  • Codota IconURI uRI;URI resourceURI;new EDIConfigDigester(uRI, URIResourceLocator.extractBaseURI(resourceURI))
  • Codota IconURI modelURI;URI importBaseURI;new EDIConfigDigester(modelURI, importBaseURI)
  • Smart code suggestions by Codota
}
origin: smooks/smooks

/**
 * Set values in {@link org.milyn.edisax.model.internal.ValueNode}.
 * @param node the {@link org.milyn.edisax.model.internal.ValueNode} to populate.
 * @param valueNode the ValueNode element.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when values are badly formatted.
 */
private void setValuesForValueNode(Node node, ValueNode valueNode, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  setValuesForMappingNode(node, valueNode, namespacePrefix, parent);
  String type = getAttributeValue(node, "dataType");
  if(type != null) {
    valueNode.setDataType(type);
  } else {
    valueNode.setDataType(getAttributeValue(node, "type"));
  }
  valueNode.setMinLength(getNodeValueAsInteger(node, "minLength"));
  valueNode.setMaxLength(getNodeValueAsInteger(node, "maxLength"));
  String dataTypeParams = getAttributeValue(node, "dataTypeParameters");
  if(dataTypeParams != null) {
    digestParameters(valueNode, dataTypeParams);
  } else {
    digestParameters(valueNode, getAttributeValue(node, "typeParameters"));
  }
}
origin: org.milyn/milyn-smooks-all

/**
 * Set values in {@link org.milyn.edisax.model.internal.ValueNode}.
 * @param node the {@link org.milyn.edisax.model.internal.ValueNode} to populate.
 * @param valueNode the ValueNode element.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when values are badly formatted.
 */
private void setValuesForValueNode(Node node, ValueNode valueNode, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  setValuesForMappingNode(node, valueNode, namespacePrefix, parent);
  String type = getAttributeValue(node, "dataType");
  if(type != null) {
    valueNode.setDataType(type);
  } else {
    valueNode.setDataType(getAttributeValue(node, "type"));
  }
  valueNode.setMinLength(getNodeValueAsInteger(node, "minLength"));
  valueNode.setMaxLength(getNodeValueAsInteger(node, "maxLength"));
  String dataTypeParams = getAttributeValue(node, "dataTypeParameters");
  if(dataTypeParams != null) {
    digestParameters(valueNode, dataTypeParams);
  } else {
    digestParameters(valueNode, getAttributeValue(node, "typeParameters"));
  }
}
origin: org.milyn/milyn-edisax-parser

/**
 * Set values in {@link org.milyn.edisax.model.internal.ValueNode}.
 * @param node the {@link org.milyn.edisax.model.internal.ValueNode} to populate.
 * @param valueNode the ValueNode element.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when values are badly formatted.
 */
private void setValuesForValueNode(Node node, ValueNode valueNode, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  setValuesForMappingNode(node, valueNode, namespacePrefix, parent);
  String type = getAttributeValue(node, "dataType");
  if(type != null) {
    valueNode.setDataType(type);
  } else {
    valueNode.setDataType(getAttributeValue(node, "type"));
  }
  valueNode.setMinLength(getNodeValueAsInteger(node, "minLength"));
  valueNode.setMaxLength(getNodeValueAsInteger(node, "maxLength"));
  String dataTypeParams = getAttributeValue(node, "dataTypeParameters");
  if(dataTypeParams != null) {
    digestParameters(valueNode, dataTypeParams);
  } else {
    digestParameters(valueNode, getAttributeValue(node, "typeParameters"));
  }
}
origin: org.virtuslab/milyn-edisax-parser

/**
 * Set values in {@link org.milyn.edisax.model.internal.ValueNode}.
 * @param node the {@link org.milyn.edisax.model.internal.ValueNode} to populate.
 * @param valueNode the ValueNode element.
 * @throws org.milyn.edisax.EDIConfigurationException is thrown when values are badly formatted.
 */
private void setValuesForValueNode(Node node, ValueNode valueNode, String namespacePrefix, MappingNode parent) throws EDIConfigurationException {
  setValuesForMappingNode(node, valueNode, namespacePrefix, parent);
  String type = getAttributeValue(node, "dataType");
  if(type != null) {
    valueNode.setDataType(type);
  } else {
    valueNode.setDataType(getAttributeValue(node, "type"));
  }
  valueNode.setMinLength(getNodeValueAsInteger(node, "minLength"));
  valueNode.setMaxLength(getNodeValueAsInteger(node, "maxLength"));
  String dataTypeParams = getAttributeValue(node, "dataTypeParameters");
  if(dataTypeParams != null) {
    digestParameters(valueNode, dataTypeParams);
  } else {
    digestParameters(valueNode, getAttributeValue(node, "typeParameters"));
  }
}
org.milyn.edisax.modelEDIConfigDigesterdigestParameters

Javadoc

Digests parameters from parameters attribute and insertsthe parameters into the valueNode. If first parameter is not a key-value-pair the parameter is considered to be a custom class name.

Popular methods of EDIConfigDigester

  • <init>
    Public constructor.
  • assertValidXSD
    Assert that schema used for validation are valid, i.e. the schema is either edi-message-mapping-1.0
  • digestComponent
    Digests attributes and child elements of Component element.
  • digestDelimiters
    Digest attributes of Delimiter element and populate Delimiter.
  • digestDescription
    Digest attributes of Description element and populate Description.
  • digestEDIConfig
  • digestField
    Digests attributes and child elements of Field element.
  • digestImport
    Digest attributes of Import element and populate Import.
  • digestSegment
    Digests attributes and child elements of Segment element.
  • digestSegmentGroup
  • digestSegments
    Digest attributes and child elements of Segments element. Populates Segments.
  • digestXSDValidatedConfig
    Digest child elements of edimap.
  • digestSegments,
  • digestXSDValidatedConfig,
  • getAttributeValue,
  • getNodeValue,
  • getNodeValueAsBoolean,
  • getNodeValueAsInteger,
  • retrieveNamespace,
  • setValuesForComponent,
  • setValuesForField

Popular in Java

  • Reactive rest calls using spring rest template
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • addToBackStack (FragmentTransaction)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • Table (org.hibernate.mapping)
    A relational table
  • Option (scala)
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