com.helger.commons.string.ToStringGenerator Java Examples

The following examples show how to use com.helger.commons.string.ToStringGenerator. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CSSWriterSettings.java    From ph-css with Apache License 2.0 6 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("version", m_eCSSVersion)
                                     .append ("optimizedOutput", m_bOptimizedOutput)
                                     .append ("removeUnnecessaryCode", m_bRemoveUnnecessaryCode)
                                     .append ("newLineMode", m_eNewLineMode)
                                     .append ("indent", m_sIndent)
                                     .append ("quoteURLs", m_bQuoteURLs)
                                     .append ("writeNamespaceRules", m_bWriteNamespaceRules)
                                     .append ("writeFontFaceRules", m_bWriteFontFaceRules)
                                     .append ("writeKeyframesRules", m_bWriteKeyframesRules)
                                     .append ("writeMediaRules", m_bWriteMediaRules)
                                     .append ("writePageRules", m_bWritePageRules)
                                     .append ("writeViewportRules", m_bWriteViewportRules)
                                     .append ("writeSupportsRules", m_bWriteSupportsRules)
                                     .append ("writeUnknownRules", m_bWriteUnknownRules)
                                     .getToString ();
}
 
Example #2
Source File: TypeConverterRuleFixedSourceAssignableDestination.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("SrcClass", m_aSrcClass)
                          .append ("DstClass", m_aDstClass)
                          .append ("Converter", m_aConverter)
                          .getToString ();
}
 
Example #3
Source File: CSSDataURL.java    From ph-css with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("mimeType", m_aMimeType)
                                     .append ("base64Encoded", m_bBase64Encoded)
                                     .append ("content.length", m_aContent.length)
                                     .append ("charset", m_aCharset)
                                     .append ("hasStringContent", m_sContent != null)
                                     .getToString ();
}
 
Example #4
Source File: PSLet.java    From ph-schematron with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).appendIfNotNull ("name", m_sName)
                                     .appendIfNotNull ("value", m_sValue)
                                     .getToString ();
}
 
Example #5
Source File: MimeTypeInfo.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("mimeType", m_aMimeType)
                                     .appendIfNotNull ("source", m_sSource)
                                     .getToString ();
}
 
Example #6
Source File: CSSPropertyEnumOrNumbers.java    From ph-css with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("withPercentage", m_bWithPercentage)
                          .append ("minNumbers", m_nMinNumbers)
                          .append ("maxNumbers", m_nMaxNumbers)
                          .getToString ();
}
 
Example #7
Source File: SchematronTestFile.java    From ph-schematron with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("parentDirBaseName", m_sParentDirBaseName)
                                     .append ("res", m_aRes)
                                     .append ("fileBaseName", m_sFileBaseName)
                                     .getToString ();
}
 
Example #8
Source File: AbstractBaseGraph.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("nodes", m_aNodes)
                          .append ("isChangingConnectedObjectsAllowed", m_bIsChangingConnectedObjectsAllowed)
                          .getToString ();
}
 
Example #9
Source File: CSSUnknownRule.java    From ph-css with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("declaration", m_sDeclaration)
                                     .appendIfNotNull ("parameterList", m_sParameterList)
                                     .appendIfNotNull ("body", m_sBody)
                                     .appendIfNotNull ("sourceLocation", m_aSourceLocation)
                                     .getToString ();
}
 
Example #10
Source File: GraphRelation.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("node1", m_aNode1)
                          .append ("node2", m_aNode2)
                          .getToString ();
}
 
Example #11
Source File: CSSSelector.java    From ph-css with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("members", m_aMembers)
                                     .appendIfNotNull ("sourceLocation", m_aSourceLocation)
                                     .getToString ();
}
 
Example #12
Source File: MimeTypeContent.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("ContentBytes", m_aContentBytes)
                                     .append ("MimeType", m_aMimeType)
                                     .getToString ();
}
 
Example #13
Source File: AbstractConfigurationSource.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("SourceType", m_eSourceType)
                                     .append ("Priority", m_nPriority)
                                     .getToString ();
}
 
Example #14
Source File: MappedCache.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("CacheKeyProvider", m_aCacheKeyProvider)
                                     .append ("ValueProvider", m_aValueProvider)
                                     .append ("MaxSize", m_nMaxSize)
                                     .append ("Name", m_sName)
                                     .append ("AllowNullValues", m_bAllowNullValues)
                                     .append ("Cache", m_aCache)
                                     .getToString ();
}
 
Example #15
Source File: StopWatch.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("StartDT", m_nStartDT)
                                     .append ("DurationNanos", m_nDurationNanos)
                                     .getToString ();
}
 
Example #16
Source File: SingleError.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("ErrorLevel", m_aErrorLevel)
                                     .appendIfNotNull ("ErrorID", m_sErrorID)
                                     .appendIfNotNull ("ErrorFieldName", m_sErrorFieldName)
                                     .appendIfNotNull ("ErrorLocation", m_aErrorLocation)
                                     .appendIfNotNull ("ErrorText", m_aErrorText)
                                     .appendIfNotNull ("LinkedException", m_aLinkedException)
                                     .getToString ();
}
 
Example #17
Source File: AbstractDAO.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("autoSaveStack", m_aAutoSaveStack)
                                     .append ("pendingChanges", m_bPendingChanges)
                                     .append ("autoSaveEnabled", m_bAutoSaveEnabled)
                                     .getToString ();
}
 
Example #18
Source File: PSRichGroup.java    From ph-schematron with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).appendIfNotNull ("icon", m_sIcon)
                                     .appendIfNotNull ("see", m_sSee)
                                     .appendIfNotNull ("fpi", m_sFPI)
                                     .appendIfNotNull ("xml:lang", m_sXmlLang)
                                     .appendIfNotNull ("xml:space", m_eXmlSpace)
                                     .getToString ();
}
 
Example #19
Source File: CountingReader.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("CharsRead", m_nCharsRead)
                          .append ("Position", m_nPosition)
                          .append ("Mark", m_nMark)
                          .getToString ();
}
 
Example #20
Source File: ByteArrayWrapper.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("byte[]#", m_aBytes.length)
                                     .append ("Offset", m_nOffset)
                                     .append ("Length", m_nLength)
                                     .append ("IsCopy", m_bIsCopy)
                                     .getToString ();
}
 
Example #21
Source File: EmailAddress.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (null).append ("address", m_sAddress)
                                     .appendIfNotNull ("personal", m_sPersonal)
                                     .getToString ();
}
 
Example #22
Source File: CSSImportRule.java    From ph-css with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("location", m_aLocation)
                                     .append ("mediaQueries", m_aMediaQueries)
                                     .appendIfNotNull ("sourceLocation", m_aSourceLocation)
                                     .getToString ();
}
 
Example #23
Source File: ReadOnlyToken.java    From ph-css with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("kind", m_nKind)
                                     .append ("beginLine", m_nBeginLine)
                                     .append ("beginColumn", m_nBeginColumn)
                                     .append ("endLine", m_nEndLine)
                                     .append ("endColumn", m_nEndColumn)
                                     .append ("image", m_sImage)
                                     .getToString ();
}
 
Example #24
Source File: CSSRGBA.java    From ph-css with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("red", m_sRed)
                                     .append ("green", m_sGreen)
                                     .append ("blue", m_sBlue)
                                     .append ("opacity", m_sOpacity)
                                     .getToString ();
}
 
Example #25
Source File: LoggingWriter.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return ToStringGenerator.getDerived (super.toString ())
                          .append ("totalBytesWritten", m_nTotalBytesWritten)
                          .getToString ();
}
 
Example #26
Source File: FormatableObject.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("value", m_aValue)
                                     .appendIfNotNull ("formatter", m_aFormatter)
                                     .getToString ();
}
 
Example #27
Source File: SAXReaderSettings.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("entityResolver", m_aEntityResolver)
                                     .append ("dtdHandler", m_aDTDHandler)
                                     .append ("contentHandler", m_aContentHandler)
                                     .append ("errorHandler", m_aErrorHandler)
                                     .append ("properties", m_aProperties)
                                     .append ("features", m_aFeatures)
                                     .append ("exceptionHandler", m_aExceptionCallbacks)
                                     .append ("requiresNewXMLParserExplicitly", m_bRequiresNewXMLParserExplicitly)
                                     .getToString ();
}
 
Example #28
Source File: CSSKeyframesBlock.java    From ph-css with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("KeyframesSelectors", m_aKeyframesSelectors)
                                     .append ("Declarations", m_aDeclarations)
                                     .appendIfNotNull ("SourceLocation", m_aSourceLocation)
                                     .getToString ();
}
 
Example #29
Source File: ResourceLSInput.java    From ph-commons with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("ISP", m_aISP)
                                     .appendIfNotNull ("encoding", m_aEncoding)
                                     .appendIfNotNull ("publicId", m_sPublicId)
                                     .appendIfNotNull ("systemId", m_sSystemId)
                                     .append ("certifiedText", m_bCertifiedText)
                                     .appendIfNotNull ("baseURI", m_sBaseURI)
                                     .appendIfNotNull ("stringData", m_sStringData)
                                     .getToString ();
}
 
Example #30
Source File: PSXPathBoundDiagnostic.java    From ph-schematron with Apache License 2.0 5 votes vote down vote up
@Override
public String toString ()
{
  return new ToStringGenerator (this).append ("diagnostic", m_aDiagnostic)
                                     .append ("boundContent", m_aBoundContent)
                                     .getToString ();
}