Examples of EncodingCharacters


Examples of ca.uhn.hl7v2.parser.EncodingCharacters

    private Message message;
   
    /** Creates new TreePanel */
    public TreePanel(PipeParser parser) {
        this.parser = parser;
        this.encChars = new EncodingCharacters('|', null);
    }
View Full Code Here

Examples of ca.uhn.hl7v2.parser.EncodingCharacters

     * <p><b>Note that this method will not currently work to parse an MSH segment
     * if the encoding characters are not already set. This limitation should be
     * resulved in a future version</b></p>
     */
    public void parse(String string) throws HL7Exception {
        EncodingCharacters encodingCharacters = EncodingCharacters.getInstance(getMessage());
        clear();

        getMessage().getParser().parse(this, string, encodingCharacters);
    }
View Full Code Here

Examples of ca.uhn.hl7v2.parser.EncodingCharacters

      this(new DefaultHapiContext());
  }
 
    public DefaultValidator(HapiContext context) {
        super(context);
        enc = new EncodingCharacters('|', null); // the | is assumed later -- don't change
   
View Full Code Here

Examples of ca.uhn.hl7v2.parser.EncodingCharacters

        if (string == null) {
          clear();
          return;
        }
     
      EncodingCharacters encodingCharacters = EncodingCharacters.getInstance(getMessage());
        char subc = encodingCharacters.getSubcomponentSeparator();
        char cmpc = encodingCharacters.getComponentSeparator();

        clear();
       
        // If the string contains subcomponent delimiters, parse
        // these as extra components
View Full Code Here

Examples of ca.uhn.hl7v2.parser.EncodingCharacters

  public void parse(String string) throws HL7Exception {
    if (string == null) {
      throw new NullPointerException("String can not be null");
    }
   
    EncodingCharacters encodingCharacters;
    try {
      encodingCharacters = EncodingCharacters.getInstance(getMessage());
    } catch (HL7Exception e) {
      throw new HL7Exception(ERROR_MSH_1_OR_2_NOT_SET);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.