com.atlassian.confluence.pages.templates
Class XhtmlTemplateUtils

java.lang.Object
  extended by com.atlassian.confluence.pages.templates.XhtmlTemplateUtils

public class XhtmlTemplateUtils
extends Object

Helper to make it easier to convert between the storage format and different types of variables.


Field Summary
static int DEFAULT_COLS
           
static int DEFAULT_ROWS
           
 
Constructor Summary
XhtmlTemplateUtils()
           
 
Method Summary
static Variable extractVariableDeclaration(XMLEventReader parentEventReader, XmlEventReaderFactory xmlEventReaderFactory)
           
static boolean isVariableDeclaration(StartElement startElement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ROWS

public static final int DEFAULT_ROWS
See Also:
Constant Field Values

DEFAULT_COLS

public static final int DEFAULT_COLS
See Also:
Constant Field Values
Constructor Detail

XhtmlTemplateUtils

public XhtmlTemplateUtils()
Method Detail

isVariableDeclaration

public static boolean isVariableDeclaration(StartElement startElement)

extractVariableDeclaration

public static Variable extractVariableDeclaration(XMLEventReader parentEventReader,
                                                  XmlEventReaderFactory xmlEventReaderFactory)
                                           throws XMLStreamException
Throws:
XMLStreamException


Copyright © 2003-2012 Atlassian. All Rights Reserved.