|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AbstractMacro | |
---|---|
pmp | This package contains core classes of PMP macroprocessor. |
pmp.macro | This package contains classes for builtin macros of PMP macroprocessor. |
pmp.macro.java | This package contains classes for builtin macros of PMP:macroprocessor for manipulation with Java classes. |
pmp.macro.lex | This package contains classes for builtin macros of PMP:macroprocessor for lexical analysis. |
pmp.macro.math | This package contains classes for builtin macros of PMP:macroprocessor for mathematical operations. |
pmp.macro.str | This package contains classes for builtin macros of PMP:macroprocessor for string manipulation. |
pmp.macro.tools | |
pmp.xml | This package contains classes for manipulation with XML configuration files. |
Uses of AbstractMacro in pmp |
---|
Subclasses of AbstractMacro in pmp | |
---|---|
class |
DefinedMacro
User-defined macro. |
class |
MacroChain
Defines macro with assigned output encoder. |
class |
Version
Version info for PMP. |
Methods in pmp that return AbstractMacro | |
---|---|
AbstractMacro |
MacroListItem.getDefinition()
Returns current macro definition. |
AbstractMacro |
MacroChain.getMacro()
|
AbstractMacro |
CallStackItem.getMacro()
|
AbstractMacro |
MacroList.getMacro(java.lang.String macroName)
Returns macro object assicated with given name. |
AbstractMacro |
MacroList.getMacroCI(java.lang.String macroName)
Returns macro object assicated with given name. |
AbstractMacro |
MacroChain.getOutputEncoder()
|
AbstractMacro |
Macroprocessor.loadFromClass(java.lang.String className)
Loads macro class. |
AbstractMacro |
MacroListItem.popDef()
|
AbstractMacro |
MacroList.popMacro(java.lang.String macroName)
Restores previous macro definition and returns previous one. |
AbstractMacro |
MacroList.setMacro(java.lang.String macroName,
AbstractMacro macro)
Defines macro. |
AbstractMacro |
MacroList.setMacro(java.lang.String macroName,
java.lang.String macro)
Adds new user-defined macro. |
AbstractMacro |
MacroList.setMacroForName(java.lang.String directive,
AbstractMacro macro)
Defines macro. |
AbstractMacro |
MacroList.setMacroForName(java.lang.String directive,
java.lang.String macro)
Defines macro. |
AbstractMacro |
MacroList.unsetMacro(java.lang.String macroName)
Removes macro definition by calling MacroList.setMacro(String,AbstractMacro) for given macroName
with null as macro definition. |
Methods in pmp that return types with arguments of type AbstractMacro | |
---|---|
java.util.Map<java.lang.String,AbstractMacro> |
MacroList.getAll()
Returns map with all defined macros. |
Methods in pmp with parameters of type AbstractMacro | |
---|---|
void |
MacroListItem.pushDef(AbstractMacro macro)
Replaces current macro definition and saves current definition to stack. |
void |
MacroList.pushMacro(java.lang.String macroName,
AbstractMacro macro)
Replaces current macro definition with new one and stores previous one to definition stack. |
CallStackItem |
CallStack.pushMacroItem(java.lang.String macroName,
AbstractMacro macro)
Pushes new item to stack. |
AbstractMacro |
MacroList.setMacro(java.lang.String macroName,
AbstractMacro macro)
Defines macro. |
AbstractMacro |
MacroList.setMacroForName(java.lang.String directive,
AbstractMacro macro)
Defines macro. |
Method parameters in pmp with type arguments of type AbstractMacro | |
---|---|
boolean |
MacroList.addAll(java.util.Map<java.lang.String,AbstractMacro> m)
Add all macros from given Map to this MacroList. |
Constructors in pmp with parameters of type AbstractMacro | |
---|---|
CallStackItem(CallStackItem.Type type,
java.lang.String[] params,
AbstractMacro macro)
|
|
MacroChain(AbstractMacro macro,
AbstractMacro outputEncoder)
|
|
MacroListItem(AbstractMacro def,
boolean readOnly)
Convenience constructor |
|
MacroListItem(AbstractMacro def,
java.util.Collection<AbstractMacro> stack)
Conveninece constructor. |
|
MacroListItem(AbstractMacro def,
java.util.Collection<AbstractMacro> stack,
boolean readOnly,
boolean executable)
Main constructor. |
Constructor parameters in pmp with type arguments of type AbstractMacro | |
---|---|
MacroListItem(AbstractMacro def,
java.util.Collection<AbstractMacro> stack)
Conveninece constructor. |
|
MacroListItem(AbstractMacro def,
java.util.Collection<AbstractMacro> stack,
boolean readOnly,
boolean executable)
Main constructor. |
Uses of AbstractMacro in pmp.macro |
---|
Subclasses of AbstractMacro in pmp.macro | |
---|---|
class |
Builtin
Loads Java-class macro. |
class |
Call
Calls macro given in first parameters. |
class |
Copydef
Copies macro definition. |
class |
Define
Macro that creates user-defined macro. |
class |
Defn
Returns definition of macro. |
class |
Echo
Prints string directly into macroprocessor output. |
class |
Error
Produces a error message. |
class |
Halt
Halts macroprocessor. |
class |
IfElse
Title: PMP: Macroprocessor Description: Java macroprocessor Copyright: Copyright (c) 2005 |
class |
Include
Includes file into input stream of macroprocessor. |
class |
IsBuiltin
Returns "1" if macro with name specified by first parameter
exists and is builtin (not instance of DefinedMacro ). |
class |
IsDefined
Returns "1" if macro with name specified by first parameter
exists and is defined (not builtin). |
class |
IsSet
Returns non empty string if exists macro with given name otherwise returns empty string. |
class |
MacroTable
Allows manipulation with list of macros. |
class |
Output
Redirects output of macroprocessor to specified file. |
class |
Popdef
Restores previous definition of macro. |
class |
Pushdef
Sets new definition of macro and saves current one into stack. |
class |
Undefine
Removes definition of macro. |
class |
Warning
Produces a warning message. |
Uses of AbstractMacro in pmp.macro.java |
---|
Subclasses of AbstractMacro in pmp.macro.java | |
---|---|
class |
Cast
Class casting. |
class |
Construct
Creates new instance of given class. |
class |
Field
Returns value of field as object index. |
class |
InstanceOf
Returns "1" if given object is instance of specified class. |
class |
Invoke
Invokes method of specified object. |
class |
New
Creates new instance of for given class (parameter 1) with given contents (parameter 2). |
class |
NewString
Creates new Instance of String object with given contents. |
class |
ToClassName
Returns class name of given object. |
class |
ToString
Returns string representation of given object. |
Uses of AbstractMacro in pmp.macro.lex |
---|
Subclasses of AbstractMacro in pmp.macro.lex | |
---|---|
class |
CEncoder
Converts given parameter into C/C++ style string. |
class |
CEscDecoder
Decodes C style escape sequence. |
class |
HTMLEntityDecoder
Converts HTML entity to string. |
class |
HTMLSpecialChars
Converts special characters to XML/HTML entities. |
class |
JavaEncoder
Converts given string to Java-style string. |
class |
JavaEscDecoder
Decodes Java style escape sequence. |
class |
Shift
Returns comma separated list of given parameters excluding the first. |
Uses of AbstractMacro in pmp.macro.math |
---|
Subclasses of AbstractMacro in pmp.macro.math | |
---|---|
class |
Const
Mathematical constants. |
class |
Dec
Returns given integer decremented by one. |
class |
Eval
Evaluates given expression. |
class |
IfNotZero
Evaluates given expression and returns the second parameter if expression is not zero. |
class |
Inc
Returns given macro asinteger and incremented its content by one. |
class |
Max
Returns maximal value found among the parameters. |
class |
Min
Returns lowest value found among the parameters. |
class |
Random
Returns random number. |
Uses of AbstractMacro in pmp.macro.str |
---|
Subclasses of AbstractMacro in pmp.macro.str | |
---|---|
class |
Adler32
Macro for calculating Adler32 checksum. |
class |
Compare
Compare two strings. |
class |
CRC32
Macro for calculating CRC32 checksum. |
class |
Chr
Returns character with given code. |
class |
IsNumber
Returns "1" if given parameter is integer number. |
class |
Length
Returns length of given string. |
class |
Locate
Returns position of specified substring (parameter 1) in given string (parameter 1). |
class |
LowerCase
Converts given parameter to lower case. |
class |
Match
Returns "1" when string in first parameter matches regular expression in second parameter. |
class |
MD5
Macro for calculating MD5 checksum. |
class |
Ord
Returns charcode of the first character in given string. |
class |
Repeat
Returns first parameter repeated number of times obtained from second parameter. |
class |
Replace
Replaces occurances of pattern (parameter 2) in source text (parameter 1) with given replacement (parametr 3). |
class |
Reverse
Macro that returns reversed string. |
class |
Rot13
Performs Rot13 encoding of string. |
class |
StrTok
Tokenizes string. |
class |
SubStr
Returns substring of given string. |
class |
SubstrCount
Returns number of times string in the second parameter occurs in the first parameter. |
class |
Trim
Strips whitespace from the beginning and/or end of a string. |
class |
UpperCase
Converts parameter to upper case. |
class |
UUID
Generates random UUID/GUID. |
Uses of AbstractMacro in pmp.macro.tools |
---|
Subclasses of AbstractMacro in pmp.macro.tools | |
---|---|
class |
Exec
Executes given command. |
class |
GetProperty
Returns value of system property passed in first parameter. |
class |
Pause
Pauses for given amount of time or until key is pressed if no value is given. |
class |
SetProperty
Sets or clears system property passed in first parameter. |
class |
SilentExec
Executes given command. |
Uses of AbstractMacro in pmp.xml |
---|
Method parameters in pmp.xml with type arguments of type AbstractMacro | |
---|---|
static java.lang.String |
XMLTools.exportConfig(java.util.Map<java.lang.String,AbstractMacro> macros,
java.lang.String fileName)
Exports list of macros into XML file. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |