Tabnine Logo
EDIConfigDigester.digestParameters
Code IndexAdd Tabnine 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)

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

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onCreateOptionsMenu (Activity)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now