org.glassfish.copyright
Class XmlCopyright

java.lang.Object
  extended by org.glassfish.copyright.AbstractCopyright
      extended by org.glassfish.copyright.CommonCopyright
          extended by org.glassfish.copyright.XmlCopyright

public class XmlCopyright
extends CommonCopyright


Field Summary
 
Fields inherited from class org.glassfish.copyright.CommonCopyright
blankLines, commentEnd, commentPrefix, commentStart, movePreamble
 
Fields inherited from class org.glassfish.copyright.AbstractCopyright
allrights, c, licensor, thisYear, ypat
 
Constructor Summary
XmlCopyright(Copyright c)
           
 
Method Summary
protected  boolean isPreamble(String line)
          Should this line be allowed before the first comment line?
protected  boolean supports(File file)
          Is this an XML file?
 
Methods inherited from class org.glassfish.copyright.CommonCopyright
readComment, replaceCopyright, toComment, updateCopyright
 
Methods inherited from class org.glassfish.copyright.AbstractCopyright
addCopyrightDate, checkCopyright, copy, err, findPrefix, fixCopyright, isModified, lastChanged, matches, repair, startsWith, startsWith, strip, warnCopyright, writeCopyright
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlCopyright

public XmlCopyright(Copyright c)
Method Detail

supports

protected boolean supports(File file)
Is this an XML file?

Specified by:
supports in class AbstractCopyright

isPreamble

protected boolean isPreamble(String line)
Description copied from class: CommonCopyright
Should this line be allowed before the first comment line?

Overrides:
isPreamble in class CommonCopyright


Copyright © 2012 GlassFish Community. All Rights Reserved.