Package ca.uhn.fhir.model.api

Examples of ca.uhn.fhir.model.api.ExtensionDt


    /**
     * Default implementation just handles undeclared extensions
     */
    public void enteringNewElementExtension(StartElement theElement, String theUrlAttr, boolean theIsModifier) {
      if (myPreResourceState != null && getCurrentElement() instanceof ISupportsUndeclaredExtensions) {
        ExtensionDt newExtension = new ExtensionDt(theIsModifier, theUrlAttr);
        ISupportsUndeclaredExtensions elem = (ISupportsUndeclaredExtensions) getCurrentElement();
        if (theIsModifier) {
          elem.getUndeclaredModifierExtensions().add(newExtension);
        } else {
          elem.getUndeclaredExtensions().add(newExtension);
View Full Code Here


  public RuntimeChildExtensionDt(Field theField, String theElementName, Child theChildAnnotation, Description theDescriptionAnnotation) {
    super(theField, theElementName, theChildAnnotation, theDescriptionAnnotation);
  }

  public IElement newInstance() {
    return new ExtensionDt();
  }
View Full Code Here

TOP

Related Classes of ca.uhn.fhir.model.api.ExtensionDt

Copyright © 2018 www.massapicom. 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.