- java.lang.Object
-
- org.pcap4j.packet.Dot11InformationElement.Builder
-
- All Implemented Interfaces:
LengthBuilder<Dot11InformationElement>
- Direct Known Subclasses:
Dot112040BssCoexistenceElement.Builder,Dot11AbstractSupportedRatesElement.Builder,Dot11ChannelUsageElement.Builder,Dot11DsssParameterSetElement.Builder,Dot11ExtendedCapabilitiesElement.Builder,Dot11HTCapabilitiesElement.Builder,Dot11InterworkingElement.Builder,Dot11MeshIdElement.Builder,Dot11RequestElement.Builder,Dot11SsidElement.Builder,Dot11SsidListElement.Builder,Dot11SupportedOperatingClassesElement.Builder,Dot11VendorSpecificElement.Builder
- Enclosing class:
- Dot11InformationElement
public abstract static class Dot11InformationElement.Builder extends java.lang.Object implements LengthBuilder<Dot11InformationElement>
- Since:
- pcap4j 1.7.0
-
-
Field Summary
Fields Modifier and Type Field Description private booleancorrectLengthAtBuildprivate Dot11InformationElementIdelementIdprivate bytelength
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilder()protectedBuilder(Dot11InformationElement elem)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dot11InformationElement.BuildercorrectLengthAtBuild(boolean correctLengthAtBuild)protected Dot11InformationElement.BuilderelementId(Dot11InformationElementId elementId)protected booleangetCorrectLengthAtBuild()Dot11InformationElement.Builderlength(byte length)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pcap4j.packet.LengthBuilder
build
-
-
-
-
Field Detail
-
elementId
private Dot11InformationElementId elementId
-
length
private byte length
-
correctLengthAtBuild
private boolean correctLengthAtBuild
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(Dot11InformationElement elem)
- Parameters:
elem- a Dot11InformationElement object.
-
-
Method Detail
-
elementId
protected Dot11InformationElement.Builder elementId(Dot11InformationElementId elementId)
- Parameters:
elementId- elementId- Returns:
- this Builder object for method chaining.
-
length
public Dot11InformationElement.Builder length(byte length)
- Parameters:
length- length- Returns:
- this Builder object for method chaining.
-
correctLengthAtBuild
public Dot11InformationElement.Builder correctLengthAtBuild(boolean correctLengthAtBuild)
- Specified by:
correctLengthAtBuildin interfaceLengthBuilder<Dot11InformationElement>- Parameters:
correctLengthAtBuild- correctLengthAtBuild- Returns:
- LengthBuilder
-
getCorrectLengthAtBuild
protected boolean getCorrectLengthAtBuild()
- Returns:
- correctLengthAtBuild
-
-