842 linhas
47 KiB
HTML
842 linhas
47 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.6.0_18) on Fri Nov 18 16:34:33 CET 2011 -->
|
|
<TITLE>
|
|
AbsHelper (JADE 4.1.1 API Reference)
|
|
</TITLE>
|
|
|
|
<META NAME="date" CONTENT="2011-11-18">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="AbsHelper (JADE 4.1.1 API Reference)";
|
|
}
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
<HR>
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbsHelper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../jade/content/abs/AbsExtendedPrimitive.html" title="class in jade.content.abs"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../jade/content/abs/AbsIRE.html" title="class in jade.content.abs"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?jade/content/abs/AbsHelper.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="AbsHelper.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
jade.content.abs</FONT>
|
|
<BR>
|
|
Class AbsHelper</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
<IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>jade.content.abs.AbsHelper</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public class <B>AbsHelper</B><DT>extends java.lang.Object</DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
<DL>
|
|
<DT><B>Author:</B></DT>
|
|
<DD>Federico Bergenti - Universita` di Parma, Giovanni Caire - TILAB</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<P>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#AbsHelper()">AbsHelper</A></B>()</CODE>
|
|
|
|
<BR>
|
|
</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#addPrefix(jade.content.abs.AbsObject, java.lang.String)">addPrefix</A></B>(<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> abs,
|
|
java.lang.String prefix)</CODE>
|
|
|
|
<BR>
|
|
Recursively add prefix to abs-type-name, except for BasicOntology types
|
|
Eg.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#applyDefaultValues(jade.content.abs.AbsObject, jade.content.abs.AbsObject)">applyDefaultValues</A></B>(<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> absTemplate,
|
|
<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> absDefault)</CODE>
|
|
|
|
<BR>
|
|
Apply default value to template
|
|
Replace node with default value only if the value in template is null or AbsVariable or
|
|
default value is null and template is a true template</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#createAbsTemplate(java.lang.Class, jade.content.onto.Ontology)">createAbsTemplate</A></B>(java.lang.Class clazz,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)</CODE>
|
|
|
|
<BR>
|
|
Generate an AbsObject consistently with class.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#createAbsTemplate(jade.content.schema.ObjectSchema)">createAbsTemplate</A></B>(<A HREF="../../../jade/content/schema/ObjectSchema.html" title="class in jade.content.schema">ObjectSchema</A> schema)</CODE>
|
|
|
|
<BR>
|
|
Generate an AbsObject consistently with schema.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#createAbsTemplate(jade.content.schema.ObjectSchema, java.lang.String)">createAbsTemplate</A></B>(<A HREF="../../../jade/content/schema/ObjectSchema.html" title="class in jade.content.schema">ObjectSchema</A> schema,
|
|
java.lang.String prefix)</CODE>
|
|
|
|
<BR>
|
|
Generate an AbsObject consistently with schema.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/abs/AbsAgentAction.html" title="class in jade.content.abs">AbsAgentAction</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#externaliseACLMessage(jade.lang.acl.ACLMessage, jade.content.onto.Ontology)">externaliseACLMessage</A></B>(<A HREF="../../../jade/lang/acl/ACLMessage.html" title="class in jade.lang.acl">ACLMessage</A> obj,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)</CODE>
|
|
|
|
<BR>
|
|
Converts an <code>ACLMessage</code> into an
|
|
<code>AbsAgentAction</code> using
|
|
the specified ontology.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/abs/AbsConcept.html" title="class in jade.content.abs">AbsConcept</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#externaliseAID(jade.core.AID)">externaliseAID</A></B>(<A HREF="../../../jade/core/AID.html" title="class in jade.core">AID</A> obj)</CODE>
|
|
|
|
<BR>
|
|
Converts an <code>AID</code> into an <code>AbsConcept</code>
|
|
representing an AID</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/abs/AbsContentElementList.html" title="class in jade.content.abs">AbsContentElementList</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#externaliseContentElementList(jade.content.ContentElementList, jade.content.onto.Ontology)">externaliseContentElementList</A></B>(<A HREF="../../../jade/content/ContentElementList.html" title="class in jade.content">ContentElementList</A> obj,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)</CODE>
|
|
|
|
<BR>
|
|
Converts a <code>ContentElementList</code> into an
|
|
<code>AbsContentElementList</code> using
|
|
the specified ontology.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/abs/AbsAggregate.html" title="class in jade.content.abs">AbsAggregate</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#externaliseIterator(java.util.Iterator, jade.content.onto.Ontology, java.lang.String)">externaliseIterator</A></B>(java.util.Iterator obj,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto,
|
|
java.lang.String AggregateType)</CODE>
|
|
|
|
<BR>
|
|
Converts an <code>Iterator</code> into a <code>AbsAggregate</code> using
|
|
the specified ontology.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/abs/AbsAggregate.html" title="class in jade.content.abs">AbsAggregate</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#externaliseList(jade.util.leap.List, jade.content.onto.Ontology, java.lang.String)">externaliseList</A></B>(<A HREF="../../../jade/util/leap/List.html" title="interface in jade.util.leap">List</A> obj,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto,
|
|
java.lang.String AggregateType)</CODE>
|
|
|
|
<BR>
|
|
Converts a <code>List</code> into a <code>AbsAggregate</code> using
|
|
the specified ontology.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/abs/AbsAggregate.html" title="class in jade.content.abs">AbsAggregate</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#externaliseSet(jade.util.leap.Set, jade.content.onto.Ontology, java.lang.String)">externaliseSet</A></B>(<A HREF="../../../jade/util/leap/Set.html" title="interface in jade.util.leap">Set</A> obj,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto,
|
|
java.lang.String AggregateType)</CODE>
|
|
|
|
<BR>
|
|
Converts a <code>Set</code> into a <code>AbsAggregate</code> using
|
|
the specified ontology.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/OntoACLMessage.html" title="class in jade.content">OntoACLMessage</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#internaliseACLMessage(jade.content.abs.AbsAgentAction, jade.content.onto.Ontology)">internaliseACLMessage</A></B>(<A HREF="../../../jade/content/abs/AbsAgentAction.html" title="class in jade.content.abs">AbsAgentAction</A> absMsg,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)</CODE>
|
|
|
|
<BR>
|
|
Converts to an <code>AbsAgentAction</code> representing an ACLMessage
|
|
into an OntoACLMessage using the specified ontology.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/OntoAID.html" title="class in jade.content">OntoAID</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#internaliseAID(jade.content.abs.AbsConcept)">internaliseAID</A></B>(<A HREF="../../../jade/content/abs/AbsConcept.html" title="class in jade.content.abs">AbsConcept</A> aid)</CODE>
|
|
|
|
<BR>
|
|
Converts an <code>AbsConcept</code> representing an AID
|
|
into an OntoAID</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/ContentElementList.html" title="class in jade.content">ContentElementList</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#internaliseContentElementList(jade.content.abs.AbsContentElementList, jade.content.onto.Ontology)">internaliseContentElementList</A></B>(<A HREF="../../../jade/content/abs/AbsContentElementList.html" title="class in jade.content.abs">AbsContentElementList</A> l,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)</CODE>
|
|
|
|
<BR>
|
|
Converts to an <code>AbsContentElementList</code> into a
|
|
ContentElementList using the
|
|
specified ontology.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static java.util.Collection</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#internaliseJavaCollection(jade.content.abs.AbsAggregate, jade.content.onto.Ontology)">internaliseJavaCollection</A></B>(<A HREF="../../../jade/content/abs/AbsAggregate.html" title="class in jade.content.abs">AbsAggregate</A> aggregate,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)</CODE>
|
|
|
|
<BR>
|
|
Converts an <code>AbsAggregate</code> into a List using the
|
|
specified ontology.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/util/leap/List.html" title="interface in jade.util.leap">List</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#internaliseList(jade.content.abs.AbsAggregate, jade.content.onto.Ontology)">internaliseList</A></B>(<A HREF="../../../jade/content/abs/AbsAggregate.html" title="class in jade.content.abs">AbsAggregate</A> aggregate,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)</CODE>
|
|
|
|
<BR>
|
|
Converts an <code>AbsAggregate</code> into a List using the
|
|
specified ontology.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/util/leap/Set.html" title="interface in jade.util.leap">Set</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#internaliseSet(jade.content.abs.AbsAggregate, jade.content.onto.Ontology)">internaliseSet</A></B>(<A HREF="../../../jade/content/abs/AbsAggregate.html" title="class in jade.content.abs">AbsAggregate</A> aggregate,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)</CODE>
|
|
|
|
<BR>
|
|
Converts an <code>AbsAggregate</code> into a Set using the
|
|
specified ontology.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static boolean</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#isAbsTemplate(jade.content.abs.AbsObject)">isAbsTemplate</A></B>(<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> abs)</CODE>
|
|
|
|
<BR>
|
|
Return true if the abs-object is a template.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#nullifyVariables(jade.content.abs.AbsObject, boolean)">nullifyVariables</A></B>(<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> abs,
|
|
boolean removeEmptyAggregate)</CODE>
|
|
|
|
<BR>
|
|
Remove all variables and empty aggregates (only if specified)</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#removePrefix(jade.content.abs.AbsObject, java.lang.String)">removePrefix</A></B>(<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> abs,
|
|
java.lang.String separator)</CODE>
|
|
|
|
<BR>
|
|
Recursively removes prefix (if present) from abs-type-name, except for BasicOntology types
|
|
Prefix is identified from last separator string
|
|
Eg.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static void</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="../../../jade/content/abs/AbsHelper.html#setAttribute(jade.content.abs.AbsObject, java.lang.String, jade.content.abs.AbsObject)">setAttribute</A></B>(<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> abs,
|
|
java.lang.String attrName,
|
|
<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> attrValue)</CODE>
|
|
|
|
<BR>
|
|
Set an attribute in an abstract descriptor performing all
|
|
necessary type checks.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="AbsHelper()"><!-- --></A><H3>
|
|
AbsHelper</H3>
|
|
<PRE>
|
|
public <B>AbsHelper</B>()</PRE>
|
|
<DL>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="externaliseList(jade.util.leap.List, jade.content.onto.Ontology, java.lang.String)"><!-- --></A><H3>
|
|
externaliseList</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/abs/AbsAggregate.html" title="class in jade.content.abs">AbsAggregate</A> <B>externaliseList</B>(<A HREF="../../../jade/util/leap/List.html" title="interface in jade.util.leap">List</A> obj,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto,
|
|
java.lang.String AggregateType)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Converts a <code>List</code> into a <code>AbsAggregate</code> using
|
|
the specified ontology.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the <code>List</code><DD><CODE>onto</CODE> - the ontology.
|
|
<DT><B>Returns:</B><DD>the abstract descriptor.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="externaliseSet(jade.util.leap.Set, jade.content.onto.Ontology, java.lang.String)"><!-- --></A><H3>
|
|
externaliseSet</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/abs/AbsAggregate.html" title="class in jade.content.abs">AbsAggregate</A> <B>externaliseSet</B>(<A HREF="../../../jade/util/leap/Set.html" title="interface in jade.util.leap">Set</A> obj,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto,
|
|
java.lang.String AggregateType)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Converts a <code>Set</code> into a <code>AbsAggregate</code> using
|
|
the specified ontology.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the <code>Set</code><DD><CODE>onto</CODE> - the ontology.
|
|
<DT><B>Returns:</B><DD>the abstract descriptor.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="externaliseIterator(java.util.Iterator, jade.content.onto.Ontology, java.lang.String)"><!-- --></A><H3>
|
|
externaliseIterator</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/abs/AbsAggregate.html" title="class in jade.content.abs">AbsAggregate</A> <B>externaliseIterator</B>(java.util.Iterator obj,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto,
|
|
java.lang.String AggregateType)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Converts an <code>Iterator</code> into a <code>AbsAggregate</code> using
|
|
the specified ontology.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the <code>Iterator</code><DD><CODE>onto</CODE> - the ontology.
|
|
<DT><B>Returns:</B><DD>the abstract descriptor.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="externaliseAID(jade.core.AID)"><!-- --></A><H3>
|
|
externaliseAID</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/abs/AbsConcept.html" title="class in jade.content.abs">AbsConcept</A> <B>externaliseAID</B>(<A HREF="../../../jade/core/AID.html" title="class in jade.core">AID</A> obj)</PRE>
|
|
<DL>
|
|
<DD>Converts an <code>AID</code> into an <code>AbsConcept</code>
|
|
representing an AID
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the <code>AID</code>
|
|
<DT><B>Returns:</B><DD>the abstract descriptor.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="externaliseContentElementList(jade.content.ContentElementList, jade.content.onto.Ontology)"><!-- --></A><H3>
|
|
externaliseContentElementList</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/abs/AbsContentElementList.html" title="class in jade.content.abs">AbsContentElementList</A> <B>externaliseContentElementList</B>(<A HREF="../../../jade/content/ContentElementList.html" title="class in jade.content">ContentElementList</A> obj,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Converts a <code>ContentElementList</code> into an
|
|
<code>AbsContentElementList</code> using
|
|
the specified ontology.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the <code>ContentElementList</code><DD><CODE>onto</CODE> - the ontology.
|
|
<DT><B>Returns:</B><DD>the abstract descriptor.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="externaliseACLMessage(jade.lang.acl.ACLMessage, jade.content.onto.Ontology)"><!-- --></A><H3>
|
|
externaliseACLMessage</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/abs/AbsAgentAction.html" title="class in jade.content.abs">AbsAgentAction</A> <B>externaliseACLMessage</B>(<A HREF="../../../jade/lang/acl/ACLMessage.html" title="class in jade.lang.acl">ACLMessage</A> obj,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Converts an <code>ACLMessage</code> into an
|
|
<code>AbsAgentAction</code> using
|
|
the specified ontology.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>obj</CODE> - the <code>ACLMessage</code><DD><CODE>onto</CODE> - the ontology.
|
|
<DT><B>Returns:</B><DD>the abstract descriptor.
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="internaliseList(jade.content.abs.AbsAggregate, jade.content.onto.Ontology)"><!-- --></A><H3>
|
|
internaliseList</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/util/leap/List.html" title="interface in jade.util.leap">List</A> <B>internaliseList</B>(<A HREF="../../../jade/content/abs/AbsAggregate.html" title="class in jade.content.abs">AbsAggregate</A> aggregate,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Converts an <code>AbsAggregate</code> into a List using the
|
|
specified ontology.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>onto</CODE> - the ontology
|
|
<DT><B>Returns:</B><DD>the List
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="internaliseSet(jade.content.abs.AbsAggregate, jade.content.onto.Ontology)"><!-- --></A><H3>
|
|
internaliseSet</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/util/leap/Set.html" title="interface in jade.util.leap">Set</A> <B>internaliseSet</B>(<A HREF="../../../jade/content/abs/AbsAggregate.html" title="class in jade.content.abs">AbsAggregate</A> aggregate,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Converts an <code>AbsAggregate</code> into a Set using the
|
|
specified ontology.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>onto</CODE> - the ontology
|
|
<DT><B>Returns:</B><DD>the Set
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="internaliseJavaCollection(jade.content.abs.AbsAggregate, jade.content.onto.Ontology)"><!-- --></A><H3>
|
|
internaliseJavaCollection</H3>
|
|
<PRE>
|
|
public static java.util.Collection <B>internaliseJavaCollection</B>(<A HREF="../../../jade/content/abs/AbsAggregate.html" title="class in jade.content.abs">AbsAggregate</A> aggregate,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Converts an <code>AbsAggregate</code> into a List using the
|
|
specified ontology.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>onto</CODE> - the ontology
|
|
<DT><B>Returns:</B><DD>the List
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="internaliseAID(jade.content.abs.AbsConcept)"><!-- --></A><H3>
|
|
internaliseAID</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/OntoAID.html" title="class in jade.content">OntoAID</A> <B>internaliseAID</B>(<A HREF="../../../jade/content/abs/AbsConcept.html" title="class in jade.content.abs">AbsConcept</A> aid)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Converts an <code>AbsConcept</code> representing an AID
|
|
into an OntoAID
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>the OntoAID
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE> - if <code>aid</code> does not
|
|
represent a valid AID</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="internaliseContentElementList(jade.content.abs.AbsContentElementList, jade.content.onto.Ontology)"><!-- --></A><H3>
|
|
internaliseContentElementList</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/ContentElementList.html" title="class in jade.content">ContentElementList</A> <B>internaliseContentElementList</B>(<A HREF="../../../jade/content/abs/AbsContentElementList.html" title="class in jade.content.abs">AbsContentElementList</A> l,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Converts to an <code>AbsContentElementList</code> into a
|
|
ContentElementList using the
|
|
specified ontology.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>onto</CODE> - the ontology
|
|
<DT><B>Returns:</B><DD>the ContentElementList
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="internaliseACLMessage(jade.content.abs.AbsAgentAction, jade.content.onto.Ontology)"><!-- --></A><H3>
|
|
internaliseACLMessage</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/OntoACLMessage.html" title="class in jade.content">OntoACLMessage</A> <B>internaliseACLMessage</B>(<A HREF="../../../jade/content/abs/AbsAgentAction.html" title="class in jade.content.abs">AbsAgentAction</A> absMsg,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Converts to an <code>AbsAgentAction</code> representing an ACLMessage
|
|
into an OntoACLMessage using the specified ontology.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>onto</CODE> - the ontology
|
|
<DT><B>Returns:</B><DD>the OntoACLMessage
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="setAttribute(jade.content.abs.AbsObject, java.lang.String, jade.content.abs.AbsObject)"><!-- --></A><H3>
|
|
setAttribute</H3>
|
|
<PRE>
|
|
public static void <B>setAttribute</B>(<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> abs,
|
|
java.lang.String attrName,
|
|
<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> attrValue)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Set an attribute in an abstract descriptor performing all
|
|
necessary type checks.
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE> - if a type mismatch is detected</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="nullifyVariables(jade.content.abs.AbsObject, boolean)"><!-- --></A><H3>
|
|
nullifyVariables</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> <B>nullifyVariables</B>(<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> abs,
|
|
boolean removeEmptyAggregate)</PRE>
|
|
<DL>
|
|
<DD>Remove all variables and empty aggregates (only if specified)
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>abs</CODE> - to nullify<DD><CODE>removeEmptyAggregate</CODE> - if true remove all empty aggregates
|
|
<DT><B>Returns:</B><DD>abs without variables and empty aggregates</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="removePrefix(jade.content.abs.AbsObject, java.lang.String)"><!-- --></A><H3>
|
|
removePrefix</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> <B>removePrefix</B>(<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> abs,
|
|
java.lang.String separator)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Recursively removes prefix (if present) from abs-type-name, except for BasicOntology types
|
|
Prefix is identified from last separator string
|
|
Eg. A.B.C -> C (if separator is .)
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>abs</CODE> - abs to un-prefix<DD><CODE>separator</CODE> - separator string
|
|
<DT><B>Returns:</B><DD>un-prefixde abs
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="addPrefix(jade.content.abs.AbsObject, java.lang.String)"><!-- --></A><H3>
|
|
addPrefix</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> <B>addPrefix</B>(<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> abs,
|
|
java.lang.String prefix)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Recursively add prefix to abs-type-name, except for BasicOntology types
|
|
Eg. C -> A.B.C (if prefix is A.B.)
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>abs</CODE> - abs to prefix<DD><CODE>prefix</CODE> - prefix to add
|
|
<DT><B>Returns:</B><DD>prefix abs
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="isAbsTemplate(jade.content.abs.AbsObject)"><!-- --></A><H3>
|
|
isAbsTemplate</H3>
|
|
<PRE>
|
|
public static boolean <B>isAbsTemplate</B>(<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> abs)</PRE>
|
|
<DL>
|
|
<DD>Return true if the abs-object is a template.
|
|
A template is an abs with all slots AbsVariable or AbsAggregate empty
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>abs</CODE> - abs-object to check
|
|
<DT><B>Returns:</B><DD>true if is a template</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="applyDefaultValues(jade.content.abs.AbsObject, jade.content.abs.AbsObject)"><!-- --></A><H3>
|
|
applyDefaultValues</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> <B>applyDefaultValues</B>(<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> absTemplate,
|
|
<A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> absDefault)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Apply default value to template
|
|
Replace node with default value only if the value in template is null or AbsVariable or
|
|
default value is null and template is a true template
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>absTemplate</CODE> - abs template value<DD><CODE>absDefault</CODE> - abs value with default value
|
|
<DT><B>Returns:</B><DD>
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="createAbsTemplate(java.lang.Class, jade.content.onto.Ontology)"><!-- --></A><H3>
|
|
createAbsTemplate</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> <B>createAbsTemplate</B>(java.lang.Class clazz,
|
|
<A HREF="../../../jade/content/onto/Ontology.html" title="class in jade.content.onto">Ontology</A> onto)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Generate an AbsObject consistently with class.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>clazz</CODE> - class to convert<DD><CODE>onto</CODE> - reference ontology
|
|
<DT><B>Returns:</B><DD>abs-object
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="createAbsTemplate(jade.content.schema.ObjectSchema)"><!-- --></A><H3>
|
|
createAbsTemplate</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> <B>createAbsTemplate</B>(<A HREF="../../../jade/content/schema/ObjectSchema.html" title="class in jade.content.schema">ObjectSchema</A> schema)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Generate an AbsObject consistently with schema.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>schema</CODE> - to convert
|
|
<DT><B>Returns:</B><DD>abs-object
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE>java.lang.Exception</CODE>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="createAbsTemplate(jade.content.schema.ObjectSchema, java.lang.String)"><!-- --></A><H3>
|
|
createAbsTemplate</H3>
|
|
<PRE>
|
|
public static <A HREF="../../../jade/content/abs/AbsObject.html" title="interface in jade.content.abs">AbsObject</A> <B>createAbsTemplate</B>(<A HREF="../../../jade/content/schema/ObjectSchema.html" title="class in jade.content.schema">ObjectSchema</A> schema,
|
|
java.lang.String prefix)
|
|
throws <A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></PRE>
|
|
<DL>
|
|
<DD>Generate an AbsObject consistently with schema.
|
|
All variables are prefixed
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>schema</CODE> - to convert<DD><CODE>prefix</CODE> - for variable
|
|
<DT><B>Returns:</B><DD>abs-object
|
|
<DT><B>Throws:</B>
|
|
<DD><CODE>java.lang.Exception</CODE>
|
|
<DD><CODE><A HREF="../../../jade/content/onto/OntologyException.html" title="class in jade.content.onto">OntologyException</A></CODE></DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/AbsHelper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../jade/content/abs/AbsExtendedPrimitive.html" title="class in jade.content.abs"><B>PREV CLASS</B></A>
|
|
<A HREF="../../../jade/content/abs/AbsIRE.html" title="class in jade.content.abs"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../../index.html?jade/content/abs/AbsHelper.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="AbsHelper.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
|
|
</BODY>
|
|
</HTML>
|