|
Oxygen XML Editor 13.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectro.sync.ecss.extensions.commons.operations.CommonsOperationsUtil
@API(type=INTERNAL, src=PUBLIC) public class CommonsOperationsUtil
Util methods for common Author operations.
Constructor Summary | |
---|---|
CommonsOperationsUtil()
|
Method Summary | |
---|---|
static void |
surroundWithFragment(AuthorAccess authorAccess,
boolean schemaAware,
java.lang.String xmlFragment)
Surround selection with fragment. |
static int |
surroundWithFragment(AuthorAccess authorAccess,
java.lang.String xmlFragment,
int start,
int end)
Surround the content between start and end offset with the given fragment. |
static void |
unwrapTags(AuthorAccess authorAccess,
AuthorNode nodeToUnwrap)
Unwrap node tags. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommonsOperationsUtil()
Method Detail |
---|
public static void unwrapTags(AuthorAccess authorAccess, AuthorNode nodeToUnwrap) throws javax.swing.text.BadLocationException
authorAccess
- The Author access.nodeToUnwrap
- The node to unwrap.
javax.swing.text.BadLocationException
public static void surroundWithFragment(AuthorAccess authorAccess, boolean schemaAware, java.lang.String xmlFragment) throws AuthorOperationException
authorAccess
- Author access.schemaAware
- true
for schema aware operationxmlFragment
- The xml fragment
AuthorOperationException
public static int surroundWithFragment(AuthorAccess authorAccess, java.lang.String xmlFragment, int start, int end) throws AuthorOperationException
authorAccess
- Author access.xmlFragment
- The xml fragmentstart
- The start offset.end
- The end offset.
AuthorOperationException
|
Oxygen XML Editor 13.2 Author API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |