|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.uhn.hl7v2.conf.parser.ProfileParser
public class ProfileParser
Parses a Message Profile XML document into a RuntimeProfile object. A Message Profile is a formal description of additional constraints on a message (beyond what is specified in the HL7 specification), usually for a particular system, region, etc. Message profiles are introduced in HL7 version 2.5 section 2.12. The RuntimeProfile object is simply an object representation of the profile, which may be used for validating messages or editing the profile.
Constructor Summary | |
---|---|
ProfileParser(boolean alwaysValidateAgainstDTD)
Creates a new instance of ProfileParser |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
|
RuntimeProfile |
parse(java.lang.String profileString)
Parses an XML profile string into a RuntimeProfile object. |
RuntimeProfile |
parseClasspath(java.lang.String classPath)
Parses an XML profile string into a RuntimeProfile object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProfileParser(boolean alwaysValidateAgainstDTD)
alwaysValidateAgainstDTD
- if true, validates all profiles against a
local copy of the profile DTD; if false, validates against declared
grammar (if any)Method Detail |
---|
public RuntimeProfile parseClasspath(java.lang.String classPath) throws ProfileException, java.io.IOException
java.io.IOException
- If the resource can't be read
ProfileException
public RuntimeProfile parse(java.lang.String profileString) throws ProfileException
ProfileException
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |