[
https://issues.apache.org/jira/browse/UIMA-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12641919#action_12641919
]
Marshall Schor commented on UIMA-1188:
--------------------------------------
Re: wiki formatting, you can click on the little question mark to the right
when writing and see how to format things. For instance, I sometimes do code
snippets using:
{noformat}
{code:title=Bar.java|borderStyle=solid}
public String toString() {
// need to escape quotes and backslashes
StringBuffer buf = new StringBuffer();
buf.append("= \"");
buf.append(constraint);
buf.append("\"");
return buf.toString();
}
{code}
{noformat}
which looks like this (title and borderstyle are optional...). Note the
syntax highlighting. It seems to pick up the "kind" following the code.
code:xml works for xml, and code:java works too.
{code:java|title=Bar.java|borderStyle=solid}
public String toString() {
// need to escape quotes and backslashes
StringBuffer buf = new StringBuffer();
buf.append("= \"");
buf.append(constraint);
buf.append("\"");
return buf.toString();
}
{code}
> More constraints for primitive types
> ------------------------------------
>
> Key: UIMA-1188
> URL: https://issues.apache.org/jira/browse/UIMA-1188
> Project: UIMA
> Issue Type: New Feature
> Components: Core Java Framework
> Reporter: julien nioche
> Assignee: Thilo Goetz
> Priority: Minor
> Fix For: 2.3
>
> Attachments: booleanConstraint.diff
>
>
> ConstraintFactory currently has the following methods:
> createIntConstraint()
> createFloatConstraint()
> createStringConstraint()
> but there is corresponding constraints for bytes, shorts, longs or booleans.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.