public class Paragraph extends ResourceWrapper
| Modifier and Type | Class and Description |
|---|---|
static class |
Paragraph.Type
Type of the paragraph
|
RESOURCE_TYPE_NON_EXISTING| Modifier and Type | Method and Description |
|---|---|
<AdapterType> |
adaptTo(java.lang.Class<AdapterType> type)
Returns the value of calling
adaptTo on the
wrapped resource. |
java.lang.String |
getBaseCssClass()
Returns the css class of this paragraph.
|
int |
getColNr()
Returns the columns number of this paragraph.
|
java.lang.String |
getCssClass()
Returns the auto generated css class for the column of this paragraph.
|
int |
getNumCols()
Returns the total number of columns of the column group this paragraph
is in.
|
Paragraph.Type |
getType()
Returns the type of this paragraph
|
void |
setDiffInfo(DiffInfo di)
Set the diff information for this paragraph.
|
java.lang.String |
toString()
Returns a human readable string representation of this resource.
|
getChild, getChildren, getName, getParent, getPath, getResource, getResourceMetadata, getResourceResolver, getResourceSuperType, getResourceType, getValueMap, hasChildren, isResourceType, listChildrenpublic Paragraph.Type getType()
public int getColNr()
Paragraph.Type.BREAK and Paragraph.Type.END paragraphs have the number of
the next columns.public int getNumCols()
public java.lang.String getBaseCssClass()
public java.lang.String getCssClass()
public void setDiffInfo(DiffInfo di)
di - The diff informationpublic <AdapterType> AdapterType adaptTo(java.lang.Class<AdapterType> type)
adaptTo on the
wrapped resource.adaptTo in interface AdaptableadaptTo in class ResourceWrapperAdapterType - The generic type to which this object is adapted
totype - The Class object of the target type, such as
javax.jcr.Node.class or
java.io.File.classnull if the object cannot
adapt to the requested typepublic java.lang.String toString()
toString in class ResourceWrapperCopyright © 2010 - 2023 Adobe. All Rights Reserved