prettify.lang
Class LangXq

java.lang.Object
  extended by prettify.lang.Lang
      extended by prettify.lang.LangXq

public class LangXq
extends Lang

This is similar to the lang-xq.js in JavaScript Prettify. All comments are adapted from the JavaScript Prettify.

Registers a language handler for XQuery. To use, include prettify.js and this file in your HTML page. Then put your code in an HTML tag like


Version:
2010-09-28
Author:
Patrick Wied ( patpa7p@live.de )

Field Summary
static java.lang.String PR_FUNCTION
           
static java.lang.String PR_VARIABLE
           
 
Fields inherited from class prettify.lang.Lang
extendedLangs, fallthroughStylePatterns, shortcutStylePatterns
 
Constructor Summary
LangXq()
           
 
Method Summary
static java.util.List<java.lang.String> getFileExtensions()
           
 
Methods inherited from class prettify.lang.Lang
getExtendedLangs, getFallthroughStylePatterns, getShortcutStylePatterns, setExtendedLangs, setFallthroughStylePatterns, setShortcutStylePatterns
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PR_FUNCTION

public static final java.lang.String PR_FUNCTION
See Also:
Constant Field Values

PR_VARIABLE

public static final java.lang.String PR_VARIABLE
See Also:
Constant Field Values
Constructor Detail

LangXq

public LangXq()
Method Detail

getFileExtensions

public static java.util.List<java.lang.String> getFileExtensions()