public class PCont
extends java.lang.Object
A protected content is a span of content (that may include code or marker tags) that is temporarily folded into a tag reference to prevent the content to be modified.
See Unit.hideProtectedContent()
and Unit.showProtectedContent()
.
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
codedText |
Constructor and Description |
---|
PCont()
Creates an empty
PCont object. |
PCont(PCont original)
Copy constructor.
|
PCont(java.lang.String codedText)
Creates a new protected content marker with a given coded text.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCodedText()
Gets the coded text for this protected content.
|
void |
setCodedText(java.lang.String codedText)
Sets the coded text for this protected content.
|
public PCont()
PCont
object.public PCont(PCont original)
original
- the original object to duplicate.public PCont(java.lang.String codedText)
codedText
- the span of coded text to protect.public java.lang.String getCodedText()
public void setCodedText(java.lang.String codedText)
codedText
- the new coded text.