Author: vsiveton
Date: Fri Aug 3 05:33:59 2007
New Revision: 562433
URL: http://svn.apache.org/viewvc?view=rev&rev=562433
Log:
o added markup interfaces
Added:
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/Markup.java
(with props)
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/TextMarkup.java
(with props)
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/XmlMarkup.java
(with props)
Added:
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/Markup.java
URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/Markup.java?view=auto&rev=562433
==============================================================================
---
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/Markup.java
(added)
+++
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/Markup.java
Fri Aug 3 05:33:59 2007
@@ -0,0 +1,76 @@
+package org.apache.maven.doxia.markup;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * List of constants used by all markup syntax.
+ *
+ * @author <a href="mailto:[EMAIL PROTECTED]">Vincent Siveton</a>
+ * @version $Id$
+ * @since 1.0
+ */
+public interface Markup
+{
+ /** The vm line separator */
+ String EOL = System.getProperty( "line.separator" );
+
+ // ----------------------------------------------------------------------
+ // Generic separator characters
+ // ----------------------------------------------------------------------
+
+ /** equal character: '=' */
+ char EQUAL = '=';
+
+ /** end character: '>' */
+ char GREATER_THAN = '>';
+
+ /** left curly bracket character: '{' */
+ char LEFT_CURLY_BRACKET = '{';
+
+ /** left square bracket character: '[' */
+ char LEFT_SQUARE_BRACKET = '[';
+
+ /** start character: '<' */
+ char LESS_THAN = '<';
+
+ /** minus character: '-' */
+ char MINUS = '-';
+
+ /** plus character: '+' */
+ char PLUS = '+';
+
+ /** double quote character: '\"' */
+ char QUOTE = '\"';
+
+ /** right curly bracket character: '}' */
+ char RIGHT_CURLY_BRACKET = '}';
+
+ /** right square bracket character: ']' */
+ char RIGHT_SQUARE_BRACKET = ']';
+
+ /** slash character: '/' */
+ char SLASH = '/';
+
+ /** space character: ' ' */
+ char SPACE = ' ';
+
+ /** star character: '*' */
+ char STAR = '*';
+}
Propchange:
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/Markup.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/Markup.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added:
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/TextMarkup.java
URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/TextMarkup.java?view=auto&rev=562433
==============================================================================
---
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/TextMarkup.java
(added)
+++
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/TextMarkup.java
Fri Aug 3 05:33:59 2007
@@ -0,0 +1,38 @@
+package org.apache.maven.doxia.markup;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * List of constants used by <code>Text</code> markup syntax.
+ *
+ * @author <a href="mailto:[EMAIL PROTECTED]">Vincent Siveton</a>
+ * @version $Id$
+ * @since 1.0
+ */
+public interface TextMarkup
+ extends Markup
+{
+ // ----------------------------------------------------------------------
+ // Text separator characters
+ // ----------------------------------------------------------------------
+
+ /** pipe character: '|' */
+ char PIPE = '|';
+}
Propchange:
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/TextMarkup.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/TextMarkup.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added:
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/XmlMarkup.java
URL:
http://svn.apache.org/viewvc/maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/XmlMarkup.java?view=auto&rev=562433
==============================================================================
---
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/XmlMarkup.java
(added)
+++
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/XmlMarkup.java
Fri Aug 3 05:33:59 2007
@@ -0,0 +1,38 @@
+package org.apache.maven.doxia.markup;
+
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/**
+ * List of constants used by <code>Xml</code> markup syntax.
+ *
+ * @author <a href="mailto:[EMAIL PROTECTED]">Vincent Siveton</a>
+ * @version $Id$
+ * @since 1.0
+ */
+public interface XmlMarkup
+ extends Markup
+{
+ // ----------------------------------------------------------------------
+ // Xml separator characters
+ // ----------------------------------------------------------------------
+
+ /** bang character: '!' */
+ char BANG = '!';
+}
Propchange:
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/XmlMarkup.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
maven/doxia/doxia/trunk/doxia-core/src/main/java/org/apache/maven/doxia/markup/XmlMarkup.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"