/** * NOT FULLY IMPLEMENTED! * Renders a MatchingRuleUse as a String * * @param mru The MatchingRuleUse to render * @return The MatchingRuleUse as a String */ public String render( MatchingRuleUse mru ) { StringBuilder buf = renderStartOidNamesDescObsolete( mru, "matchingruleuse" ); List<String> applies = mru.getApplicableAttributeOids(); if ( ( applies != null ) && !applies.isEmpty() ) { prettyPrintIndent( buf ); buf.append( "APPLIES " ); renderOids( buf, applies ); prettyPrintNewLine( buf ); } renderXSchemaName( mru, buf ); // @todo extensions are not presently supported and skipped // the extensions would go here before closing off the description renderClose( buf ); return buf.toString(); }
/** * NOT FULLY IMPLEMENTED! * Renders a MatchingRuleUse as a String * * @param mru The MatchingRuleUse to render * @return The MatchingRuleUse as a String */ public String render( MatchingRuleUse mru ) { StringBuilder buf = renderStartOidNamesDescObsolete( mru, "matchingruleuse" ); List<String> applies = mru.getApplicableAttributeOids(); if ( ( applies != null ) && !applies.isEmpty() ) { prettyPrintIndent( buf ); buf.append( "APPLIES " ); renderOids( buf, applies ); prettyPrintNewLine( buf ); } renderXSchemaName( mru, buf ); // @todo extensions are not presently supported and skipped // the extensions would go here before closing off the description renderClose( buf ); return buf.toString(); }
/** * NOT FULLY IMPLEMENTED! * Renders a MatchingRuleUse as a String * * @param mru The MatchingRuleUse to render * @return The MatchingRuleUse as a String */ public String render( MatchingRuleUse mru ) { StringBuilder buf = renderStartOidNamesDescObsolete( mru, "matchingruleuse" ); List<String> applies = mru.getApplicableAttributeOids(); if ( ( applies != null ) && !applies.isEmpty() ) { prettyPrintIndent( buf ); buf.append( "APPLIES " ); renderOids( buf, applies ); prettyPrintNewLine( buf ); } renderXSchemaName( mru, buf ); // @todo extensions are not presently supported and skipped // the extensions would go here before closing off the description renderClose( buf ); return buf.toString(); }
/** * NOT FULLY IMPLEMENTED! * * @param dsr The DitStructureRule to render * @return The DitStructureRule as a String */ public String render( DitStructureRule dsr ) { StringBuilder buf = new StringBuilder(); if ( style.startWithSchemaType ) { buf.append( "ditstructurerule " ); } buf.append( "( " ).append( dsr.getRuleId() ); renderNames( dsr, buf ); renderDescription( dsr, buf ); renderObsolete( dsr, buf ); prettyPrintIndent( buf ); buf.append( "FORM " ).append( dsr.getForm() ); prettyPrintNewLine( buf ); renderRuleIds( buf, dsr.getSuperRules() ); renderXSchemaName( dsr, buf ); // @todo extensions are not presently supported and skipped // the extensions would go here before closing off the description renderClose( buf ); return buf.toString(); }
renderXSchemaName( syntax, buf );
renderXSchemaName( syntax, buf );
/** * NOT FULLY IMPLEMENTED! * * @param dsr The DitStructureRule to render * @return The DitStructureRule as a String */ public String render( DitStructureRule dsr ) { StringBuilder buf = new StringBuilder(); if ( style.startWithSchemaType ) { buf.append( "ditstructurerule " ); } buf.append( "( " ).append( dsr.getRuleId() ); renderNames( dsr, buf ); renderDescription( dsr, buf ); renderObsolete( dsr, buf ); prettyPrintIndent( buf ); buf.append( "FORM " ).append( dsr.getForm() ); prettyPrintNewLine( buf ); renderRuleIds( buf, dsr.getSuperRules() ); renderXSchemaName( dsr, buf ); // @todo extensions are not presently supported and skipped // the extensions would go here before closing off the description renderClose( buf ); return buf.toString(); }
/** * NOT FULLY IMPLEMENTED! * * @param dsr The DitStructureRule to render * @return The DitStructureRule as a String */ public String render( DitStructureRule dsr ) { StringBuilder buf = new StringBuilder(); if ( style.startWithSchemaType ) { buf.append( "ditstructurerule " ); } buf.append( "( " ).append( dsr.getRuleId() ); renderNames( dsr, buf ); renderDescription( dsr, buf ); renderObsolete( dsr, buf ); prettyPrintIndent( buf ); buf.append( "FORM " ).append( dsr.getForm() ); prettyPrintNewLine( buf ); renderRuleIds( buf, dsr.getSuperRules() ); renderXSchemaName( dsr, buf ); // @todo extensions are not presently supported and skipped // the extensions would go here before closing off the description renderClose( buf ); return buf.toString(); }
prettyPrintNewLine( buf ); renderXSchemaName( mr, buf );
prettyPrintNewLine( buf ); renderXSchemaName( mr, buf );
prettyPrintNewLine( buf ); renderXSchemaName( mr, buf );
/** * NOT FULLY IMPLEMENTED! * Render a NameForm as a String * * @param nf The NameForm to render * @return The rendered String */ public String render( NameForm nf ) { StringBuilder buf = renderStartOidNamesDescObsolete( nf, "nameform" ); prettyPrintIndent( buf ); buf.append( "OC " ).append( nf.getStructuralObjectClassOid() ); prettyPrintNewLine( buf ); renderOids( buf, "MUST", nf.getMustAttributeTypeOids() ); renderOids( buf, "MAY", nf.getMayAttributeTypeOids() ); renderXSchemaName( nf, buf ); renderClose( buf ); return buf.toString(); }
/** * NOT FULLY IMPLEMENTED! * Render a NameForm as a String * * @param nf The NameForm to render * @return The rendered String */ public String render( NameForm nf ) { StringBuilder buf = renderStartOidNamesDescObsolete( nf, "nameform" ); prettyPrintIndent( buf ); buf.append( "OC " ).append( nf.getStructuralObjectClassOid() ); prettyPrintNewLine( buf ); renderOids( buf, "MUST", nf.getMustAttributeTypeOids() ); renderOids( buf, "MAY", nf.getMayAttributeTypeOids() ); renderXSchemaName( nf, buf ); renderClose( buf ); return buf.toString(); }
/** * NOT FULLY IMPLEMENTED! * Render a NameForm as a String * * @param nf The NameForm to render * @return The rendered String */ public String render( NameForm nf ) { StringBuilder buf = renderStartOidNamesDescObsolete( nf, "nameform" ); prettyPrintIndent( buf ); buf.append( "OC " ).append( nf.getStructuralObjectClassOid() ); prettyPrintNewLine( buf ); renderOids( buf, "MUST", nf.getMustAttributeTypeOids() ); renderOids( buf, "MAY", nf.getMayAttributeTypeOids() ); renderXSchemaName( nf, buf ); renderClose( buf ); return buf.toString(); }
/** * NOT FULLY IMPLEMENTED! * Renders a DitContentRule as a String * * @param dcr The DitContentRule to render * @return The DitContentRule as a String */ public String render( DitContentRule dcr ) { StringBuilder buf = renderStartOidNamesDescObsolete( dcr, "ditcontentrule" ); renderOids( buf, "AUX", dcr.getAuxObjectClassOids() ); renderOids( buf, "MUST", dcr.getMustAttributeTypeOids() ); renderOids( buf, "MAY", dcr.getMayAttributeTypeOids() ); renderOids( buf, "NOT", dcr.getNotAttributeTypeOids() ); renderXSchemaName( dcr, buf ); // @todo extensions are not presently supported and skipped // the extensions would go here before closing off the description renderClose( buf ); return buf.toString(); }
/** * NOT FULLY IMPLEMENTED! * Renders a DitContentRule as a String * * @param dcr The DitContentRule to render * @return The DitContentRule as a String */ public String render( DitContentRule dcr ) { StringBuilder buf = renderStartOidNamesDescObsolete( dcr, "ditcontentrule" ); renderOids( buf, "AUX", dcr.getAuxObjectClassOids() ); renderOids( buf, "MUST", dcr.getMustAttributeTypeOids() ); renderOids( buf, "MAY", dcr.getMayAttributeTypeOids() ); renderOids( buf, "NOT", dcr.getNotAttributeTypeOids() ); renderXSchemaName( dcr, buf ); // @todo extensions are not presently supported and skipped // the extensions would go here before closing off the description renderClose( buf ); return buf.toString(); }
/** * NOT FULLY IMPLEMENTED! * Renders a DitContentRule as a String * * @param dcr The DitContentRule to render * @return The DitContentRule as a String */ public String render( DitContentRule dcr ) { StringBuilder buf = renderStartOidNamesDescObsolete( dcr, "ditcontentrule" ); renderOids( buf, "AUX", dcr.getAuxObjectClassOids() ); renderOids( buf, "MUST", dcr.getMustAttributeTypeOids() ); renderOids( buf, "MAY", dcr.getMayAttributeTypeOids() ); renderOids( buf, "NOT", dcr.getNotAttributeTypeOids() ); renderXSchemaName( dcr, buf ); // @todo extensions are not presently supported and skipped // the extensions would go here before closing off the description renderClose( buf ); return buf.toString(); }