public class LatticeSynchronizer extends java.lang.Object implements Visitor
Constructor and Description |
---|
LatticeSynchronizer(Lattice lattice)
Creates a new instance of LatticeSynchronizer
|
LatticeSynchronizer(Lattice lattice,
java.lang.String paramSrc)
Creates a new instance of LatticeSynchronizer
|
Modifier and Type | Method and Description |
---|---|
org.w3c.dom.Document |
getDocument()
Returns the whole lattice document as a DOM object.
|
java.lang.String |
toString()
Returns the whole lattice document as a string.
|
void |
visit(BCMonitor e)
Writes the element- and paramter-tags of a BCMonitor lattice element
|
void |
visit(BLMonitor e)
Writes the element- and paramter-tags of a BLMonitor lattice element
|
void |
visit(BPMonitor e)
Writes the element- and paramter-tags of a BPMonitor lattice element
|
void |
visit(BSMonitor element)
Writes the element- and paramter-tags of a BSMonitor lattice element
|
void |
visit(Dipole e)
Writes the element- and paramter-tags of a Dipole lattice element
|
void |
visit(Drift e)
Writes the element- and paramter-tags of a Drift lattice element
|
void |
visit(EDipole e)
visit a Electrostatic Dipole lattice element
|
void |
visit(EKicker element)
Writes the element- and paramter-tags of a EKicker lattice element
|
void |
visit(EQuad e)
Writes the element- and paramter-tags of a Quadrupole lattice element
|
void |
visit(HSteerer e)
Writes the element- and paramter-tags of a HSteerer lattice element
|
void |
visit(Marker e)
Writes the element- and paramter-tags of a Marker lattice element
|
void |
visit(Octupole e)
Writes the element- and paramter-tags of an Octupole lattice element
|
void |
visit(PermMarker e)
Writes the element- and paramter-tags of a PermMarker lattice element
|
void |
visit(Quadrupole e)
Writes the element- and paramter-tags of a Quadrupole lattice element
|
void |
visit(RFGap e)
Writes the parameters of a RFGap lattice element
|
void |
visit(Sextupole e)
Writes the element- and paramter-tags of a Sextupole lattice element
|
void |
visit(SkewQuad e)
Writes the element- and paramter-tags of a SkewQuad lattice element
|
void |
visit(SkewSext e)
Writes the element- and paramter-tags of a SkewSext lattice element
|
void |
visit(Solenoid e)
Writes the element- and paramter-tags of a Quadrupole lattice element
|
void |
visit(VSteerer e)
Writes the element- and paramter-tags of a VSteerer lattice element
|
void |
visit(WScanner e)
Writes the element- and paramter-tags of a WScanner lattice element
|
void |
writeTo(java.io.File file)
Convenience method for writing an XML file
|
void |
writeTo(java.io.Writer writer)
Write XML to the specified url
|
void |
writeToUrl(java.net.URL url)
Write XML to the specified url
|
void |
writeToUrlSpec(java.lang.String urlSpec)
Write XML to the specified url
|
public LatticeSynchronizer(Lattice lattice)
public LatticeSynchronizer(Lattice lattice, java.lang.String paramSrc)
public java.lang.String toString()
toString
in class java.lang.Object
public org.w3c.dom.Document getDocument()
public void writeTo(java.io.Writer writer)
public void writeTo(java.io.File file) throws java.io.IOException
java.io.IOException
public void writeToUrlSpec(java.lang.String urlSpec) throws XmlDataAdaptor.WriteException
XmlDataAdaptor.WriteException
public void writeToUrl(java.net.URL url) throws XmlDataAdaptor.WriteException
XmlDataAdaptor.WriteException
public void visit(RFGap e)
public void visit(PermMarker e)
public void visit(SkewSext e)
public void visit(Octupole e)
public void visit(BCMonitor e)
public void visit(BSMonitor element)
public void visit(HSteerer e)
public void visit(Dipole e)
public void visit(EDipole e)
Visitor
public void visit(VSteerer e)
public void visit(EKicker element)
public void visit(Drift e)
public void visit(Quadrupole e)
public void visit(EQuad e)
public void visit(Solenoid e)
public void visit(WScanner e)
public void visit(BPMonitor e)
public void visit(BLMonitor e)
public void visit(SkewQuad e)
public void visit(Sextupole e)