Package org.openiaml.docs.modeldoc

Examples of org.openiaml.docs.modeldoc.FileLineReference


        ModelExtension extension = factory.createModelExtension();
        extension.setName(ext.getName());
        extension.setValue(ext.toString());
       
        // make a new FileReference
        FileLineReference line = factory.createFileLineReference();
        line.setFile(fr);
        line.setLine(ext.getLine());
        extension.setReference(line);

        // add this extension
        identifier.getExtensions().add(extension);
View Full Code Here


      constraint.setConstraint(check.getConstraint().toString());
      constraint.setType( check.isErrorCheck() ? ConstraintType.ERROR : ConstraintType.WARNING );
      constraint.setMessage( check.getMsg().toString() );

      // make a new FileReference
      FileLineReference line = factory.createFileLineReference();
      line.setFile(fr);
      line.setLine(check.getLine());
      constraint.setReference(line);
     
      // add this constraint
      identifier.getConstraints().add(constraint);
    }
View Full Code Here

TOP

Related Classes of org.openiaml.docs.modeldoc.FileLineReference

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.